/* CheersAI Product Style Sheet - Based on UI Specification v1.0 */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    /* Primary Colors */
    --primary-blue: #2055d7;
    --primary-blue-dark: #1847c7;
    --primary-blue-light: #9ab7ff;
    --primary-blue-soft: #eef4ff;

    /* Functional Colors */
    --success-green: #10b981;
    --warning-yellow: #f59e0b;
    --error-red: #ef4444;
    --info-purple: #8b5cf6;

    /* Module Colors */
    --mod-sandbox: #3b82f6;
    --mod-workflow: #8b5cf6;
    --mod-agent: #10b981;
    --mod-knowledge: #f59e0b;

    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-900: #111827;

    /* Transitions */
    --transition-fast: 150ms;
    --transition-base: 200ms;
    --transition-slow: 300ms;
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Noto Sans SC', 'Inter', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--gray-900);
    background-color: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    -webkit-tap-highlight-color: transparent;
    overflow-x: hidden;
}

img, svg, video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Scale with Responsive Margins & Semantic Line-Break Rules */
h1, .h1 { font-size: clamp(24px, 3.2vw, 44px); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; margin: 0; word-break: keep-all; overflow-wrap: normal; white-space: normal; }
h2, .h2 { font-size: clamp(20px, 2.4vw, 34px); font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; margin: 0; word-break: keep-all; overflow-wrap: normal; }
h3, .h3 { font-size: clamp(18px, 1.8vw, 24px); font-weight: 600; line-height: 1.35; margin: 0; word-break: keep-all; overflow-wrap: normal; }
h4, .h4 { font-size: clamp(15px, 1.4vw, 18px); font-weight: 700; line-height: 1.4; margin: 0; word-break: keep-all; overflow-wrap: normal; }
strong, b { word-break: keep-all; }
.hero-tagline, .tagline, .ebook-display {
    word-break: keep-all;
    overflow-wrap: normal;
    -webkit-hyphens: none;
    hyphens: none;
}
@media (min-width: 1024px) {
    .hero-tagline, .tagline { white-space: nowrap; }
}

p, .body-text {
    font-size: clamp(14px, 1.15vw, 17px);
    font-weight: 400;
    line-height: 1.75;
    color: var(--gray-600);
    white-space: normal;
    overflow-wrap: break-word;
    word-break: normal;
    -webkit-hyphens: none;
    hyphens: none;
    text-wrap: pretty;
    max-width: 100%;
    margin: 0;
}

/* Page Shell — uniform left/right margins across viewports (ensures section p labels align) */
.page-shell,
main section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(1rem, 3.2vw, 3rem);
    padding-right: clamp(1rem, 3.2vw, 3rem);
}

.text-auxiliary { font-size: 12px; font-weight: 400; line-height: 1.5; color: var(--gray-600); }

/* Mobile optimizations (≤768px) */
@media (max-width: 768px) {
    body { -webkit-hyphens: auto; hyphens: auto; }
    p, .body-text { line-height: 1.7; }
    .page-shell, main section { padding-left: 1rem; padding-right: 1rem; }
    h1 { font-size: 28px; }
    h2 { font-size: 22px; }
}

/* Tablet range (769–1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
    .page-shell, main section { padding-left: 2rem; padding-right: 2rem; }
}

/* Large Desktop (≥1280px) */
@media (min-width: 1280px) {
    h1 { font-size: 48px; }
    h2 { font-size: 36px; }
}

/* Components */

/* Cards */
.card-standard {
    background: white;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-slow) var(--ease-in-out);
}

.card-feature-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition-base) var(--ease-in-out);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: white;
}
.btn-primary:hover {
    background-color: var(--primary-blue-dark);
}

.btn-secondary {
    background-color: transparent;
    color: var(--gray-600);
    border-color: var(--gray-200);
}
.btn-secondary:hover {
    background-color: var(--gray-100);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.78);
    color: var(--gray-900);
    border-color: rgba(209, 213, 219, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.btn-ghost:hover {
    background: #ffffff;
    border-color: rgba(59, 130, 246, 0.22);
    transform: translateY(-1px);
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 500;
}
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-error { background: #fee2e2; color: #991b1b; }
.badge-info { background: #dbeafe; color: #1e40af; }

/* App Window (Visual Mockup) */
.app-window {
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    transition: transform var(--transition-base) var(--ease-in-out), box-shadow var(--transition-base) var(--ease-in-out);
}
.app-window:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 60px -15px rgba(0, 0, 0, 0.2);
}
.app-window-header {
    height: 32px;
    background: var(--gray-100);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    padding: 0 12px;
    gap: 6px;
}
.app-window-header .dot { width: 10px; height: 10px; border-radius: 50%; }
.app-window-header .dot-red { background: #ff5f56; }
.app-window-header .dot-yellow { background: #ffbd2e; }
.app-window-header .dot-green { background: #27c93f; }

.app-window img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Utilities */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp var(--transition-slow) var(--ease-in-out);
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tab Content Visibility */
.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
    animation: fadeInUp var(--transition-slow) var(--ease-in-out);
}

/* Custom Portal Navbar Styling */
.nav-scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
}
.nav-link {
    position: relative;
    font-size: 14px;
    color: var(--gray-600);
}
.nav-link.active {
    color: var(--primary-blue);
    font-weight: 500;
}
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 50%;
    background-color: var(--primary-blue);
    transition: all var(--transition-base) var(--ease-in-out);
    transform: translateX(-50%);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.portal-hero-section {
    padding-top: 72px;
    padding-bottom: 48px;
}

.hero-surface {
    position: relative;
    padding: 44px 24px 20px;
}

.hero-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    background:
        radial-gradient(circle at top left, rgba(59, 130, 246, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(99, 102, 241, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.72));
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
    z-index: -1;
}

.hero-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
    color: #334155;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.hero-trust-pill svg,
.hero-trust-pill i {
    color: var(--primary-blue-dark);
}

.product-flow-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 24px auto 0;
    padding: 16px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.product-flow-item {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 132px;
}

.product-flow-item strong {
    display: block;
    color: var(--gray-900);
    font-size: 14px;
    line-height: 1.2;
}

.product-flow-item span:not(.product-flow-icon) {
    display: block;
    color: var(--gray-600);
    font-size: 12px;
    margin-top: 2px;
}

.product-flow-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    flex: 0 0 auto;
}

.product-flow-arrow {
    width: 16px;
    height: 16px;
    color: #94a3b8;
    flex: 0 0 auto;
}

.ekos-home-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 24px;
    align-items: center;
}

.ekos-home-visual {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(32, 85, 215, 0.14);
    background:
        linear-gradient(135deg, rgba(32, 85, 215, 0.08), rgba(32, 85, 215, 0.08)),
        #ffffff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.08);
}

.ekos-home-visual img {
    width: 100%;
    display: block;
}

.ekos-home-badge {
    position: absolute;
    left: 20px;
    top: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(154, 183, 255, 0.85);
    color: #0f172a;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ekos-mode-list {
    display: grid;
    gap: 12px;
}

.ekos-mode-list div {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}

.ekos-mode-list strong {
    color: #0f172a;
}

.ekos-page-hero {
    position: relative;
    overflow: hidden;
}

.ekos-page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(32, 85, 215, 0.12), transparent 28%),
        radial-gradient(circle at top right, rgba(32, 85, 215, 0.18), transparent 32%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(238, 244, 255, 0.7));
    z-index: 0;
}

.ekos-page-hero > * {
    position: relative;
    z-index: 1;
}

.ekos-hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 28px;
    align-items: center;
}

.ekos-hero-art {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(154, 183, 255, 0.9);
    box-shadow: 0 30px 60px rgba(24, 71, 199, 0.12);
    background: rgba(255, 255, 255, 0.86);
}

.ekos-hero-art img {
    display: block;
    width: 100%;
}

.ekos-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.ekos-stat-card {
    padding: 18px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.82);
}

.ekos-stat-card strong {
    display: block;
    margin-top: 10px;
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
}

.ekos-stat-card span {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.6;
}

.ekos-architecture-grid,
.ekos-differ-grid,
.ekos-cta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.ekos-architecture-card,
.ekos-differ-card,
.ekos-contact-card {
    padding: 24px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ekos-architecture-card img {
    width: 100%;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.92);
}

.ekos-layer-list {
    display: grid;
    gap: 14px;
}

.ekos-layer-list li {
    padding: 14px 16px;
    border-radius: 18px;
    background: var(--primary-blue-soft);
    border: 1px solid rgba(154, 183, 255, 0.7);
}

.ekos-layer-list strong {
    display: block;
    margin-bottom: 4px;
    color: #0f172a;
    font-size: 15px;
}

.ekos-layer-list span {
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.ekos-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ekos-capability-card {
    display: grid;
    gap: 16px;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.ekos-capability-card img {
    width: 100%;
    display: block;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #f8fafc;
}

.ekos-capability-card h3 {
    color: #0f172a;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.ekos-capability-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.ekos-contact-card {
    display: grid;
    gap: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 244, 255, 0.95));
}

.ekos-contact-card h3 {
    color: #0f172a;
    font-size: 24px;
    font-weight: 700;
}

.ekos-contact-card p {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}

.download-trust-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.download-trust-row span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: #334155;
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}

.download-trust-row svg {
    color: var(--primary-blue-dark);
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px;
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    transition: all var(--transition-slow) var(--ease-in-out);
}

.download-card:hover {
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.08);
}

.download-file-note {
    margin-top: 14px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.download-security-note {
    display: flex;
    gap: 18px;
    padding: 24px;
    background: #f8fafc;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
}

.download-security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    color: var(--primary-blue-dark);
    background: #dbeafe;
    border-radius: 10px;
    flex: 0 0 auto;
}

.download-security-note h3 {
    color: var(--gray-900);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 8px;
}

.download-security-note p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.8;
}

.about-principle-callout {
    border-left: 4px solid var(--primary-blue);
    padding: 14px 0 14px 22px;
    margin: 28px 0;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.06), transparent);
}

.about-principle-callout p {
    color: var(--gray-900);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.7;
}

.about-principle-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.about-principle-card {
    padding: 24px;
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.about-principle-card svg {
    color: var(--primary-blue-dark);
    margin-bottom: 18px;
}

.about-principle-card h3 {
    color: var(--gray-900);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.about-principle-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
}

.value-card {
    height: 100%;
}

.value-card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.guardrail-signal-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guardrail-signal-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(249, 115, 22, 0.18);
}

.guardrail-signal-tag {
    color: #fdba74;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.guardrail-stage-flow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.12);
    color: #fed7aa;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tool-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.tool-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 32px rgba(15, 23, 42, 0.08);
}

.tool-card-subtitle {
    opacity: 0;
    transform: translateY(8px);
    transition: all var(--transition-base) var(--ease-in-out);
}

.tool-card:hover .tool-card-subtitle {
    opacity: 1;
    transform: translateY(0);
}

.tool-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0) 58%, rgba(59, 130, 246, 0.06) 100%);
    pointer-events: none;
}

.tool-icon-shell {
    width: 120px;
    height: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 32px;
    border: 1px solid var(--gray-200);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 24px rgba(59, 130, 246, 0.08);
}

.tool-icon-shell img {
    width: 120px;
    height: 120px;
    display: block;
}

.mini-tool-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.tool-link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
}

.tool-link-arrow svg,
.tool-link-arrow i {
    width: 14px;
    height: 14px;
}

.product-grid-card {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.product-grid-card p {
    color: var(--gray-600);
}

.footer-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.footer-icp-link {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: none;
    color: #6b7280;
    transition: color var(--transition-base) var(--ease-in-out);
}

.footer-icp-link:hover {
    color: #d1d5db;
}

.prototype-shell {
    position: relative;
    isolation: isolate;
}

.prototype-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.14), transparent 34%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(247, 250, 255, 0.98));
    z-index: -1;
}

.prototype-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.9fr);
    gap: 24px;
}

.prototype-stat-card {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(148, 163, 184, 0.16);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

.prototype-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.prototype-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px;
    border: 1px solid var(--gray-200);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.prototype-view-toggle button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 116px;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    color: var(--gray-600);
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-base) var(--ease-in-out);
}

.prototype-view-toggle button.is-active {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff;
    box-shadow: 0 12px 24px rgba(37, 99, 235, 0.28);
}

.prototype-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.prototype-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.07);
    transition: transform var(--transition-base) var(--ease-in-out), box-shadow var(--transition-base) var(--ease-in-out);
}

.prototype-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 64px rgba(15, 23, 42, 0.12);
}

.prototype-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.prototype-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.76);
    color: #1d4ed8;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.prototype-summary {
    color: #475569;
    font-size: 15px;
    line-height: 1.75;
}

.prototype-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.prototype-meta-item {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.92);
}

.prototype-meta-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #94a3b8;
    text-transform: uppercase;
}

.prototype-meta-value {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    word-break: break-word;
}

.prototype-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 12px 18px;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    transition: all var(--transition-base) var(--ease-in-out);
}

.prototype-link:hover {
    transform: translateY(-1px);
    background: #1e293b;
}

.prototype-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

.prototype-table thead th {
    padding: 20px 18px;
    text-align: left;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    background: #f8fafc;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.prototype-table tbody td {
    padding: 20px 18px;
    vertical-align: top;
    border-bottom: 1px solid rgba(241, 245, 249, 0.95);
    color: #0f172a;
    font-size: 14px;
    line-height: 1.7;
}

.prototype-table tbody tr:last-child td {
    border-bottom: 0;
}

.prototype-table tbody tr:hover {
    background: rgba(239, 246, 255, 0.58);
}

.prototype-table-link {
    color: #2563eb;
    font-weight: 700;
    word-break: break-all;
}

.prototype-empty {
    padding: 48px 24px;
    border-radius: 24px;
    border: 1px dashed rgba(148, 163, 184, 0.4);
    background: rgba(255, 255, 255, 0.88);
    text-align: center;
    color: #64748b;
}

.nav-dropdown {
    position: relative;
    padding: 18px 0;
}

.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

.nav-dropdown:hover .nav-link i,
.nav-dropdown:focus-within .nav-link i {
    transform: rotate(180deg);
}

.nav-dropdown-panel {
    position: absolute;
    top: calc(100% - 4px);
    left: 50%;
    width: 360px;
    padding-top: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition: all var(--transition-base) var(--ease-in-out);
}

.nav-dropdown-grid {
    display: grid;
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.96);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(16px);
}

.solution-submenu-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid transparent;
    transition: all var(--transition-base) var(--ease-in-out);
}

.solution-submenu-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.solution-submenu-desc {
    color: #64748b;
    font-size: 12px;
    line-height: 1.6;
}

.mobile-submenu-shell {
    display: grid;
    gap: 10px;
}

.mobile-submenu-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.ebook-page {
    position: relative;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), transparent 32%),
        linear-gradient(180deg, #f6f5f2 0%, #f8fafc 18%, #f5f7fb 100%);
    overflow-x: hidden;
}

.ebook-page::before {
    content: 'CHEERSAI  CHEERSAI  CHEERSAI  CHEERSAI';
    position: fixed;
    inset: 20% -20% auto;
    transform: rotate(-18deg);
    color: rgba(148, 163, 184, 0.08);
    font-size: clamp(54px, 10vw, 132px);
    font-weight: 800;
    letter-spacing: 0.3em;
    text-align: center;
    pointer-events: none;
    z-index: 0;
}

.ebook-shell {
    position: relative;
    z-index: 1;
}

.ebook-display {
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
}

.ebook-body-font {
    font-family: 'IBM Plex Sans', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

.ebook-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(203, 213, 225, 0.9);
    color: #475569;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ebook-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 251, 0.96)),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 28%);
    box-shadow: 0 28px 64px rgba(15, 23, 42, 0.08);
}

.ebook-hero-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(37, 99, 235, 0.06), transparent 24%),
        linear-gradient(180deg, transparent 78%, rgba(15, 23, 42, 0.02));
    pointer-events: none;
}

.solutions-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
    gap: 28px;
    align-items: stretch;
}

.solutions-hero-points {
    display: grid;
    gap: 12px;
    margin-top: 28px;
}

.solutions-hero-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.78);
    color: #334155;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.7;
}

.solutions-hero-point::before {
    content: '';
    width: 9px;
    height: 9px;
    border-radius: 999px;
    margin-top: 8px;
    background: linear-gradient(135deg, #2563eb, #60a5fa);
    box-shadow: 0 0 0 6px rgba(59, 130, 246, 0.12);
    flex: 0 0 auto;
}

.solutions-focus-panel {
    display: grid;
    gap: 20px;
    height: 100%;
    padding: 26px;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 0.92));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.88), 0 20px 40px rgba(15, 23, 42, 0.06);
}

.solutions-focus-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 84px;
    height: 84px;
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.92));
    border: 1px solid rgba(191, 219, 254, 0.88);
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.1);
}

.solutions-focus-mark img {
    width: 52px;
    height: 52px;
    object-fit: contain;
}

.solutions-focus-title {
    color: #0f172a;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

.solutions-focus-subtitle {
    color: #475569;
    font-size: 14px;
    line-height: 1.75;
}

.solutions-focus-list {
    display: grid;
    gap: 12px;
}

.solutions-focus-item {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.solutions-focus-label {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.solutions-focus-value {
    display: block;
    margin-top: 8px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.7;
}

.solutions-section-head {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.solutions-section-title {
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    color: #0f172a;
    font-size: 34px;
    line-height: 1.25;
    font-weight: 700;
}

.solutions-plan-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.solution-path-grid,
.scenario-grid {
    display: grid;
    gap: 20px;
}

.solution-path-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.scenario-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.solution-path-card,
.scenario-card {
    background: #ffffff;
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-slow) var(--ease-in-out);
}

.solution-path-card {
    display: grid;
    gap: 10px;
    padding: 22px;
    color: var(--gray-900);
}

.solution-path-card svg {
    color: var(--primary-blue);
}

.solution-path-card strong {
    font-size: 18px;
    line-height: 1.35;
}

.solution-path-card span {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
}

.solution-path-card:hover,
.scenario-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.08);
}

.solutions-plan-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.solutions-plan-title {
    color: #0f172a;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}

.solutions-plan-summary {
    color: #475569;
    font-size: 14px;
    line-height: 1.8;
}

.solutions-plan-list {
    display: grid;
    gap: 10px;
}

.solutions-plan-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #334155;
    font-size: 14px;
    line-height: 1.7;
}

.solutions-plan-list-item::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    margin-top: 8px;
    background: #2563eb;
    flex: 0 0 auto;
}

.scenario-card {
    padding: 24px;
}

.scenario-icon {
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 18px;
}

.scenario-card h3 {
    color: var(--gray-900);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 14px;
}

.scenario-card p {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.7;
    margin-top: 10px;
}

.scenario-card strong {
    color: #334155;
}

.solutions-ebook-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 380px);
    gap: 24px;
    align-items: stretch;
}

.solutions-ebook-copy {
    display: grid;
    gap: 18px;
    min-width: 0;
}

.solutions-ebook-summary {
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
}

.solutions-finance-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
    gap: 32px;
    align-items: stretch;
    width: 100%;
    padding: 32px;
    border-radius: 28px;
    border: 1px solid rgba(191, 219, 254, 0.95);
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(255, 255, 255, 0.96));
    box-shadow: 0 24px 48px rgba(37, 99, 235, 0.1);
}

.solutions-finance-main {
    display: flex;
    align-items: center;
    min-width: 0;
}

.solutions-finance-copy {
    display: grid;
    gap: 16px;
    min-width: 0;
    max-width: 720px;
}

.solutions-finance-title {
    font-family: 'Noto Serif SC', 'Songti SC', 'STSong', serif;
    color: #0f172a;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

.solutions-finance-summary {
    color: #475569;
    font-size: 15px;
    line-height: 1.85;
}

.solutions-finance-action {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    width: 100%;
}

.ebook-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.ebook-meta-item {
    min-width: 0;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.88);
}

.ebook-meta-item-wide {
    grid-column: 1 / -1;
}

.ebook-meta-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #94a3b8;
}

.ebook-meta-value {
    margin-top: 8px;
    color: #0f172a;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.ebook-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.85);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
}

.ebook-meta-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ebook-meta-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.95);
    color: #334155;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
}

.ebook-download-block {
    display: grid;
    gap: 14px;
}

.ebook-download-head {
    display: grid;
    gap: 6px;
}

.ebook-download-label {
    color: #94a3b8;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.ebook-download-subtitle {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.ebook-download-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.ebook-download-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.ebook-download-link {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.86);
    transition: all var(--transition-base) var(--ease-in-out);
}

.ebook-download-link:hover {
    transform: translateY(-2px);
    border-color: rgba(191, 219, 254, 0.95);
    background: rgba(239, 246, 255, 0.92);
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.08);
}

.ebook-download-link-title {
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.ebook-download-link-note {
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}

.ebook-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}

.ebook-sidebar {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
}

.ebook-sidebar-card {
    padding: 22px;
    border-radius: 24px;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255, 255, 255, 0.84);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
}

.ebook-toc {
    display: grid;
    gap: 8px;
    margin-top: 18px;
}

.ebook-toc-link {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 14px;
    border-radius: 16px;
    color: #475569;
    border: 1px solid transparent;
    transition: all var(--transition-base) var(--ease-in-out);
}

.ebook-toc-link:hover,
.ebook-toc-link.is-active {
    color: #1d4ed8;
    border-color: rgba(191, 219, 254, 0.95);
    background: rgba(239, 246, 255, 0.92);
}

.ebook-toc-link.is-read {
    color: #334155;
    border-color: rgba(226, 232, 240, 0.92);
    background: rgba(248, 250, 252, 0.92);
}

.ebook-toc-link.is-active {
    position: relative;
}

.ebook-toc-link.is-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 12px;
    bottom: 12px;
    width: 3px;
    border-radius: 999px;
    background: #1d4ed8;
}

.ebook-toc-index {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    min-width: 28px;
}

.ebook-toc-text {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

.ebook-toc-desc {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.6;
}

.ebook-content-stack {
    display: grid;
    gap: 24px;
}

.ebook-reading-note,
.ebook-resource-card,
.ebook-chapter-card,
.ebook-end-card {
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

.ebook-reading-note {
    padding: 26px 28px;
}

.ebook-chapter-card {
    padding: 34px 38px;
}

.ebook-end-card {
    padding: 34px;
    background:
        linear-gradient(140deg, rgba(15, 23, 42, 0.98), rgba(30, 41, 59, 0.96)),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.24), transparent 30%);
    color: #e2e8f0;
}

.ebook-chapter-anchor {
    position: relative;
    top: -100px;
}

.ebook-prose {
    color: #334155;
    font-size: 16px;
    line-height: 1.95;
}

.ebook-prose p + p {
    margin-top: 18px;
}

.ebook-prose strong {
    color: #0f172a;
    font-weight: 700;
}

.ebook-callout {
    margin-top: 24px;
    padding: 20px 22px;
    border-left: 3px solid #2563eb;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(239, 246, 255, 0.92), rgba(248, 250, 252, 0.9));
    color: #1e3a8a;
    font-size: 14px;
    line-height: 1.8;
}

.ebook-point-list {
    display: grid;
    gap: 12px;
    margin-top: 26px;
}

.ebook-point-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.92);
}

.ebook-point-bullet {
    width: 8px;
    height: 8px;
    margin-top: 10px;
    border-radius: 999px;
    background: #2563eb;
    box-shadow: 0 0 0 6px rgba(37, 99, 235, 0.12);
    flex: 0 0 auto;
}

.ebook-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    margin-top: 28px;
    padding-top: 22px;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.ebook-mini-note {
    color: #64748b;
    font-size: 13px;
    line-height: 1.7;
}

.ebook-resource-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.ebook-resource-item {
    padding: 18px;
    border-radius: 20px;
    background: rgba(248, 250, 252, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.ebook-resource-item h4 {
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
}

.ebook-resource-item p {
    margin-top: 10px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}

.ebook-library-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

.ebook-book-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 247, 251, 0.96));
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.07);
    transition: transform var(--transition-base) var(--ease-in-out), box-shadow var(--transition-base) var(--ease-in-out);
}

.ebook-book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 32px 56px rgba(15, 23, 42, 0.12);
}

.ebook-book-card-head {
    display: grid;
    gap: 12px;
}

.ebook-book-card-subtitle {
    color: #64748b;
    font-size: 15px;
    line-height: 1.8;
    text-wrap: pretty;
}

.ebook-book-card-summary {
    color: #334155;
    font-size: 16px;
    line-height: 1.9;
    text-wrap: pretty;
}

.ebook-book-card-audience {
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    text-wrap: pretty;
}

.ebook-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.ebook-status-pill.available {
    color: #1d4ed8;
    background: rgba(219, 234, 254, 0.92);
}

.ebook-status-pill.planned {
    color: #92400e;
    background: rgba(254, 243, 199, 0.92);
}

.ebook-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.ebook-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.85);
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    transition: all var(--transition-base) var(--ease-in-out);
}

.ebook-filter-chip:hover,
.ebook-filter-chip.is-active {
    color: #1d4ed8;
    border-color: rgba(191, 219, 254, 0.95);
    background: rgba(239, 246, 255, 0.92);
}

.ebook-toast {
    position: fixed;
    right: 20px;
    bottom: 20px;
    max-width: 360px;
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(15, 23, 42, 0.94);
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.7;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.28);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: all var(--transition-base) var(--ease-in-out);
    z-index: 80;
}

.ebook-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.finance-ebook-page {
    display: grid;
    gap: 28px;
}

.finance-hero {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 36px;
    border-radius: 32px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 252, 0.96)),
        radial-gradient(circle at top right, rgba(27, 79, 228, 0.1), transparent 32%);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

.finance-hero-main {
    min-width: 0;
    max-width: 920px;
}

.finance-catalog-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
}

.finance-catalog-breadcrumb a,
.finance-catalog-breadcrumb strong {
    color: #475569;
    transition: color var(--transition-base) var(--ease-in-out);
}

.finance-catalog-breadcrumb a:hover {
    color: #1d4ed8;
}

.finance-catalog-breadcrumb a:not(:last-of-type)::after {
    content: '/';
    margin-left: 10px;
    color: #94a3b8;
}

.finance-hero-title {
    margin-top: 22px;
    font-size: clamp(40px, 4.8vw, 68px);
    line-height: 1.08;
    color: #0b1220;
}

.finance-hero-subtitle {
    margin-top: 16px;
    font-size: clamp(20px, 2vw, 30px);
    line-height: 1.35;
    color: #465064;
    text-wrap: pretty;
}

.finance-hero-summary {
    margin-top: 24px;
    max-width: 760px;
    color: #2a3447;
    font-size: 18px;
    line-height: 1.9;
}

.finance-hero-tags,
.finance-final-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.finance-hero-tag,
.finance-highlight-pill {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(208, 213, 221, 0.9);
    background: rgba(255, 255, 255, 0.9);
    color: #1b4fe4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.03em;
}

.finance-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.finance-hero-note {
    margin-top: 18px;
    color: #667085;
    font-size: 14px;
    line-height: 1.8;
}

.finance-hero-side {
    display: grid;
}

.finance-hero-side-card,
.finance-rail-card,
.finance-industry-note,
.finance-section,
.finance-final-cta,
.finance-footer-card {
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
}

.finance-hero-side-card,
.finance-rail-card,
.finance-footer-card {
    padding: 24px;
}

.finance-rail-label,
.finance-block-label,
.finance-metric-label {
    color: #667085;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.finance-hero-metrics {
    display: grid;
    gap: 18px;
    margin-top: 16px;
}

.finance-metric-value {
    display: block;
    margin-top: 6px;
    color: #0b1220;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.finance-hero-audience {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.finance-industry-note {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) 280px;
    gap: 24px;
    padding: 28px 30px;
    background:
        linear-gradient(180deg, rgba(249, 250, 251, 0.98), rgba(255, 255, 255, 0.96));
}

.finance-industry-title,
.finance-section-title,
.finance-final-title {
    margin-top: 18px;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.18;
    color: #0b1220;
}

.finance-industry-summary,
.finance-final-body {
    margin-top: 16px;
    color: #2a3447;
    font-size: 16px;
    line-height: 1.9;
}

.finance-industry-points,
.finance-rail-list,
.finance-section-points {
    display: grid;
    gap: 12px;
}

.finance-industry-points {
    margin-top: 20px;
}

.finance-industry-point,
.finance-section-point {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.finance-industry-point p,
.finance-section-point p,
.finance-rail-list p {
    color: #475467;
    font-size: 14px;
    line-height: 1.8;
}

.finance-industry-dot,
.finance-section-point-bullet {
    width: 8px;
    height: 8px;
    margin-top: 9px;
    border-radius: 999px;
    background: #1b4fe4;
    flex: 0 0 auto;
}

.finance-highlight-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.finance-ebook-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 760px) 240px;
    gap: 28px;
    align-items: start;
    justify-content: center;
}

.finance-left-rail,
.finance-right-rail {
    position: sticky;
    top: 112px;
    display: grid;
    gap: 18px;
}

.finance-toc-card {
    padding-bottom: 18px;
}

.finance-article-column,
.finance-article-stack {
    display: grid;
    gap: 24px;
}

.finance-section {
    padding: 30px 32px;
}

.finance-catalog-outline {
    display: grid;
    gap: 18px;
}

.finance-outline-item {
    border-radius: 28px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.finance-outline-item summary {
    display: grid;
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    padding: 24px 28px;
    cursor: pointer;
    list-style: none;
}

.finance-outline-item summary::-webkit-details-marker {
    display: none;
}

.finance-outline-item summary strong {
    display: block;
    color: #0b1220;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    text-wrap: pretty;
}

.finance-outline-item summary span span {
    display: block;
    margin-top: 8px;
    color: #64748b;
    font-size: 14px;
    line-height: 1.85;
    text-wrap: pretty;
}

.finance-outline-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 20px;
    background: rgba(239, 246, 255, 0.92);
    border: 1px solid rgba(191, 219, 254, 0.95);
    color: #1d4ed8;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.finance-outline-body {
    display: grid;
    gap: 18px;
    padding: 0 28px 28px;
    border-top: 1px solid rgba(226, 232, 240, 0.92);
}

.finance-outline-block {
    display: grid;
    gap: 10px;
    padding-top: 18px;
}

.finance-why-read-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 250, 251, 0.96));
}

.finance-section-anchor {
    position: relative;
    top: -112px;
}

.finance-section-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.finance-section-summary,
.finance-final-subcopy,
.finance-footer-copy {
    color: #667085;
    font-size: 14px;
    line-height: 1.85;
    text-wrap: pretty;
}

.finance-section-prose {
    margin-top: 24px;
}

.finance-section-prose > * + * {
    margin-top: 18px;
}

.finance-inline-highlight {
    padding: 0 4px;
    border-radius: 6px;
    background: rgba(255, 210, 74, 0.24);
    color: #0b1220;
    font-weight: 700;
}

.finance-insight-quote,
.finance-risk-note,
.finance-evidence-block {
    padding: 18px 20px;
    border-radius: 20px;
}

.finance-insight-quote {
    border: 1px solid rgba(191, 219, 254, 0.95);
    background: rgba(239, 246, 255, 0.9);
    color: #1e3a8a;
    font-size: 15px;
    line-height: 1.85;
}

.finance-risk-note {
    border: 1px solid rgba(254, 240, 138, 0.95);
    background: rgba(254, 249, 195, 0.72);
    color: #854d0e;
}

.finance-evidence-block {
    border: 1px solid rgba(209, 213, 219, 0.95);
    background: rgba(249, 250, 251, 0.96);
    color: #334155;
}

.finance-table-wrap {
    overflow-x: auto;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
}

.finance-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.finance-table th,
.finance-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    text-align: left;
    font-size: 14px;
    line-height: 1.7;
}

.finance-table th {
    background: rgba(248, 250, 252, 0.96);
    color: #0b1220;
    font-weight: 700;
}

.finance-section-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 16px;
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px solid rgba(226, 232, 240, 0.95);
}

.finance-section-note {
    max-width: 420px;
    color: #667085;
    font-size: 13px;
    line-height: 1.8;
}

.finance-section-action-buttons,
.finance-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.finance-resource-summary {
    max-width: 640px;
}

.finance-final-cta {
    padding: 34px;
    background:
        linear-gradient(145deg, rgba(11, 18, 32, 0.98), rgba(30, 41, 59, 0.97)),
        radial-gradient(circle at top right, rgba(27, 79, 228, 0.26), transparent 34%);
    color: #e5edf8;
}

.finance-final-title {
    color: #fff;
}

.finance-final-body {
    color: #e2e8f0;
}

.finance-final-subcopy {
    margin-top: 12px;
    color: #cbd5e1;
}

.finance-final-actions {
    margin-top: 28px;
}

.finance-footer-copy {
    margin-top: 18px;
}

.finance-mobile-progress {
    position: sticky;
    top: 72px;
    height: 3px;
    z-index: 30;
    background: rgba(226, 232, 240, 0.8);
}

.finance-mobile-progress-bar {
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #1b4fe4, #1240d2);
    transition: width 120ms linear;
}

.finance-drawer-toggle-wrap {
    position: sticky;
    top: 88px;
    z-index: 31;
}

.finance-toc-drawer {
    position: fixed;
    inset: 0;
    z-index: 60;
}

.finance-toc-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 18, 32, 0.44);
}

.finance-toc-panel {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: min(86vw, 360px);
    padding: 22px 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: -20px 0 48px rgba(15, 23, 42, 0.16);
    overflow-y: auto;
}

.finance-toc-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.finance-toc-close {
    color: #1b4fe4;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .mini-tool-grid {
        grid-template-columns: 1fr;
    }

    .solutions-hero-grid,
    .solutions-ebook-grid,
    .solution-path-grid,
    .scenario-grid,
    .about-principle-grid,
    .solutions-plan-grid,
    .solutions-finance-card,
    .solutions-finance-main {
        grid-template-columns: 1fr;
    }

    .solutions-finance-main {
        display: block;
    }



    .prototype-hero-grid,
    .prototype-grid {
        grid-template-columns: 1fr;
    }

    .hero-surface {
        padding: 40px 20px 8px;
    }

    .ebook-meta-grid,
    .ebook-resource-grid,
    .ebook-library-grid,
    .ebook-layout,
    .ebook-download-grid {
        grid-template-columns: 1fr;
    }

    .ebook-sidebar {
        position: static;
    }

    .finance-hero,
    .finance-industry-note,
    .finance-ebook-layout {
        grid-template-columns: 1fr;
    }

    .finance-left-rail,
    .finance-right-rail {
        position: static;
    }

    .finance-left-rail {
        display: none;
    }
}

@media (min-width: 768px) {
    .footer-meta {
        align-items: flex-start;
    }
}

@media (max-width: 767px) {
    .portal-hero-section {
        padding-top: 48px;
        padding-bottom: 32px;
    }

    .hero-surface {
        padding: 26px 18px 16px;
    }

    .hero-surface h1 {
        margin-top: 22px;
        font-size: 32px;
        line-height: 1.18;
    }

    .hero-surface p {
        margin-top: 16px;
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-trust-strip {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        text-align: left;
    }

    .hero-trust-pill {
        justify-content: flex-start;
        padding: 8px 10px;
        font-size: 11px;
        font-weight: 600;
    }

    .product-flow-card {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 12px;
        gap: 10px;
        scroll-snap-type: x mandatory;
    }

    .product-flow-item {
        min-width: 122px;
        scroll-snap-align: start;
    }

    .product-flow-arrow {
        width: 14px;
        height: 14px;
    }

    .ekos-home-grid,
    .ekos-hero-shell,
    .ekos-architecture-grid,
    .ekos-differ-grid,
    .ekos-cta-grid,
    .ekos-capability-grid,
    .ekos-stat-grid {
        grid-template-columns: 1fr;
    }

    .ekos-home-badge {
        left: 14px;
        top: 14px;
        font-size: 11px;
        letter-spacing: 0.05em;
    }

    .download-card {
        padding: 28px 20px;
    }

    .download-security-note {
        flex-direction: column;
        padding: 22px 20px;
    }

    .about-principle-grid {
        grid-template-columns: 1fr;
    }

    .prototype-filter-bar {
        align-items: stretch;
    }

    .prototype-view-toggle {
        width: 100%;
        justify-content: stretch;
    }

    .prototype-view-toggle button {
        flex: 1;
        min-width: 0;
    }

    .prototype-meta {
        grid-template-columns: 1fr;
    }

    .ebook-page::before {
        font-size: 54px;
        inset: 24% -50% auto;
    }

    .ebook-hero-card,
    .ebook-reading-note,
    .ebook-chapter-card,
    .ebook-end-card {
        border-radius: 24px;
    }

    .solutions-focus-panel,
    .solutions-plan-card,
    .solutions-finance-card {
        padding: 22px 20px;
        border-radius: 24px;
    }

    .solutions-section-title {
        font-size: 28px;
    }

    .solutions-focus-title,
    .solutions-finance-title {
        font-size: 24px;
    }

    .solutions-finance-summary {
        font-size: 14px;
    }

    .ebook-reading-note,
    .ebook-chapter-card,
    .ebook-end-card {
        padding: 24px 20px;
    }

    .ebook-meta-grid {
        grid-template-columns: 1fr;
    }

    .ebook-action-row {
        align-items: stretch;
    }

    .ebook-action-row .btn {
        width: 100%;
    }

    .finance-hero,
    .finance-industry-note,
    .finance-section,
    .finance-final-cta,
    .finance-footer-card {
        padding: 24px 20px;
    }

    .finance-outline-item summary,
    .finance-outline-body {
        padding-left: 20px;
        padding-right: 20px;
    }

    .finance-outline-item summary {
        grid-template-columns: 1fr;
    }

    .finance-outline-index {
        width: 48px;
        height: 48px;
        border-radius: 16px;
    }

    .finance-outline-item summary strong {
        font-size: 20px;
    }

    .finance-hero-actions,
    .finance-final-actions,
    .finance-section-action-buttons {
        align-items: stretch;
    }

    .finance-hero-actions .btn,
    .finance-final-actions .btn,
    .finance-section-action-buttons .btn,
    .finance-quick-actions .btn {
        width: 100%;
    }

    .prototype-table thead {
        display: none;
    }

    .prototype-table,
    .prototype-table tbody,
    .prototype-table tr,
    .prototype-table td {
        display: block;
        width: 100%;
    }

    .prototype-table {
        border-radius: 24px;
    }

    .prototype-table tbody tr {
        padding: 8px 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.95);
    }

    .prototype-table tbody tr:last-child {
        border-bottom: 0;
    }

    .prototype-table tbody td {
        padding: 10px 18px;
        border-bottom: 0;
    }

    .prototype-table tbody td::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #94a3b8;
    }
}

/* -- CJK v7795 BEGIN -- */
/* cache-bust-v7795 */
:root {
  --font-cjk-zh: "PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Source Han Sans CN",system-ui,-apple-system,Segoe UI,sans-serif;
  --brand-700: #1B4FE4;
  --brand-600: #1240D2;
  --brand-50:  #EEF3FF;
  --ink-900:   #0B1220;
  --ink-700:   #2A3447;
  --ink-500:   #566076;
  --radius-12: 12px;
}
html { font-family: var(--font-cjk-zh); }
body, article, p, li, td, th, blockquote {
  font-family: var(--font-cjk-zh);
  font-feature-settings: "kern" 1, "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
article, .about-article { line-height: 1.85; letter-spacing: 0.01em; }
article p, .about-article p { margin: 0 0 1em 0; text-align: justify; text-justify: inter-ideograph; }
article h1, article h2, article h3, article h4 { letter-spacing: 0.02em; }
article ul, article ol, .about-article ul, .about-article ol { padding-left: 1.2em; }
article li, .about-article li { line-height: 1.9; margin: 0.2em 0; }
article li::marker, .about-article li::marker { color: var(--brand-700); font-weight: 600; }

/* ebook & article 排版：keep-all 不拆中文词（标题），正文禁止 anywhere 断字 */
.ebook-display { word-break: keep-all; overflow-wrap: normal; -webkit-hyphens: none; hyphens: none; white-space: normal; }
@media (min-width: 1024px) {
  .solutions-section-head h1.ebook-display { white-space: nowrap; }
}
.hero-h1-nowrap { white-space: nowrap; }
.soln-sub-grid, [class*="grid-cols"] { grid-auto-rows: 1fr; align-items: stretch; }
.scenario-grid { grid-auto-rows: 1fr; align-items: stretch; }
.card-standard, .scenario-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}
.scenario-card h3, .scenario-card strong, strong, b, h1, h2, h3, h4 {
  word-break: keep-all;
  overflow-wrap: normal;
}
.btn, .chip, .ebook-kicker, .tool-link-arrow {
  word-break: keep-all;
  white-space: nowrap;
}
.scenario-card h3 { letter-spacing: 0.01em; }
.version-table, .version-table-shell table { width: 100%; border-collapse: collapse; table-layout: auto; max-width: 100%; }
.version-table-shell th, .version-table-shell td {
  padding: 16px 18px;
  border: 1px solid #e5e7eb;
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: pretty;
}
/* 解决方案二级栅格：more-products/tools 工具卡 + 电子书 catalog 卡统一 hover 蓝边 */
.card-hover, .card-feature-hover {
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  border: 1px solid transparent;
}
.card-hover:hover, .card-feature-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27,79,228,.08);
  border-color: #cfd8ff;
}
/* 电子书目录顶部：more-products / tools 等按钮与电子书标题统一行高 */
.catalog-title-shell p, main p, .body-text, main li {
  overflow-wrap: break-word;
  word-break: normal;
  -webkit-hyphens: none;
  hyphens: none;
  text-wrap: pretty;
  line-height: 1.8;
}
/* 顶部导航 active 高亮：蓝色下划线 + hover 不跳字 */
.nav-link-active { color: var(--brand-600); font-weight: 600; text-shadow: 0 0 0; }
.nav-link { position: relative; }
.nav-link:hover::after {
  content: '';
  position: absolute;
  left: 12px; right: 12px; bottom: -10px;
  height: 2px; background: var(--brand-600); border-radius: 2px;
}
/* —— 新增的 111 行修复：按钮、栅格、二级栅格、电子书卡片、原型卡片标题 & 按钮壳 —— */
.prototype-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed #d8dbe0;
}
.prototype-card-title a { color: inherit; text-decoration: none; }
.prototype-card-title a:hover { color: #1d4ed8; }
.about-article-shell { max-width: 72ch; margin: 0 auto; }
.about-article section { margin-bottom: 2.4em; }
.about-article h2 { margin-top: 2em; }
.about-article td { word-break: keep-all; white-space: nowrap; }
@media (max-width: 768px) {
  .about-article td { word-break: normal; white-space: normal; }
}
.tools-grid-cards, .more-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 768px) {
  .tools-grid-cards, .more-products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .tools-grid-cards, .more-products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.soln-secondary-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 20px;
}
@media (min-width: 768px) {
  .soln-secondary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .soln-secondary-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
/* Hero 主 CTA：H1 在大屏保持 nowrap，小屏自动换行，不出现省略号 */
.hero-cta-shell h1 { white-space: normal; }
@media (min-width: 1024px) {
  .hero-cta-shell h1 { white-space: nowrap; }
}
/* 防止 table 在窄屏横向溢出：给外层加 overflow-x */
.table-shell { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* footer 三栅格在窄屏变成 1 列，保证不挤字 */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
/* 电子书阅读页：read/book 壳 */
.book-reader-shell {
  max-width: 72ch;
  margin: 0 auto;
}
.book-reader-shell p { text-align: justify; text-justify: inter-ideograph; }
.book-reader-shell h1, .book-reader-shell h2, .book-reader-shell h3 { margin-top: 2em; }
/* 工具卡 hover 蓝边过渡统一 150ms */
.tool-card, .tool-card a { display: block; }
.tool-card {
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.tool-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 10px 24px rgba(27,79,228,.08);
  transform: translateY(-2px);
}
/* cache-bust-v7795 anchor EOF */
/* -- CJK v7795 END -- */

