@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0');

/* CSS Variables & Theming */
:root {
    /* Fonts */
    --font-sans: 'Google Sans', Roboto, 'Open Sans', Arial, sans-serif;
    --font-mono: 'Roboto Mono', monospace;

    /* Base Colors (Light Mode) */
    --bg-color: #fff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --card-bg: #fff;
    --section-alt-bg: #f8fafc;
    --hero-card-bg: rgba(255, 255, 255, 0.5);
    --border-color: #e2e8f0;
    --hover-bg: #f1f5f9;

    /* Brand Colors */
    --google-blue: #1a73e8;
    --google-blue-hover: #185abc;
    --google-blue-light: #e8f0fe;
    --google-red: #ea4335;
    --google-red-light: #fce8e6;
    --google-yellow: #fbbc05;
    --google-yellow-light: #fef7e0;
    --google-green: #34a853;
    --google-green-light: #e6f4ea;

    /* Status/Badges */
    --badge-gray-bg: #f1f5f9;
    --badge-gray-text: #475569;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glow-blue: 0 10px 25px -5px rgba(26, 115, 232, 0.3);

    --transition-fast: 0.2s ease;
    --transition-med: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Dark Mode Override */
body[appearance="dark"] {
    --bg-color: rgba(255, 255, 255, 0.02);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-light: #64748b;
    --card-bg: rgba(255, 255, 255, 0.05);
    --section-alt-bg: rgba(255, 255, 255, 0.015);
    --hero-card-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(255, 255, 255, 0.02);

    --google-blue-light: rgba(26, 115, 232, 0.15);
    --google-red-light: rgba(234, 67, 53, 0.15);
    --google-yellow-light: rgba(251, 188, 5, 0.15);
    --google-green-light: rgba(52, 168, 83, 0.15);

    --badge-gray-bg: rgba(255, 255, 255, 0.05);
    --badge-gray-text: #cbd5e1;

    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
}

/* Reset & Base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: var(--font-sans); background-color: transparent; overflow: hidden !important; pointer-events: auto !important; }
body {
    font-family: var(--font-sans);
    background-color: transparent;
    color: var(--text-main);
    line-height: 1.6;
    transition: background-color var(--transition-med), color var(--transition-med);
    margin: 0;
    width: 100%;
    height: auto;
    --devsite-panel-height: 0;
    overflow: hidden !important;
    pointer-events: auto !important;
}
a { text-decoration: none; color: inherit; }
button, input, select, textarea { font-family: var(--font-sans); border: none; outline: none; background: none; }
button { cursor: pointer; }

/* Typography */
h1, h2, h3, h4, h5 { font-weight: 700; line-height: 1.2; font-family: var(--font-sans); }
h1 { font-size: 2.5rem; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h2 { font-size: 2rem; letter-spacing: -0.01em; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.font-mono { font-family: var(--font-mono); }

@media (min-width: 768px) {
    h1 { font-size: 3.5rem; }
}

/* Material Icons Setup */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    vertical-align: middle;
    font-size: 1.2em;
}

/* Layout & Utilities */
.container { max-width: 100% !important; margin: 0 auto; padding: 0 24px; }
.section { padding: 1.5rem 0 2.5rem 0; border-bottom: 1px solid var(--border-color); }
.section:nth-of-type(even) { background-color: var(--section-alt-bg); }

.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
.col-span-7 { grid-column: span 7; }
.col-span-5 { grid-column: span 5; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none !important; }

@media (min-width: 768px) {
    .container { padding: 0 12vw; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:flex-row { flex-direction: row; }
    .md\:text-left { text-align: left; }
}
@media (min-width: 1024px) {
    .lg\:grid-cols-12 { grid-template-columns: repeat(12, 1fr); }
    .lg\:col-span-7 { grid-column: span 7; }
    .lg\:col-span-5 { grid-column: span 5; }
    .lg\:col-span-8 { grid-column: span 8; }
    .lg\:col-span-4 { grid-column: span 4; }
    .lg\:block { display: block !important; }
}

/* Components */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 0.75rem 1.5rem; border-radius: 9999px;
    font-weight: 600; font-size: 0.875rem; transition: all var(--transition-fast);
    gap: 0.5rem;
    border: none;
    font-family: 'Google Sans';
    cursor: pointer;
}
.btn span {
    color: inherit !important;
}
.btn-primary,
.btn-google-blue {
    background-color: var(--google-blue); color: white;
    box-shadow: var(--shadow-md);
}
.btn-primary:hover, .btn-google-blue:hover { background-color: var(--google-blue-hover); transform: translateY(-2px); box-shadow: var(--shadow-glow-blue); }
.btn-google-green {
    background-color: var(--google-green); color: white;
    box-shadow: var(--shadow-md);
}
.btn-google-green:hover { background-color: #2d8e47; transform: translateY(-2px); box-shadow: 0 10px 25px -5px rgba(52, 168, 83, 0.3); }
#simNextBtn {
    border: none !important;
    transition: none !important;
}
#simNextBtn:hover {
    background-color: rgba(26, 115, 232, 0.12) !important;
    color: #185abc !important;
    transform: none !important;
    box-shadow: none !important;
}
#simNextBtn:focus, #simNextBtn:focus-visible, #simNextBtn:active {
    background-color: var(--google-blue) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}
#simNextBtn:focus:hover, #simNextBtn:focus-visible:hover {
    background-color: rgba(26, 115, 232, 0.12) !important;
    color: #185abc !important;
}
body[appearance="dark"] #simNextBtn:hover {
    background-color: rgba(138, 180, 248, 0.15) !important;
    color: #8ab4f8 !important;
}
body[appearance="dark"] #simNextBtn:focus,
body[appearance="dark"] #simNextBtn:focus-visible,
body[appearance="dark"] #simNextBtn:active {
    background-color: var(--google-blue) !important;
    color: white !important;
}
body[appearance="dark"] #simNextBtn:focus:hover,
body[appearance="dark"] #simNextBtn:focus-visible:hover {
    background-color: rgba(138, 180, 248, 0.15) !important;
    color: #8ab4f8 !important;
}
.btn-secondary {
    background-color: var(--badge-gray-bg) !important;
    color: var(--text-main) !important;
}
.btn-secondary:hover { background-color: var(--border-color); }

.card {
    background-color: var(--card-bg);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    border-radius: 1rem; padding: 1.5rem; box-shadow: var(--shadow-sm);
    transition: all var(--transition-med);
}
.card h1, .card h2, .card h3, .card h4, .card h5, .card p, .card span:not(.material-symbols-outlined) {
    color: var(--text-main);
}
.card .text-muted {
    color: var(--text-muted);
}

/* Scrollbars */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--text-light); border-radius: 4px; }

header {
    position: sticky; top: 0; z-index: 40;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color); transition: var(--transition-med);
}
html.dark header { background-color: rgba(30, 41, 59, 0.9); }
.header-inner { height: 4rem; display: flex; align-items: center; justify-content: space-between; }
.logo-group { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 1.125rem; }
.wallet-icon { display: flex; gap: 4px; }
.wallet-icon span { width: 12px; height: 24px; border-radius: 6px; transform: skewX(-12deg); }
.w-blue { background-color: var(--google-blue); }
.w-red { background-color: var(--google-red); transform: skewX(-12deg) translateY(-4px); }
.w-yellow { background-color: var(--google-yellow); transform: skewX(-12deg) translateY(-8px); }
.w-green { background-color: var(--google-green); transform: skewX(-12deg) translateY(-4px); }

.nav-links { display: none; gap: 1.5rem; font-size: 0.875rem; font-weight: 500; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a:hover { color: var(--google-blue); }

.theme-toggle {
    padding: 0.5rem; border-radius: 0.5rem; background-color: var(--badge-gray-bg);
    color: var(--text-muted); display: flex; align-items: center; justify-content: center;
}
.theme-toggle:hover { background-color: var(--border-color); color: var(--text-main); }

.hero { position: relative; overflow: hidden; padding: 5rem 0; }
.hero-glow { position: absolute; pointer-events: none; opacity: 0.1; filter: blur(80px); }
.hero-glow-1 { top: -10rem; right: -10rem; width: 30rem; height: 30rem; background: var(--google-blue); border-radius: 50%; }
.hero-glow-2 { bottom: -10rem; left: -10rem; width: 30rem; height: 30rem; background: var(--google-green); border-radius: 50%; }

/* Segmented Control (Target Selector) */
.segmented-control { display: flex; background: var(--hover-bg); padding: 4px; border-radius: 0.75rem; gap: 4px; margin-bottom: 1.5rem; }
.segment-btn {
    flex: 1; padding: 0.4rem; font-size: 0.7rem; font-weight: 600; border-radius: 0.5rem;
    color: var(--text-muted); transition: all var(--transition-fast); display: flex; align-items: center; justify-content: center; gap: 0.25rem;
    cursor: pointer;
    font-family: 'Google Sans';
}
.segment-btn.active { background: var(--card-bg); color: var(--text-main); box-shadow: var(--shadow-sm); }

.pill { display: inline-block; padding: 0.25rem 0.5rem; border-radius: 0.25rem; font-size: 0.65rem; font-weight: 600; font-family: var(--font-mono); }

#flow .grid {
    max-width: 1040px;
    margin: 0 auto;
    gap: 2.25rem !important;
    align-items: start;
}

.sim-container {
    /* border: 1px solid var(--border-color); */
    border-radius: 1.5rem; padding: 1rem; position: relative; overflow: hidden;
    display: flex; flex-direction: column; justify-content: center;
}
.sim-grid { display: flex; flex-direction: column; gap: 1rem; align-items: center; position: relative; width: 100%; z-index: 10; margin-bottom: 3rem; padding-bottom: 7.5rem; }

.sim-node {
    background: var(--card-bg); border: 2px solid var(--border-color); border-radius: 1.5rem;
    text-align: center;
    width: 150px;
    height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 0.75rem 0.5rem;
    transition: all var(--transition-med); box-shadow: var(--shadow-sm); position: relative; z-index: 20;
    margin-bottom: 2rem;
    flex-shrink: 0;
}
.sim-node .icon-box {
    width: 2.25rem; height: 2.25rem; border-radius: 50%; margin: 0 auto 0.5rem auto;
    display: flex; align-items: center; justify-content: center; font-size: 1.15rem;
    background: var(--badge-gray-bg); color: var(--text-muted); transition: all var(--transition-med);
}
.sim-node .title { font-weight: 700; font-size: 0.75rem; display: block; font-family: 'Google Sans'; }
.sim-node .subtitle { font-size: 0.65rem; color: var(--text-muted); margin-top: 0.15rem; display: block; }
.sim-node .badge {
    position: absolute;
    bottom: -2.25rem;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    display: inline-block; padding: 0.2rem 0.4rem; border-radius: 0.25rem;
    font-size: 0.575rem; font-family: var(--font-mono); background: var(--badge-gray-bg); color: var(--text-muted); transition: all var(--transition-med);
}

/* Node States */
.sim-node.dimmed { opacity: 0.5; border-color: var(--border-color); }
.sim-node.active-red { border-color: var(--google-red); transform: scale(1.05); box-shadow: 0 10px 25px rgba(234,67,53,0.15); }
.sim-node.active-red .icon-box { background: var(--google-red-light); color: var(--google-red); }
.sim-node.active-red .badge { background: var(--google-red-light); color: var(--google-red); }

.sim-node.active-blue { border-color: var(--google-blue); transform: scale(1.05); box-shadow: 0 10px 25px rgba(26, 115, 232, 0.15); }
.sim-node.active-blue .icon-box { background: var(--google-blue-light); color: var(--google-blue); border-radius: 0.75rem; }
.sim-node.active-blue .badge { background: var(--google-blue-light); color: var(--google-blue); }

.sim-node.active-green { border-color: var(--google-green); transform: scale(1.05); box-shadow: 0 10px 25px rgba(52,168,83,0.15); }
.sim-node.active-green .icon-box { background: var(--google-green-light); color: var(--google-green); }
.sim-node.active-green .badge { background: var(--google-green-light); color: var(--google-green); }


.sim-arrow-vert { display: block; }
.sim-arrow-horiz { display: none; }

.sim-arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 20px;
    height: 4.5rem;
    z-index: 5;
}

.sim-arrow-horiz {
    width: 100%;
    height: 20px;
    overflow: visible;
}

.sim-arrow-vert {
    width: 20px;
    height: 100%;
    overflow: visible;
}

.sim-arrow-path { stroke: var(--text-light); stroke-width: 2; stroke-dasharray: 6 6; transition: stroke var(--transition-med); }
.sim-arrow-head { fill: var(--text-light); transition: fill var(--transition-med); }

.sim-arrow-label {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 9999px;
    padding: 4px 10px;
    font-size: 0.65rem;
    font-weight: 700;
    opacity: 0;
    transition: all var(--transition-med);
    white-space: normal;
    text-align: center;
    z-index: 30;
    box-shadow: var(--shadow-sm);
}

/* Arrow States */
.sim-arrow-container.active-red .sim-arrow-path { stroke: var(--google-red); animation: dashMove 1s linear infinite; }
.sim-arrow-container.active-red .sim-arrow-head { fill: var(--google-red); }
.sim-arrow-container.active-red .sim-arrow-label {
    opacity: 1;
    color: var(--google-red);
    background: var(--google-red-light);
    border-color: var(--google-red);
    left: 50%;
    transform: translate(-50%, -50%);
}

.sim-arrow-container.active-green .sim-arrow-path { stroke: var(--google-green); animation: dashMove 1s linear infinite; }
.sim-arrow-container.active-green .sim-arrow-head { fill: var(--google-green); }
.sim-arrow-container.active-green .sim-arrow-label {
    opacity: 1;
    color: var(--google-green);
    background: var(--google-green-light);
    border-color: var(--google-green);
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes dashMove { to { stroke-dashoffset: -12; } }

/* Privacy Label (Step 3) */
.sim-privacy-label {
    position: absolute;
    top: 18.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--badge-gray-bg);
    padding: 6px 14px;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 6px;
    line-height: 1;
    white-space: nowrap;
    z-index: 30;
    box-shadow: var(--shadow-sm);
}
.sim-arrow-container.active-green .sim-privacy-label {
    display: flex;
    color: var(--google-green);
    border-color: var(--google-green-light);
    background: var(--google-green-light);
}

/* Controls */
.sim-controls {
    background: rgba(255, 255, 255, 0.5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--border-color); border-radius: 0.75rem; padding: 1rem;
    display: flex; flex-direction: column; gap: 1rem;
}
.sim-controls .flex {
    justify-content: flex-end;
}
body[appearance="dark"] .sim-controls { background: rgba(255, 255, 255, 0.05); }
@media (min-width: 640px) { .sim-controls { flex-direction: row; justify-content: space-between; align-items: center; } }

.status-indicator { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--text-light); transition: background var(--transition-med); }
.status-dot.pulse-red { background: var(--google-red); animation: pulse 2s infinite; }
.status-dot.pulse-blue { background: var(--google-blue); animation: pulse 2s infinite; }
.status-dot.pulse-green { background: var(--google-green); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(0,0,0,0.4); } 70% { box-shadow: 0 0 0 6px rgba(0,0,0,0); } 100% { box-shadow: 0 0 0 0 rgba(0,0,0,0); } }

.search-wrapper { position: relative; margin-bottom: 1.5rem; width: 100%; max-width: 600px; }
.search-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-light); }
.search-input { width: 100%; padding: 1rem 1rem 1rem 3rem; background: var(--bg-color); border-radius: 0.75rem; color: var(--text-main); font-size: 0.875rem; transition: box-shadow var(--transition-fast); border: 1px solid var(--border-color); }
.search-input:focus { box-shadow: 0 0 0 2px var(--google-blue); }

@media (min-width: 840px) {
    .sim-arrow-vert { display: none; }
    .sim-arrow-horiz { display: block; }
    .sim-container { padding: 1.5rem; }
    .sim-node { margin-bottom: 0; }
    .sim-grid { flex-direction: row; justify-content: space-between; margin-bottom: 5.5rem; padding-bottom: 0; }
    .sim-arrow-container {
        flex: 1;
        height: 2rem;
        width: auto;
        min-width: 70px;
    }
    .sim-arrow-label {
        position: absolute;
        top: -1.5rem;
        left: 50%;
        transform: translateX(-50%);
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    .sim-arrow-container.active-red .sim-arrow-label {
        background: transparent;
        border: none;
        transform: translate(-50%, -5px);
        left: 50%;
    }
    .sim-arrow-container.active-green .sim-arrow-label {
        background: transparent;
        border: none;
        transform: translate(-50%, -5px);
        left: 50%;
    }

    .sim-privacy-label {
        top: 8.75rem; /* Safely below the smaller cards and absolute badges */
        bottom: auto;
        left: 50%;
        transform: translateX(-50%);
    }
    .sim-text-panel {
        text-align: left;
        align-items: stretch;
    }
    .sim-detail-content {
        align-items: flex-start;
    }
    .sim-note-box {
        justify-content: flex-start;
        margin: 12px 0 0 0;
        max-width: 100%;
    }
}
.search-input:empty:before {
    content: attr(placeholder);
    color: var(--text-light);
}

.filters-row { display: flex; flex-direction: column; gap: 1.5rem; margin-bottom: 0; }
@media (min-width: 1024px) { .filters-row { flex-direction: row; justify-content: space-between; } }
.filter-group-title { font-size: 0.65rem; font-weight: 700; color: var(--text-light); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; display: block; }
.filter-btn-group { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.filter-btn { padding: 0.5rem 1rem; background: var(--badge-gray-bg); color: var(--text-main); font-size: 0.75rem; font-weight: 600; border-radius: 0.5rem; transition: all var(--transition-fast); cursor: pointer; font-family: 'Google Sans'; }
.filter-btn:hover { background: var(--border-color); }
.filter-btn.active { background: var(--google-blue); color: white; }

.faq-accordion { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 0.75rem; margin-bottom: 1rem; transition: box-shadow var(--transition-fast); overflow: hidden; }
.faq-accordion:hover { box-shadow: var(--shadow-sm); }
.faq-header { width: 100%; text-align: left; padding: 1rem 1.25rem; display: flex; justify-content: space-between; align-items: center; background: transparent; overflow: visible; cursor: pointer; }
.faq-header:hover { background: var(--hover-bg); }
.faq-title-area { padding-right: 1rem; }
.faq-question { font-weight: 600; font-size: 0.95rem; display: block; margin-bottom: 0; line-height: 1.4; color: var(--text-main); font-family: 'Google Sans'; }
.faq-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.faq-tag { padding: 2px 6px; background: var(--badge-gray-bg); color: var(--text-light); font-size: 0.6rem; font-weight: 700; text-transform: uppercase; border-radius: 4px; font-family: var(--font-mono); }
.faq-icon { color: var(--text-light); transition: transform var(--transition-med); }
.faq-accordion.expanded .faq-icon { transform: rotate(180deg); }
.faq-content { max-height: 0; overflow: hidden; transition: max-height var(--transition-med); background: var(--bg-color); }
.faq-content-inner { padding: 1.25rem; font-size: 0.875rem; color: var(--text-muted); border-top: 1px solid var(--border-color); }
.faq-content-inner p { margin-top: 0.5rem; }
.faq-content-inner p:first-of-type { margin-top: 0; }
.faq-content-inner ul { margin-top: 0.5rem; padding-left: 1.5rem; list-style-type: disc; }

.roadmap-tabs { display: inline-flex; background: var(--hover-bg); padding: 4px; border-radius: 0.75rem; margin-bottom: 2.5rem; }
.roadmap-tab { padding: 0.75rem 1.5rem; font-size: 0.875rem; font-weight: 600; color: var(--text-muted); border-radius: 0.5rem; transition: all var(--transition-fast); display: flex; align-items: center; gap: 0.5rem; cursor: pointer; font-family: 'Google Sans'; }
.roadmap-tab.active { background: var(--card-bg); color: var(--text-main); box-shadow: var(--shadow-sm); }

.roadmap-step { display: flex; flex-direction: column; padding: 1.15rem 1.25rem; background: var(--hover-bg); border: 1px solid var(--border-color); border-radius: 0.75rem; margin-bottom: 1.15rem; }
.roadmap-header { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.5rem; }
.step-number { width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-family: var(--font-mono); background: var(--google-blue-light); color: var(--google-blue); font-size: 1rem; }

.matrix-table-wrapper { overflow: hidden; overflow-x: auto; background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 1rem; }
table { width: 100%; border-collapse: collapse; text-align: left; margin: 0; }
th { background: var(--hover-bg); padding: 0.75rem 1.25rem; font-size: 0.75rem; text-transform: uppercase; font-weight: 700; color: var(--text-light); letter-spacing: 1px; border-bottom: 1px solid var(--border-color); }
td { padding: 0.75rem 1.25rem; font-size: 0.875rem; border-bottom: 1px solid var(--border-color); font-family: 'Google Sans'; }
tr:first-child, tr:first-child td { border-top: none !important; }
tr:last-child, tr:last-child td { border-bottom: none !important; }
tr:hover td { background: var(--hover-bg); }
.status-badge { padding: 4px 10px; border-radius: 4px; font-size: 0.7rem; font-weight: 700; display: inline-block; }
.status-green { background: var(--google-green-light); color: var(--google-green); }
.status-blue { background: var(--google-blue-light); color: var(--google-blue); }

/* Modal Overlay */
.modal-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); z-index: 100; display: none; align-items: center; justify-content: center; padding: 1rem; opacity: 0; transition: opacity var(--transition-fast); }
.modal-backdrop.show { display: flex; opacity: 1; }
.modal-content { background: var(--card-bg); border: 1px solid var(--border-color); border-radius: 1rem; padding: 2rem; width: 100%; max-width: 600px; position: relative; transform: scale(0.95); transition: transform var(--transition-fast); max-height: 90vh; overflow-y: auto; }
.modal-backdrop.show .modal-content { transform: scale(1); }
.modal-close { position: absolute; top: 1rem; right: 1rem; color: var(--text-light); }
.form-group { margin-bottom: 1rem; }
.form-label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; color: var(--text-light); margin-bottom: 0.5rem; }
.form-input { width: 100%; padding: 0.75rem 1rem; background: var(--hover-bg); border: 1px solid var(--border-color); border-radius: 0.5rem; color: var(--text-main); font-size: 0.875rem; transition: border-color var(--transition-fast); }
.form-input:focus { border-color: var(--google-blue); }

/* Utility specific for the Technical Docs module removal/replacement */
.zkp-info-box {
    margin-top: 1.5rem; padding: 1rem; background: var(--google-blue-light); border-radius: 0.75rem;
    font-size: 0.8rem; color: var(--google-blue); display: flex; align-items: flex-start; gap: 0.5rem;
    opacity: 0; max-height: 0; overflow: hidden; transition: all var(--transition-med);
}
.zkp-info-box.show { opacity: 1; max-height: 200px; padding: 1rem; margin-top: 1.5rem; }
.zkp-info-box .material-symbols-outlined { font-size: 1.2rem; }

/* Carousel Component */
.carousel-container {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.carousel-container::-webkit-scrollbar { display: none; }
.carousel-card {
    scroll-snap-align: start;
    flex: 0 0 100%;
    max-width: 100%;
    padding: 2rem;
    transition: transform var(--transition-med), box-shadow var(--transition-med);
    border: 1px solid var(--border-color);
}
.carousel-card:hover { box-shadow: var(--shadow-md); }
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: background-color var(--transition-fast);
}
.carousel-dot.active { background: var(--google-blue) !important; }

.sim-detail-heading {
    font-weight: 700;
    font-size: 1.25rem;
    font-family: 'Google Sans', sans-serif;
    margin-bottom: 0;
    margin-top: 0;
    color: var(--text-main);
}

.sim-note-box {
    display: flex;
    gap: 8px;
    font-size: 0.75rem;
    margin: 12px auto 0 auto;
    padding: 12px;
    border-radius: 12px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    max-width: 480px;
    width: 100%;
}
.sim-note-box.note-red { color: var(--google-red); background: var(--google-red-light); }
.sim-note-box.note-blue { color: var(--google-blue); background: var(--google-blue-light); }
.sim-note-box.note-green { color: var(--google-green); background: var(--google-green-light); }
.sim-note-box .material-symbols-outlined { font-size: 1.25em; flex-shrink: 0; }

.hero-context-grid {
    margin: 0 0 2.5rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    max-width: 750px;
    font-family: 'Google Sans';
}
.hero-context-card {
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: var(--hero-card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.hero-context-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}
.hero-context-icon.icon-blue { background: var(--google-blue-light); color: var(--google-blue); }
.hero-context-icon.icon-red { background: var(--google-red-light); color: var(--google-red); }
.hero-context-icon.icon-green { background: var(--google-green-light); color: var(--google-green); }

.faq-empty-state {
    padding: 3rem 1.5rem;
}
.faq-empty-state .material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--text-light);
}
.faq-empty-state p {
    font-size: 0.75rem;
}

/* Color Variants on Dynamic Controls */
.check-blue { color: var(--google-blue); }
.check-green { color: var(--google-green); }
.check-red { color: var(--google-red); }

.pillar-icon-box.icon-blue { background: var(--google-blue-light); color: var(--google-blue); }
.pillar-icon-box.icon-green { background: var(--google-green-light); color: var(--google-green); }
.pillar-icon-box.icon-red { background: var(--google-red-light); color: var(--google-red); }

.carousel-img-wrapper.bg-hover { background: var(--hover-bg); }
.carousel-img-wrapper.bg-green { background: var(--google-green-light); }

.pill.pill-google-blue { background: var(--google-blue-light); color: var(--google-blue); }
.pill.pill-google-green { background: var(--google-green-light); color: var(--google-green); }

/* FAQ Tag theme overrides */
.faq-tag.tag-user { color: var(--google-blue); }
.faq-tag.tag-rp { color: var(--google-green); }
.faq-tag.tag-issuer { color: var(--google-red); }

/* Decoupled Presentation Layout Helper Classes */
.highlight-blue { color: var(--google-blue); }
.hero-section { padding: 32px 0; }
.hero-section .container {
    padding: 0 24px !important;
}

@media (min-width: 768px) {
    .hero-section { padding: 32px; }
    .hero-section .container {
        padding: 0 6vw !important;
    }
}
.hero-desc { font-size: 1rem; color: var(--text-muted); margin-bottom: 2rem; max-width: 600px; }
.hero-buttons-row { padding-bottom: 64px; }
.btn-icon { font-size: 1.22em; margin-left: 4px; }
.hero-img { display: block; margin-left: auto; width: 85%; height: auto; border-radius: 1rem; opacity: 0.85; max-height: 500px; }
.section-header { max-width: 800px; margin: 0 auto 3rem auto; }
.icon-box.icon-large { width: 2.75rem; height: 2.75rem; font-size: 1.35rem; }

#simNode-wallet {
    /* Uses base sim-node square shape dimensions (150px x 150px) */
}
.sim-privacy-label .privacy-icon { font-size: 14px; }
#simulatorStatusText { color: var(--text-main); font-family: 'Google Sans', sans-serif; }
.button-padding { padding: 0.5rem; }
.btn-icon-gap { margin-left: 4px; }
.sim-text-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1rem 0; width: 100%; }
.sim-detail-content { font-size: 0.875rem; color: var(--text-muted); display: flex; flex-direction: column; gap: 0.75rem; align-items: center; width: 100%; }
.text-center-wrapper { text-align: center; }
.badge-blue { color: var(--google-blue); }
.badge-red { color: var(--google-red); }
.roadmap-content-wrapper { max-width: 800px; margin: 0 auto; }
.roadmap-title { margin: 0; color: var(--text-main); font-size: 1.1rem; }
.roadmap-body { margin-left: calc(2.25rem + 1rem); }
.roadmap-desc { font-size: 0.825rem; color: var(--text-muted); margin-bottom: 0.75rem; margin-top: 0; }
.roadmap-step .btn { padding: 0.5rem 1rem; font-size: 0.8rem; }
.carousel-wrapper { position: relative; width: 100%; max-width: 900px; margin: 0 auto; overflow: hidden; }
.carousel-controls { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2rem; }
.carousel-btn { padding: 0.75rem; border-radius: 50%; width: 3rem; height: 3rem; display: flex; align-items: center; justify-content: center; }
.faq-section { border-bottom: none !important; }
.faq-search-card { margin-bottom: 2rem; }
.faq-results-count { font-size: 0.75rem; color: var(--text-light); margin-top: 1rem; margin-bottom: 1rem; font-family: var(--font-mono); }
.faq-tags { margin-top: 1rem; }
.audience-tags { display: inline-flex; gap: 0.5rem; margin-left: 0.5rem; }
.carousel-img-wrapper { width: 100%; height: 100%; min-height: 220px; max-height: 280px; border-radius: 0.75rem; overflow: hidden; box-shadow: var(--shadow-sm); display: flex; align-items: center; justify-content: center; }
.carousel-img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.carousel-text-col { display: flex; flex-direction: column; justify-content: flex-start; gap: 1.25rem; }
.carousel-pill-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1rem; }
.carousel-pill { font-size: 0.75rem; }
.carousel-source { font-size: 0.75rem; }
.carousel-title { font-size: 1.5rem; margin-bottom: 1rem; color: var(--text-main); }
.carousel-desc { font-size: 1rem; margin-bottom: 0; }
.hero-context-card strong { color: var(--text-main); display: block; margin-bottom: 0.375rem; font-size: 0.95rem; }
.hero-context-card p { margin: 0; line-height: 1.4; font-size: 0.8rem; }
.context-icon-size { font-size: 1.25rem; }
.pillar-icon-box { width: 2.5rem; height: 2.5rem; border-radius: 0.5rem; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.pillar-title { margin-bottom: 0.375rem; color: var(--text-main); font-size: 1.15rem; }
.pillar-desc { font-size: 0.825rem; margin-bottom: 1rem; }
.pillar-checklist { border-top: 1px solid var(--border-color); padding-top: 0.75rem; font-size: 0.7rem; font-weight: 600; color: var(--text-light); display: flex; flex-direction: column; gap: 0.375rem; }

#pillarsGrid {
    max-width: 960px;
    margin: 0 auto;
    gap: 1.5rem;
}

#pillarsGrid .card {
    padding: 1.25rem;
}

/* FAQ Desktop 2-Column Sidebar Layout */
.w-full {
    width: 100%;
}


@media (min-width: 1300px) {
    .container { 
        padding: 0 4vw !important; 
    }

    .hero-section {
        padding: 32px 0;
    }

    .hero-section .container {
        max-width: 1230px !important;
        margin: 0 auto;
        padding: 0 !important;
    }

    .faq-layout-grid {
        display: grid;
        grid-template-columns: repeat(12, 1fr);
        gap: 2rem;
    }

    .sticky-sidebar {
        z-index: 10;
    }

    .faq-search-card {
        padding: 1.5rem;
        margin-bottom: 0;
    }

    #faqContainer {
        max-height: 600px;
        overflow-y: auto;
        padding-right: 0.5rem;
    }

    #faqContainer.fade-top:not(.fade-bottom) {
        mask-image: linear-gradient(to bottom, transparent, black 24px);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 24px);
    }

    #faqContainer.fade-bottom:not(.fade-top) {
        mask-image: linear-gradient(to top, transparent, black 24px);
        -webkit-mask-image: linear-gradient(to top, transparent, black 24px);
    }

    #faqContainer.fade-top.fade-bottom {
        mask-image: linear-gradient(to bottom, transparent, black 24px, black calc(100% - 24px), transparent);
        -webkit-mask-image: linear-gradient(to bottom, transparent, black 24px, black calc(100% - 24px), transparent);
    }

    /* Convert search and filters to stacked vertical layout within the sidebar */
    .faq-search-card .filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 1.25rem;
    }

    .faq-search-card .search-wrapper {
        max-width: 100%;
    }
}