/* cbdc.bar - Fintech Trust Blue */
/* Palette: #0c1b3a, #c5a03f, #1e4d8c, #f8f6f0, #d4cdb8, #2563eb, #b91c1c, #1a202c */

:root {
    --navy: #0c1b3a;
    --gold: #c5a03f;
    --trust: #1e4d8c;
    --paper: #f8f6f0;
    --border: #d4cdb8;
    --data: #2563eb;
    --alert: #b91c1c;
    --text: #1a202c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: var(--paper);
    color: var(--text);
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    line-height: 1.65;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    position: relative;
    overflow: hidden;
    padding: 2rem;
}

.guilloche-bg {
    position: absolute;
    inset: 0;
    background:
        repeating-conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(197, 160, 63, 0.03) 10deg, transparent 20deg);
    opacity: 0.5;
    pointer-events: none;
}

.crest {
    margin-bottom: 2rem;
    opacity: 0;
    animation: crestAppear 2s ease forwards 0.5s;
}

.crest-path {
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
    animation: drawPath 2s ease forwards 0.8s;
}

@keyframes drawPath {
    to { stroke-dashoffset: 0; }
}

@keyframes crestAppear {
    to { opacity: 1; }
}

.hero-acronym {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(3rem, 10vw, 7rem);
    color: var(--paper);
    letter-spacing: 0.15em;
    text-align: center;
}

.hero-subtitle {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 1rem;
    color: var(--border);
    letter-spacing: 0.1em;
    margin-top: 0.5rem;
}

.gold-rule {
    border: none;
    border-top: 1px solid var(--gold);
    width: 120px;
    margin: 2rem auto;
}

/* Content Sections */
.content-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 4rem 2rem;
    position: relative;
}

.section-light {
    background: var(--paper);
    background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.01) 0px, transparent 1px, transparent 2px);
    background-size: 2px 100%;
}

.bond-paper {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(90deg, rgba(0,0,0,0.008) 0px, transparent 1px, transparent 2px);
    background-size: 2px 100%;
    pointer-events: none;
}

.gold-pinstripe {
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--gold);
    opacity: 0.3;
}

.content-grid {
    display: grid;
    grid-template-columns: 60% 35%;
    gap: 5%;
}

.section-title {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    color: var(--navy);
    margin-bottom: 1.5rem;
}

.section-body {
    font-size: 1rem;
    line-height: 1.65;
    color: var(--text);
    margin-bottom: 1rem;
}

/* Data Blocks */
.data-block {
    border: 1px solid var(--border);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    background: #fff;
    border-top: 4px solid var(--data);
}

.data-block[data-accent="gold"] { border-top-color: var(--gold); }
.data-block[data-accent="alert"] { border-top-color: var(--alert); }

.data-number {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 48px;
    font-variant-numeric: tabular-nums;
    color: var(--navy);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.data-label {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 400;
    font-size: 0.85rem;
    color: rgba(26, 32, 44, 0.6);
    display: block;
}

.data-row {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.data-block-sm {
    border: 1px solid var(--border);
    padding: 1rem;
    flex: 1;
    min-width: 120px;
    border-top: 3px solid var(--data);
    background: #fff;
}

.data-number-sm {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 36px;
    font-variant-numeric: tabular-nums;
    color: var(--navy);
    display: block;
    line-height: 1;
    margin-bottom: 0.3rem;
}

/* Table */
.framework-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-size: 0.9rem;
}

.framework-table th {
    text-align: left;
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--trust);
    padding: 0.75rem;
    border-bottom: 2px solid var(--border);
}

.framework-table td {
    padding: 0.65rem 0.75rem;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.framework-table tbody tr:nth-child(even) {
    background: rgba(0, 0, 0, 0.02);
}

.status-active { color: #15803d; font-weight: 600; }
.status-review { color: var(--gold); font-weight: 600; }
.status-pilot { color: var(--data); font-weight: 600; }
.status-dev { color: rgba(26, 32, 44, 0.5); font-weight: 600; }

.seal-mark {
    text-align: center;
    margin-top: 1.5rem;
    opacity: 0.5;
}

/* Declaration */
.declaration {
    min-height: 60vh;
}

.declaration-text {
    font-family: 'DM Serif Display', serif;
    font-size: clamp(1.5rem, 4vw, 2.8rem);
    color: var(--paper);
    text-align: center;
    line-height: 1.4;
}

.declaration-sig {
    font-family: 'Source Sans 3', sans-serif;
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

/* Institutional Footer */
.inst-footer {
    background: var(--navy);
    padding: 3rem 2rem;
}

.footer-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.footer-heading {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold);
    margin-bottom: 1rem;
}

.footer-text {
    font-size: 0.8rem;
    color: var(--border);
    line-height: 1.5;
}

.footer-link {
    font-size: 0.8rem;
    color: rgba(212, 205, 184, 0.7);
    margin-bottom: 0.5rem;
}

.footer-notice {
    font-size: 0.7rem;
    color: rgba(212, 205, 184, 0.4);
    margin-top: 1rem;
}

/* Fade In */
.fade-in {
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .content-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
    .data-row { flex-direction: column; }
}
