@charset "utf-8";
:root { --bg: #050806; --bg-soft: #0a100d; --card: #0d1511; --card-hover: #111c17; --green: #37e8a1; --green-dark: #18b97a; --blue: #68a7ff; --text: #f3f7f4; --muted: #8d9b94; --border: rgba(255,255,255,.09); --radius: 24px; --max-width: 1180px; }

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

html { scroll-behavior: smooth; }

body { background: radial-gradient(
            circle at 80% 0%,
            rgba(55,232,161,.08),
            transparent 25%
        ),
        var(--bg); color: var(--text); font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.5; }

a { color: inherit; text-decoration: none; }

button, input { font: inherit; }

.navbar { width: min(var(--max-width), calc(100% - 40px)); margin: auto; height: 90px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 10; }

.logo { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; letter-spacing: -0.03em; }

.logo-mark { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--green); color: rgb(4, 16, 9); font-size: 20px; }

.logo small { display: block; color: var(--green); font-size: 8px; letter-spacing: 0.18em; }

.navbar nav { display: flex; gap: 34px; color: var(--muted); font-size: 13px; font-weight: 500; }

.navbar nav a { transition: color 0.2s; }

.navbar nav a:hover { color: white; }

.nav-button { padding: 11px 17px; border: 1px solid var(--border); border-radius: 100px; font-size: 13px; font-weight: 600; transition: 0.2s; }

.nav-button:hover { border-color: var(--green); color: var(--green); }

.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 15px 22px; background: var(--green); color: rgb(4, 16, 9); border-radius: 100px; font-size: 14px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s; }

.primary-button:hover { transform: translateY(-2px); box-shadow: rgba(55, 232, 161, 0.2) 0px 10px 40px; }

.secondary-button { display: inline-flex; align-items: center; padding: 15px 22px; border: 1px solid var(--border); border-radius: 100px; color: var(--text); font-size: 14px; font-weight: 600; transition: 0.2s; }

.secondary-button:hover { background: rgba(255, 255, 255, 0.04); }

.hero { width: min(var(--max-width), calc(100% - 40px)); min-height: 650px; margin: 70px auto 100px; display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 80px; position: relative; }

.hero-glow { position: absolute; width: 550px; height: 550px; left: -250px; top: 0px; background: radial-gradient(circle, rgba(55, 232, 161, 0.13), transparent 65%); pointer-events: none; }

.hero-content { position: relative; z-index: 1; }

.eyebrow, .section-eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; }

.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(55,232,161,.1),
        0 0 15px var(--green); }

.hero h1 { margin-top: 22px; max-width: 700px; font-size: clamp(54px, 7vw, 90px); line-height: 0.96; letter-spacing: -0.075em; }

.hero h1 span { color: var(--green); }

.hero-text { max-width: 530px; margin-top: 28px; color: var(--muted); font-size: 17px; line-height: 1.7; }

.hero-actions { display: flex; gap: 12px; margin-top: 34px; }

.hero-trust { display: flex; align-items: center; gap: 20px; margin-top: 60px; }

.hero-trust div:not(.separator) { display: flex; flex-direction: column; }

.hero-trust strong { font-size: 18px; }

.hero-trust span { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; }

.separator { width: 1px; height: 35px; background: var(--border); }

.hero-card { position: relative; padding: 32px; background: linear-gradient(
            145deg,
            rgba(55,232,161,.08),
            transparent 40%
        ),
        var(--card); border: 1px solid rgba(55, 232, 161, 0.13); border-radius: 32px; box-shadow: rgba(0, 0, 0, 0.3) 0px 40px 100px; }

.card-header { display: flex; align-items: flex-start; justify-content: space-between; }

.card-label { color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; }

.card-header h2 { margin-top: 7px; font-size: 22px; letter-spacing: -0.04em; }

.live-badge { display: flex; align-items: center; gap: 7px; padding: 6px 10px; border-radius: 100px; background: rgba(55, 232, 161, 0.08); color: var(--green); font-size: 9px; font-weight: 700; letter-spacing: 0.12em; }

.live-badge span { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }

.performance { margin-top: 55px; }

.performance-value { font-size: 82px; line-height: 1; font-weight: 700; letter-spacing: -0.07em; }

.performance-value small { color: var(--green); font-size: 38px; }

.performance-label { margin-top: 8px; color: var(--muted); font-size: 12px; }

.mini-chart { height: 120px; margin-top: 30px; position: relative; overflow: hidden; border-bottom: 1px solid var(--border); }

.chart-line { position: absolute; left: -5%; right: -5%; bottom: 25px; height: 80px; border-top: 2px solid var(--green); transform: skewY(-5deg) rotate(-1deg); box-shadow: rgba(55, 232, 161, 0.25) 0px -5px 30px; }

.chart-point { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: rgba(55, 232, 161, 0.1) 0px 0px 0px 5px; }

.p1 { left: 10%; bottom: 38px; }

.p2 { left: 28%; bottom: 55px; }

.p3 { left: 45%; bottom: 42px; }

.p4 { left: 61%; bottom: 67px; }

.p5 { left: 77%; bottom: 82px; }

.p6 { right: 5%; bottom: 95px; }

.card-footer { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 24px; }

.card-footer div { padding: 15px; border: 1px solid var(--border); border-radius: 15px; }

.card-footer span { display: block; color: var(--muted); font-size: 10px; }

.card-footer strong { display: block; margin-top: 4px; font-size: 16px; }

.section { width: min(var(--max-width), calc(100% - 40px)); margin: 150px auto; }

.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 45px; }

.section-heading h2 { margin-top: 12px; font-size: clamp(34px, 4vw, 55px); line-height: 1; letter-spacing: -0.06em; }

.section-heading > p { max-width: 350px; color: var(--muted); font-size: 13px; }

.stats-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 15px; }

.stat-card { min-height: 220px; padding: 27px; display: flex; flex-direction: column; justify-content: space-between; background: var(--card); border: 1px solid
        var(--border); border-radius: var(--radius); transition: transform 0.2s, background 0.2s; }

.stat-card:hover { transform: translateY(-4px); background: var(--card-hover); }

.stat-card.large { grid-row: span 2; min-height: 455px; }

.stat-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; background: rgba(55, 232, 161, 0.08); color: var(--green); font-weight: 700; }

.stat-card > span { margin-top: auto; color: var(--muted); font-size: 12px; }

.stat-card strong { margin-top: 5px; font-size: 29px; letter-spacing: -0.05em; }

.stat-card.large strong { font-size: 48px; }

.stat-card small { margin-top: 5px; color: rgb(102, 115, 108); font-size: 11px; }

.stat-card.bonus { background: linear-gradient(
            140deg,
            rgba(55,232,161,.09),
            var(--card)
        ); }

.staking-section { width: min(var(--max-width), calc(100% - 40px)); margin: 180px auto; display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }

.staking-copy h2 { max-width: 600px; margin-top: 15px; font-size: clamp(45px, 5vw, 68px); line-height: 0.98; letter-spacing: -0.065em; }

.staking-copy > p { max-width: 500px; margin-top: 25px; color: var(--muted); line-height: 1.7; }

.benefits { margin-top: 40px; }

.benefit { display: flex; gap: 15px; padding: 17px 0px; border-bottom: 1px solid var(--border); }

.benefit > span { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(55, 232, 161, 0.1); color: var(--green); font-size: 12px; }

.benefit strong { font-size: 14px; }

.benefit p { margin-top: 3px; color: var(--muted); font-size: 12px; }

.calculator { padding: 35px; background: radial-gradient(
            circle at 100% 0%,
            rgba(55,232,161,.12),
            transparent 40%
        ),
        var(--card); border: 1px solid rgba(55, 232, 161, 0.15); border-radius: 30px; }

.calculator-top { display: flex; justify-content: space-between; color: var(--green); font-size: 10px; font-weight: 700; letter-spacing: 0.16em; }

.calc-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; background: var(--green); color: rgb(4, 16, 9); font-size: 17px; }

.calculator h3 { margin-top: 20px; font-size: 25px; letter-spacing: -0.04em; }

.calculator label { display: block; margin-top: 30px; color: var(--muted); font-size: 11px; }

.input-wrapper { display: flex; align-items: center; margin-top: 8px; padding: 0px 17px; background: rgb(7, 13, 9); border: 1px solid
        var(--border); border-radius: 14px; }

.input-wrapper input { width: 100%; padding: 17px 0px; background: transparent; border: 0px; outline: 0px; color: white; font-size: 20px; font-weight: 600; }

.input-wrapper span { color: var(--green); font-size: 12px; font-weight: 700; }

.calc-result { display: flex; justify-content: space-between; align-items: center; padding: 18px 0px; border-bottom: 1px solid var(--border); margin-top: 12px; }

.calc-result span { color: var(--muted); font-size: 11px; }

.calc-result strong { color: var(--green); font-size: 22px; }

.calc-result.secondary strong { color: white; }

.full { width: 100%; margin-top: 25px; }

.disclaimer { display: block; margin-top: 15px; color: rgb(93, 105, 98); font-size: 9px; line-height: 1.6; }

.history-card { padding: 30px; background: var(--card); border: 1px solid var(--border); border-radius: 28px; }

.history-header { display: flex; justify-content: space-between; align-items: center; }

.history-header > div:first-child { display: flex; flex-direction: column; }

.history-header span { color: var(--muted); font-size: 10px; letter-spacing: 0.12em; }

.history-header strong { margin-top: 5px; font-size: 18px; }

.history-current { text-align: right; }

.history-current strong { color: var(--green); font-size: 22px; }

.big-chart { height: 300px; margin-top: 30px; }

.big-chart svg { width: 100%; height: 100%; overflow: visible; }

.chart-area { fill: url("#areaGradient"); }

.chart-stroke { fill: none; stroke: var(--green); stroke-width: 3; vector-effect: non-scaling-stroke; filter: drop-shadow(rgba(55, 232, 161, 0.25) 0px 0px 8px); }

.chart-labels { display: flex; justify-content: space-between; padding-top: 10px; color: rgb(93, 105, 98); font-size: 10px; }

.about-section { padding: 150px 20px; background: radial-gradient(circle at 50% 30%, rgba(55, 232, 161, 0.12), transparent 40%), rgb(7, 16, 11); text-align: center; }

.about-inner { width: min(750px, 100%); margin: auto; }

.about-badge { display: inline-block; padding: 7px 12px; border: 1px solid rgba(55, 232, 161, 0.15); border-radius: 100px; color: var(--green); font-size: 9px; letter-spacing: 0.15em; }

.about h2 { margin-top: 25px; font-size: clamp(45px, 6vw, 75px); line-height: 0.98; letter-spacing: -0.07em; }

.about-inner h2 span { color: var(--green); }

.about-inner > p { margin: 28px auto 0px; max-width: 600px; color: var(--muted); line-height: 1.8; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 55px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.about-stats div { padding: 25px 10px; border-right: 1px solid var(--border); }

.about-stats div:last-child { border-right: 0px; }

.about-stats strong { display: block; color: var(--green); font-size: 24px; }

.about-stats span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }

.cta { width: min(var(--max-width), calc(100% - 40px)); margin: 150px auto; padding: 60px; display: flex; align-items: center; justify-content: space-between; gap: 40px; background: linear-gradient(100deg, rgba(55, 232, 161, 0.1), rgba(55, 232, 161, 0.024)); border: 1px solid rgba(55, 232, 161, 0.13); border-radius: 30px; }

.cta h2 { margin-top: 10px; font-size: 45px; letter-spacing: -0.06em; }

.cta p { margin-top: 8px; color: var(--muted); }

footer { width: min(var(--max-width), calc(100% - 40px)); margin: auto; padding: 35px 0px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); color: var(--muted); font-size: 10px; }

.footer-logo { color: white; font-weight: 700; }

.footer-links { display: flex; gap: 25px; }

.footer-links a:hover { color: var(--green); }

@media (max-width: 900px) {
  .navbar nav { display: none; }
  .hero { grid-template-columns: 1fr; margin-top: 50px; gap: 60px; }
  .hero h1 { font-size: clamp(52px, 13vw, 80px); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .stat-card.large { grid-row: auto; min-height: 300px; }
  .staking-section { grid-template-columns: 1fr; gap: 60px; }
  .cta { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 600px) {
  .navbar { width: calc(100% - 30px); }
  .nav-button { display: none; }
  .hero, .section, .staking-section, .cta { width: calc(100% - 30px); }
  .hero { margin-top: 40px; }
  .hero-actions { flex-direction: column; }
  .hero-actions a { width: 100%; }
  .hero-trust { gap: 12px; }
  .hero-trust strong { font-size: 15px; }
  .hero-card { padding: 24px; }
  .performance-value { font-size: 65px; }
  .section { margin: 100px auto; }
  .section-heading { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-card.large { min-height: 250px; }
  .staking-section { margin: 100px auto; }
  .calculator { padding: 25px; }
  .about-section { padding: 100px 15px; }
  .about-stats { grid-template-columns: 1fr; }
  .about-stats div { border-right: 0px; border-bottom: 1px solid var(--border); }
  .about-stats div:last-child { border-bottom: 0px; }
  .cta { padding: 35px 25px; }
  .cta h2 { font-size: 36px; }
  footer { flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
/* =========================================================
   SCROLL REVEAL — affichage progressif au défilement
========================================================= */

.reveal-item,
.reveal-section,
.reveal-group > * {
    opacity: 0;
    transform: translateY(42px) scale(.985);
    filter: blur(4px);
    transition:
        opacity .8s cubic-bezier(.22,1,.36,1),
        transform .8s cubic-bezier(.22,1,.36,1),
        filter .8s ease;
    will-change: opacity, transform, filter;
}

.reveal-item.is-visible,
.reveal-section.is-visible,
.reveal-group > *.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

.reveal-delay-2 { transition-delay: .14s; }
.reveal-delay-3 { transition-delay: .28s; }
.reveal-delay-4 { transition-delay: .42s; }

/* Décalage automatique des cartes d'une grille */
.reveal-group > *:nth-child(2) { transition-delay: .08s; }
.reveal-group > *:nth-child(3) { transition-delay: .16s; }
.reveal-group > *:nth-child(4) { transition-delay: .24s; }
.reveal-group > *:nth-child(5) { transition-delay: .32s; }

/* Barre de progression globale liée au scroll */
body::before {
    content: "";
    position: fixed;
    z-index: 9999;
    inset: 0 auto auto 0;
    width: var(--scroll-progress, 0%);
    height: 3px;
    background: var(--green);
    box-shadow: 0 0 14px rgba(55,232,161,.55);
    pointer-events: none;
    transition: width .08s linear;
}

/* Respect de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    .reveal-item,
    .reveal-section,
    .reveal-group > * {
        opacity: 1;
        transform: none;
        filter: none;
        transition: none;
    }

    body::before { display: none; }
}

/* =========================================================
   INDEX.HTML — styles previously embedded inline
========================================================= */

/* =========================================================
           INDEX ENHANCEMENTS — Cardano API / hermine / learning / social
        ========================================================= */
        body {
            position: relative;
            isolation: isolate;
            overflow-x: hidden;
        }

        .site-background {
            position: fixed;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            background-image:
                linear-gradient(180deg, rgba(5,8,6,.78), rgba(5,8,6,.9)),
                url('hermine.jpeg');
            background-size: cover;
            background-position: center center;
            background-repeat: no-repeat;
            opacity: .32;
            filter: saturate(.78) contrast(1.05);
        }

        body > header,
        body > main,
        body > footer {
            position: relative;
            z-index: 1;
        }

        .api-status {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            margin-top: 18px;
            color: var(--muted);
            font-size: 11px;
        }

        .api-status::before {
            content: '';
            width: 7px;
            height: 7px;
            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 12px rgba(55,232,161,.6);
        }

        .api-status.error { color: #ff9b9b; }
        .api-status.error::before { background: #ff6b6b; box-shadow: none; }

        .live-data-note {
            margin-top: 12px;
            color: var(--muted);
            font-size: 10px;
        }

        .learning-section {
            width: min(var(--max-width), calc(100% - 40px));
            margin: 170px auto;
        }

        .learning-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .learning-card {
            padding: 28px;
            min-height: 250px;
            background: rgba(13,21,17,.88);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .learning-card .stat-icon { margin-bottom: 28px; }
        .learning-card h3 { font-size: 20px; letter-spacing: -.04em; }
        .learning-card p { margin-top: 12px; color: var(--muted); font-size: 13px; line-height: 1.75; }

        .follow-section {
            width: min(var(--max-width), calc(100% - 40px));
            margin: 150px auto;
        }

        .social-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

        .social-card {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 20px;
            padding: 24px 26px;
            background: rgba(13,21,17,.9);
            border: 1px solid var(--border);
            border-radius: var(--radius);
            transition: transform .2s, border-color .2s, background .2s;
        }

        .social-card:hover {
            transform: translateY(-4px);
            border-color: rgba(55,232,161,.35);
            background: rgba(17,28,23,.95);
        }

        .social-card strong { display: block; font-size: 16px; }
        .social-card span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; }
        .social-arrow { color: var(--green); font-size: 18px; }



        .drep-live-data {
            margin-top: 22px;
        }

        .drep-live-label {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            margin-bottom: 12px;
        }

        .drep-live-label span {
            color: var(--muted);
            font-size: 10px;
            text-transform: uppercase;
            letter-spacing: .08em;
        }

        .drep-live-status {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            color: var(--muted);
            font-size: 10px;
        }

        .drep-live-status::before {
            content: '';
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: var(--green);
            box-shadow: 0 0 10px rgba(55,232,161,.55);
        }

        .drep-live-status.error::before {
            background: #ff6b6b;
            box-shadow: none;
        }

        .drep-stats {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 10px;
        }

        .drep-stat {
            padding: 16px;
            border: 1px solid var(--border);
            border-radius: 12px;
            background: rgba(4,9,7,.65);
        }

        .drep-stat span {
            display: block;
            color: var(--muted);
            font-size: 10px;
            line-height: 1.4;
        }

        .drep-stat strong {
            display: block;
            margin-top: 6px;
            font-size: 17px;
            letter-spacing: -.03em;
        }

        .drep-stat-wide strong {
            overflow-wrap: anywhere;
            word-break: break-word;
        }

        .drep-data-note {
            margin-top: 10px !important;
            font-size: 10px !important;
        }

        .drep-site-link {
            display: inline-flex;
            align-items: center;
            gap: 7px;
            margin-top: 12px;
            color: var(--green);
            font-size: 12px;
            font-weight: 700;
            text-decoration: none;
        }

        .drep-site-link:hover {
            text-decoration: underline;
        }

        @media (max-width: 600px) {
            .drep-stats { grid-template-columns: 1fr; }
        }

        .governance-section {
            width: min(var(--max-width), calc(100% - 40px));
            margin: 150px auto;
        }

        .governance-grid {
            display: grid;
            grid-template-columns: 1.15fr .85fr;
            gap: 15px;
        }

        .governance-card {
            padding: 28px;
            background: rgba(13,21,17,.9);
            border: 1px solid var(--border);
            border-radius: var(--radius);
        }

        .governance-card h3 {
            font-size: 20px;
            letter-spacing: -.04em;
            margin: 0 0 10px;
        }

        .governance-card p {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
            line-height: 1.75;
        }

        .governance-roles {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
            margin-top: 18px;
        }

        .governance-role {
            padding: 20px;
            border: 1px solid var(--border);
            border-radius: var(--radius);
            background: rgba(9,16,13,.7);
        }

        .governance-role .stat-icon {
            margin-bottom: 18px;
        }

        .governance-role strong {
            display: block;
            font-size: 14px;
            margin-bottom: 7px;
        }

        .governance-role span {
            color: var(--muted);
            font-size: 11px;
            line-height: 1.6;
        }

        .governance-steps {
            margin: 18px 0 0;
            padding: 0;
            list-style: none;
            counter-reset: governance-step;
        }

        .governance-steps li {
            counter-increment: governance-step;
            display: flex;
            gap: 14px;
            align-items: flex-start;
            padding: 13px 0;
            border-top: 1px solid var(--border);
            color: var(--muted);
            font-size: 12px;
            line-height: 1.65;
        }

        .governance-steps li::before {
            content: counter(governance-step);
            flex: 0 0 26px;
            width: 26px;
            height: 26px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: rgba(55,232,161,.1);
            color: var(--green);
            font-weight: 800;
        }

        .drep-card {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            min-height: 100%;
        }

        .drep-id {
            display: block;
            margin: 18px 0;
            padding: 13px 14px;
            border: 1px solid var(--border);
            border-radius: 10px;
            background: rgba(4,9,7,.7);
            color: var(--green);
            font: 500 10px/1.6 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
            word-break: break-all;
        }

        .drep-note {
            margin-top: 10px !important;
            font-size: 11px !important;
        }

        .governance-actions {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 22px;
        }

        .copy-drep {
            appearance: none;
            border: 1px solid var(--border);
            border-radius: 999px;
            padding: 13px 18px;
            background: transparent;
            color: var(--text);
            font: inherit;
            font-size: 12px;
            cursor: pointer;
            transition: border-color .2s, background .2s;
        }

        .copy-drep:hover {
            border-color: rgba(55,232,161,.35);
            background: rgba(55,232,161,.06);
        }

        @media (max-width: 900px) {
            .governance-grid, .governance-roles { grid-template-columns: 1fr; }
        }

        @media (max-width: 600px) {
            .governance-section { width: calc(100% - 30px); }
        }

        @media (max-width: 900px) {
            .learning-grid, .social-grid { grid-template-columns: 1fr; }
            .site-background { background-position: 58% center; opacity: .24; }
        }

        @media (max-width: 600px) {
            .learning-section, .follow-section { width: calc(100% - 30px); }
            .site-background { opacity: .18; }
        }

.drep-title { margin-top: 10px; }

/* =========================================================
   DREP.BREIZHSTAKEPOOL.IO — Landing page
========================================================= */
:root { --green: #37e8a1; --text: #eef5f1; --muted: #9aa9a2; --border: rgba(255,255,255,.09); --panel: rgba(13,21,17,.88); --max-width: 1120px; }
html { scroll-behavior: smooth; }
body { min-height: 100vh; background: #050907; color: var(--text); }
.site-background { position: fixed; inset: 0; z-index: -2; background: radial-gradient(circle at 72% 18%, rgba(55,232,161,.11), transparent 32%), radial-gradient(circle at 12% 70%, rgba(55,232,161,.06), transparent 28%); }
.scroll-progress { position: fixed; top: 0; left: 0; z-index: 100; width: var(--scroll-progress,0%); height: 2px; background: var(--green); box-shadow: 0 0 16px rgba(55,232,161,.55); }
.site-header { width: min(var(--max-width), calc(100% - 40px)); margin: 0 auto; min-height: 78px; display:flex; align-items:center; justify-content:space-between; gap:25px; border-bottom:1px solid var(--border); }
.brand { display:flex; align-items:center; gap:12px; color:var(--text); text-decoration:none; }
.brand-mark { width:36px; height:36px; display:grid; place-items:center; border:1px solid rgba(55,232,161,.35); border-radius:11px; color:var(--green); background:rgba(55,232,161,.06); }
.brand strong,.brand small { display:block; } .brand strong { font-size:12px; letter-spacing:.12em; } .brand small { margin-top:2px; color:var(--muted); font-size:8px; letter-spacing:.13em; }
.site-header nav { display:flex; align-items:center; gap:22px; } .site-header nav a { color:var(--muted); text-decoration:none; font-size:11px; } .site-header nav a:hover { color:var(--text); } .site-header .nav-cta { color:var(--green); }
.hero { width:min(var(--max-width),calc(100% - 40px)); min-height:680px; margin:0 auto; display:grid; grid-template-columns:1.15fr .85fr; align-items:center; gap:80px; }
.hero-copy h1 { max-width:720px; margin:16px 0 20px; font-size:clamp(48px,7vw,82px); line-height:.96; letter-spacing:-.065em; } .hero-copy h1 em { color:var(--green); font-style:normal; } .hero-copy p { max-width:640px; color:var(--muted); font-size:15px; line-height:1.8; }
.eyebrow { color:var(--green); font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top:28px; } .primary-button,.secondary-button { display:inline-flex; align-items:center; gap:9px; padding:13px 18px; border-radius:999px; text-decoration:none; font-size:12px; font-weight:800; } .primary-button { background:var(--green); color:#06110c; } .secondary-button { border:1px solid var(--border); color:var(--text); background:rgba(255,255,255,.02); }
.hero-card,.card { background:var(--panel); border:1px solid var(--border); border-radius:22px; box-shadow:0 30px 80px rgba(0,0,0,.18); }
.hero-card { padding:30px; } .hero-card-top,.card-kicker { display:flex; justify-content:space-between; gap:15px; color:var(--muted); font-size:10px; letter-spacing:.08em; text-transform:uppercase; } .live-dot { display:flex; align-items:center; gap:7px; color:var(--green); } .live-dot i { width:6px; height:6px; border-radius:50%; background:var(--green); box-shadow:0 0 12px var(--green); }
.epoch-value { padding:65px 0 35px; border-bottom:1px solid var(--border); } .epoch-value span,.mini-grid span,.stat span,.vote-date span,.vote-id span { display:block; color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.08em; } .epoch-value strong { display:block; margin-top:8px; font-size:72px; letter-spacing:-.07em; }
.mini-grid { display:grid; grid-template-columns:1fr 1fr; gap:15px; padding-top:25px; } .mini-grid strong { display:block; margin-top:7px; font-size:13px; }
.section,.governance-section,.cta-section { width:min(var(--max-width),calc(100% - 40px)); margin:120px auto; } .section-heading { display:grid; grid-template-columns:1fr .7fr; gap:60px; align-items:end; margin-bottom:28px; } .section-heading h2,.cta-section h2 { margin:10px 0 0; font-size:clamp(30px,4vw,48px); line-height:1.05; letter-spacing:-.055em; } .section-heading p,.cta-section p { margin:0; color:var(--muted); font-size:13px; line-height:1.8; }
.drep-layout { display:grid; grid-template-columns:1.15fr .85fr; gap:15px; } .card { padding:30px; } .card-kicker { justify-content:flex-start; align-items:center; } .stat-icon { width:38px; height:38px; display:grid; place-items:center; border:1px solid rgba(55,232,161,.2); border-radius:12px; color:var(--green); background:rgba(55,232,161,.06); } .drep-main h3,.vote-card h3,.card h3 { margin:20px 0 9px; font-size:25px; letter-spacing:-.045em; } .muted { color:var(--muted); font-size:13px; line-height:1.75; }
.stats-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:10px; margin-top:25px; } .stat { padding:17px; border:1px solid var(--border); border-radius:13px; background:rgba(4,9,7,.55); } .stat strong { display:block; margin-top:8px; font-size:18px; }
.drep-id-wrap { margin-top:22px; padding-top:20px; border-top:1px solid var(--border); } .drep-id-wrap > span { display:block; margin-bottom:8px; color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.08em; } code { font:500 10px/1.6 ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace; color:var(--green); word-break:break-all; } .drep-id-wrap code,.vote-id code { display:block; padding:13px; border:1px solid var(--border); border-radius:10px; background:rgba(4,9,7,.7); } .drep-id-wrap button { margin-top:10px; padding:9px 14px; border:1px solid var(--border); border-radius:999px; background:transparent; color:var(--text); cursor:pointer; }
.vote-card { display:flex; flex-direction:column; } .vote-type { display:inline-block; margin-top:30px; color:var(--green); font-size:10px; text-transform:uppercase; letter-spacing:.08em; } .vote-card h3 { min-height:70px; } .vote-date { margin-top:auto; padding:20px 0; border-top:1px solid var(--border); border-bottom:1px solid var(--border); } .vote-date strong { display:block; margin-top:8px; font-size:22px; letter-spacing:-.03em; } .vote-date small { display:block; margin-top:5px; color:var(--muted); } .vote-id { padding-top:18px; } .text-link { margin-top:18px; color:var(--green); font-size:11px; text-decoration:none; }
.governance-grid { display:grid; grid-template-columns:1.15fr .85fr; gap:15px; } .roles { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:22px; } .roles > div { padding:18px; border:1px solid var(--border); border-radius:13px; } .roles strong,.roles span { display:block; } .roles strong { font-size:13px; } .roles span { margin-top:7px; color:var(--muted); font-size:10px; line-height:1.6; }
.steps { margin:20px 0 0; padding:0; list-style:none; counter-reset:step; } .steps li { counter-increment:step; display:flex; gap:12px; padding:13px 0; border-top:1px solid var(--border); color:var(--muted); font-size:12px; line-height:1.65; } .steps li::before { content:counter(step); flex:0 0 27px; width:27px; height:27px; display:grid; place-items:center; border-radius:50%; color:var(--green); background:rgba(55,232,161,.08); }
.cta-section { padding:38px; display:flex; justify-content:space-between; align-items:center; gap:30px; border:1px solid var(--border); border-radius:22px; background:linear-gradient(110deg,rgba(55,232,161,.07),rgba(13,21,17,.85)); } .cta-section h2 { font-size:34px; } .cta-section p { margin-top:10px; }
footer { width:min(var(--max-width),calc(100% - 40px)); margin:70px auto 25px; padding-top:20px; border-top:1px solid var(--border); display:flex; justify-content:space-between; gap:20px; color:var(--muted); font-size:10px; }
.reveal-section,.reveal-item,.reveal-group > * { opacity:0; transform:translateY(22px); transition:opacity .7s ease,transform .7s ease; } .is-visible { opacity:1; transform:none; }
@media(max-width:900px){ .site-header nav a:not(.nav-cta){display:none;} .hero,.drep-layout,.governance-grid{grid-template-columns:1fr;} .hero{padding:80px 0; min-height:auto; gap:40px;} .section-heading{grid-template-columns:1fr; gap:18px;} .roles{grid-template-columns:1fr;} .cta-section{flex-direction:column;align-items:flex-start;} }
@media(max-width:600px){ .site-header,.hero,.section,.governance-section,.cta-section,footer{width:calc(100% - 30px);} .stats-grid,.mini-grid{grid-template-columns:1fr;} .hero-copy h1{font-size:48px;} .hero-card{padding:22px;} .card{padding:22px;} footer{flex-direction:column;} }


/* =========================================================
   HISTORY PAGE — shared stylesheet additions
========================================================= */
.history-page .history-hero { min-height: 610px; margin-top: 50px; margin-bottom: 90px; }
.history-page .history-hero .hero-number { margin: 65px 0 35px; }
.history-page .history-hero .hero-number strong { font-size: 86px; line-height: 1; letter-spacing: -.07em; }
.history-page .history-hero .hero-number span { display:block; color:var(--muted); font-size:12px; margin-top:8px; }
.history-page .summary { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:20px; }
.history-page .summary div { background:var(--panel); border:1px solid var(--border); border-radius:18px; padding:20px; }
.history-page .summary strong { display:block; font-size:27px; }
.history-page .summary span { color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.1em; }
.history-page .vote-list { display:grid; gap:14px; }
.history-page .history-vote-card { padding:27px; background:var(--panel); border:1px solid var(--border); border-radius:22px; }
.history-page .vote-top { display:flex; justify-content:space-between; gap:20px; align-items:flex-start; }
.history-page .vote-type { color:var(--green); font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
.history-page .decision { padding:7px 11px; border-radius:999px; font-size:10px; font-weight:800; letter-spacing:.08em; border:1px solid var(--border); }
.history-page .decision.yes { color:var(--green); background:rgba(55,232,161,.08); }
.history-page .decision.no { color:#ff8d8d; background:rgba(255,100,100,.07); }
.history-page .decision.abstain { color:#ffc66d; background:rgba(255,190,80,.07); }
.history-page .history-vote-card h3 { font-size:25px; line-height:1.15; letter-spacing:-.04em; margin:16px 0 8px; max-width:850px; }
.history-page .vote-meta { display:flex; flex-wrap:wrap; gap:18px; color:var(--muted); font-size:11px; }
.history-page .vote-meta strong { color:var(--text); font-weight:600; }
.history-page .vote-id { margin-top:18px; display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.history-page .vote-id span { color:var(--muted); font-size:10px; text-transform:uppercase; letter-spacing:.1em; }
.history-page .vote-id code { font-size:10px; color:#b9c8c0; word-break:break-all; }
.history-page .rationale { margin-top:20px; padding:18px; border-left:2px solid var(--green); background:rgba(255,255,255,.025); border-radius:0 14px 14px 0; }
.history-page .rationale strong { display:block; color:var(--green); font-size:10px; letter-spacing:.15em; text-transform:uppercase; margin-bottom:7px; }
.history-page .rationale p { color:#c4cec9; font-size:14px; line-height:1.7; white-space:pre-line; }
.history-page .vote-actions { margin-top:18px; }
.history-page .loading-card { padding:40px; text-align:center; color:var(--muted); background:var(--panel); border:1px solid var(--border); border-radius:22px; }
.history-page .method-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.history-page .principles-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:14px; }
.history-page .principle-card { padding:28px; background:var(--panel); border:1px solid var(--border); border-radius:22px; }
.history-page .principle-card h3 { margin:0 0 10px; font-size:20px; letter-spacing:-.03em; }
.history-page .principle-card p { color:var(--muted); font-size:13px; line-height:1.75; white-space:pre-line; }
.history-page .principle-card .principle-label { display:block; margin-bottom:10px; color:var(--green); font-size:10px; font-weight:800; letter-spacing:.15em; text-transform:uppercase; }
.history-page .metadata-source { margin-top:14px; color:var(--muted); font-size:11px; line-height:1.6; }
.history-page .metadata-source a { color:var(--green); }
.history-page .reference-list { display:grid; gap:9px; margin-top:12px; }
.history-page .reference-list a { color:var(--green); font-size:12px; overflow-wrap:anywhere; }
.history-page .principles-empty { color:var(--muted); padding:20px 0; }
@media(max-width:900px){
  .history-page .summary,.history-page .principles-grid { grid-template-columns:1fr 1fr; }
  .history-page .method-grid { grid-template-columns:1fr; }
}
@media(max-width:600px){
  .history-page .summary,.history-page .principles-grid { grid-template-columns:1fr 1fr; }
  .history-page .history-vote-card { padding:22px; }
  .history-page .vote-top { flex-direction:column; }
  .history-page .history-hero .hero-number strong { font-size:65px; }
}

/* Dynamic governance action pages */
.history-page .vote-actions { display:flex; flex-wrap:wrap; gap:16px; align-items:center; }
.history-page .vote-actions .text-link { margin-right:4px; }
.history-page .rationale small { display:block; margin-top:18px; color:var(--muted); }


/* =========================================================
   HISTORY PAGE — final overrides
   The unified stylesheet also contains landing-page rules;
   these selectors intentionally scope history styling to body.history-page.
========================================================= */
body.history-page {
  background: #050907;
  color: var(--text);
}
body.history-page .site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  background: rgba(5,9,7,.82);
  backdrop-filter: blur(14px);
}
body.history-page .site-header nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
body.history-page .site-header nav a {
  color: var(--muted);
  font-size: 11px;
  text-decoration: none;
}
body.history-page .site-header nav a:hover,
body.history-page .site-header nav a.nav-cta { color: var(--green); }
body.history-page .hero.history-hero {
  width: min(var(--max-width), calc(100% - 40px));
  min-height: 0;
  margin: 70px auto 120px;
  padding: 0;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 15px;
  align-items: stretch;
  background: transparent;
  border: 0;
}
body.history-page .history-hero .hero-card {
  min-height: 360px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 28px;
}
body.history-page .history-hero .hero-number { margin: 65px 0 35px; }
body.history-page .history-hero .hero-number strong { font-size: 86px; }
body.history-page .governance-section { width: min(var(--max-width), calc(100% - 40px)); }
body.history-page .method-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
body.history-page .method-grid .method-card {
  padding: 28px;
  min-height: 190px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
}
body.history-page .method-grid .method-card .icon {
  width:38px; height:38px; display:grid; place-items:center;
  margin-bottom:22px; border:1px solid rgba(55,232,161,.2);
  border-radius:12px; color:var(--green); background:rgba(55,232,161,.06);
}
body.history-page .method-grid .method-card h3 {
  margin:0 0 10px; font-size:20px; line-height:1.2; letter-spacing:-.03em;
}
body.history-page .method-grid .method-card p {
  margin:0; color:var(--muted); font-size:13px; line-height:1.75;
}

body.history-page .note {
  margin-top: 14px;
  padding: 22px 26px;
  background: rgba(255,255,255,.025);
  border: 1px solid var(--border);
  border-radius: 18px;
}
body.history-page .note strong { color: var(--green); font-size: 11px; letter-spacing:.12em; text-transform:uppercase; }
body.history-page .note p { margin-top:8px; color:var(--muted); font-size:13px; line-height:1.7; }
body.history-page footer { width:min(var(--max-width),calc(100% - 40px)); }
@media(max-width:900px){
  body.history-page .hero.history-hero { grid-template-columns:1fr; }
  body.history-page .method-grid { grid-template-columns:1fr; }
}
@media(max-width:600px){
  body.history-page .site-header { width:calc(100% - 30px); }
  body.history-page .site-header nav a:not(.nav-cta) { display:none; }
  body.history-page .hero.history-hero,
  body.history-page .section,
  body.history-page .governance-section,
  body.history-page footer { width:calc(100% - 30px); }
  body.history-page .history-hero .hero-number strong { font-size:65px; }
  body.history-page .summary,
  body.history-page .principles-grid { grid-template-columns:1fr; }
}
