:root {
    --c-bg: #fcfdfc;
    --c-surface: #ffffff;
    --c-surface-alt: #f1f3f4;
    --c-surface-dark: #1f2328;
    --c-surface-darker: #0d1117;
    --c-text-main: #202124;
    --c-text-muted: #5f6368;
    --c-accent-green: #73e163;
    --c-accent-green-hover: #5ebb4e;
    --c-accent-blue: #1a73e8;
    --c-accent-blue-hover: #1557b0;
    --radius: 10px;
    --shadow-sm: 0 2px 8px rgba(32, 33, 36, 0.04);
    --shadow-md: 0 8px 24px rgba(32, 33, 36, 0.08);
    --transition: all 0.15s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--c-bg);
    color: var(--c-text-main);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

/* Base Rules for Flex and Text */
.flex-cluster {
    display: flex;
    flex-wrap: wrap;
}
.flex-cluster > * {
    min-width: 0;
}
.flag-bounds {
    word-break: break-word;
    overflow-wrap: break-word;
}
p {
    word-break: keep-all;
}

/* Navigation (Tail) */
.tail {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(252, 253, 252, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.omni {
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.2rem 5vw;
}
.dino {
    display: flex;
    align-items: center;
}
.dino img {
    height: 32px;
    display: block;
}
.pin {
    gap: 2rem;
    align-items: center;
}
.node {
    text-decoration: none;
    color: var(--c-text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}
.node:hover {
    color: var(--c-text-main);
}
.node.active {
    color: var(--c-accent-green);
    font-weight: 600;
    position: relative;
}
.node.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--c-accent-green);
    border-radius: 2px;
}

/* Hero Section (Portal) */
.portal {
    background: linear-gradient(135deg, var(--c-surface-dark) 0%, var(--c-surface-darker) 100%);
    color: #ffffff;
    padding: 8rem 5vw 10rem;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.portal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(115, 225, 99, 0.08) 0%, transparent 60%);
    pointer-events: none;
}
.portal-bounds {
    max-width: 800px;
    z-index: 1;
}
.ink-1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 0 0 1.5rem;
    white-space: normal;
}
.flag-lead {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    margin: 0 0 3rem;
    line-height: 1.6;
}
.sync {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background-color: var(--c-accent-green);
    color: var(--c-surface-dark);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
}
.sync:hover {
    background-color: var(--c-accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(115, 225, 99, 0.3);
}

/* Proof Article (Sandbox) */
.sandbox {
    padding: 7rem 5vw;
    background-color: var(--c-bg);
}
.sandbox-bounds {
    max-width: 1200px;
    margin: 0 auto;
    gap: 5rem;
    align-items: center;
}
.shard-flag {
    flex: 1;
    min-width: 320px;
}
.shard-media {
    flex: 1.2;
    min-width: 320px;
}
.ink-2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.01em;
    margin: 0 0 1.5rem;
    color: var(--c-text-main);
    white-space: normal;
}
.flag-desc {
    font-size: 1.1rem;
    color: var(--c-text-muted);
    margin: 0;
}
.core-cluster {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    background: var(--c-surface-alt);
}
.core-cluster::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--radius);
    pointer-events: none;
}
.core {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}
.core-cluster:hover .core {
    transform: scale(1.02);
}

/* Capability Aside (Orbit) */
.orbit {
    padding: 7rem 5vw;
    background-color: var(--c-surface-alt);
    border-top: 1px solid rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.03);
}
.orbit-bounds {
    max-width: 1200px;
    margin: 0 auto;
}
.orbit-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}
.stripe-matrix {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.pane {
    background: var(--c-surface);
    padding: 2.5rem 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid transparent;
    position: relative;
}
.pane:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: rgba(115, 225, 99, 0.2);
}
.glyph {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(115, 225, 99, 0.1), rgba(26, 115, 232, 0.05));
    border-radius: 12px;
    color: var(--c-accent-green);
}
.glyph svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
}
.ink-3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 1rem;
    color: var(--c-text-main);
    white-space: normal;
}
.flag-sub {
    font-size: 0.95rem;
    color: var(--c-text-muted);
    margin: 0;
}

/* Steps Section (Nexus) */
.nexus {
    padding: 7rem 5vw;
    background-color: var(--c-bg);
}
.nexus-bounds {
    max-width: 1000px;
    margin: 0 auto;
}
.nexus-head {
    text-align: center;
    margin-bottom: 4rem;
}
.stripe-flow {
    gap: 2rem;
    justify-content: center;
}
.lens-step {
    flex: 1;
    min-width: 280px;
    padding: 2.5rem;
    background: var(--c-surface);
    border-radius: var(--radius);
    position: relative;
    border-top: 4px solid var(--c-accent-blue);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.lens-step:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.crest-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(26, 115, 232, 0.1);
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    line-height: 1;
}

/* Footer (Spark) */
.spark {
    background-color: var(--c-surface-alt);
    padding: 4rem 5vw 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}
.spark-bounds {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}
.trace-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--c-text-main);
    letter-spacing: -0.02em;
}
.trace-links {
    gap: 1.5rem;
}
.trace-node {
    color: var(--c-text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}
.trace-node:hover {
    color: var(--c-accent-blue);
}
.spark-legal {
    max-width: 1200px;
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    color: rgba(95, 99, 104, 0.7);
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .omni { padding: 1rem 5vw; }
    .pin { display: none; /* In real site, a menu toggle would be here. For this output, we keep it visible but wrapped */ }
    .pin { display: flex; width: 100%; justify-content: center; padding-top: 1rem; border-top: 1px solid rgba(0,0,0,0.05); margin-top: 1rem; }
    
    .portal { padding: 5rem 5vw 6rem; }
    .sandbox { padding: 4rem 5vw; }
    .orbit { padding: 4rem 5vw; }
    .nexus { padding: 4rem 5vw; }
    
    .shard-flag, .shard-media { min-width: 100%; }
    .sandbox-bounds { gap: 3rem; }
}

.omni-tail .omni-node{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.omni-tail .omni-omni, .omni-tail .omni-pin{
            display: flex;
            flex-wrap: wrap;
        }

.omni-tail .omni-omni > *, .omni-tail .omni-pin > *{
            min-width: 0;
        }

.omni-tail{
            position: sticky;
            top: 0;
            z-index: 100;
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(12px);
            border-bottom: 1px solid #dadce0;
            padding: 1rem 5vw;
        }

.omni-tail .omni-omni{
            max-width: 1400px;
            margin: 0 auto;
            justify-content: space-between;
            align-items: center;
        }

.omni-tail .omni-dino{
            width: 140px;
            display: flex;
            align-items: center;
        }

.omni-tail .omni-dino img{
            width: 100%;
            height: auto;
        }

.omni-tail .omni-pin{
            gap: 2rem;
            align-items: center;
        }

.omni-tail .omni-node{
            text-decoration: none;
            color: #5f6368;
            font-weight: 500;
            font-size: 0.95rem;
            transition: all 0.15s ease;
            padding: 0.5rem 0;
            position: relative;
        }

.omni-tail .omni-node:hover{
            color: #202124;
        }

.omni-tail .omni-node.active{
            color: #1a73e8;
        }

.omni-tail .omni-node.active::after{
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: #1a73e8;
            border-radius: 2px;
        }

@media (max-width: 768px){.omni-tail .omni-pin{
                display: none; 
            }}

.omni-tail {
    background: rgb(255, 255, 255);
    background-image: none;
}

.cache-spark {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: var(--c-ink-main);
}
.cache-spark,
.cache-spark *,
.cache-spark *::before,
.cache-spark *::after {
    box-sizing: border-box;
}

.cache-spark [role="navigation"],
.cache-spark div,
.cache-spark section,
.cache-spark article,
.cache-spark aside,
.cache-spark p,
.cache-spark h1,
.cache-spark h2,
.cache-spark h3,
.cache-spark h4,
.cache-spark h5,
.cache-spark h6,
.cache-spark a {
    margin: 0;
    padding: 0;
    font: inherit;
    color: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.cache-spark p,
.cache-spark h1,
.cache-spark h2,
.cache-spark h3,
.cache-spark h4,
.cache-spark h5,
.cache-spark h6 {
    text-decoration: none;
}

.cache-spark img {
    display: block;
    max-width: 100%;
    height: auto;
    border: 0;
}

.cache-spark {
    box-shadow: none;
    filter: none;
    text-shadow: none;
    background-image: none;
    border-top: none;
    border-left: none;
    border-right: none;
    outline: none;
}

.cache-spark a,
.cache-spark a:hover,
.cache-spark a:focus,
.cache-spark a:active {
    background: transparent;
    box-shadow: none;
    outline: none;
    text-decoration: none;
}

.cache-spark .cache-flag{
            word-break: break-word;
            overflow-wrap: break-word;
        }

.cache-spark .cache-flag{
            word-break: keep-all;
        }

.cache-spark .cache-ink-3{
            font-size: clamp(1.25rem, 2vw, 1.5rem);
            font-weight: 600;
            line-height: 1.4;
            white-space: normal;
            margin-bottom: 1rem;
        }

.cache-spark{
            background-color: #1f2328;
            color: #e8eaed;
            padding: 4rem 5vw 2rem;
        }

.cache-spark .cache-cache{
            max-width: 1400px;
            margin: 0 auto;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid rgba(255,255,255,0.1);
            padding-bottom: 2rem;
            margin-bottom: 2rem;
        }

.cache-spark .cache-cache .cache-ink-3{
            color: #ffffff;
            margin: 0;
        }

.cache-spark .cache-trace{
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
        }

.cache-spark .cache-trace a{
            color: #5f6368;
            text-decoration: none;
            font-size: 0.9rem;
            transition: all 0.15s ease;
        }

.cache-spark .cache-trace a:hover{
            color: #ffffff;
        }