/* ------------------------------------------------------------------
   Bitcoin theme layer — sits on top of the original layout system.
   ------------------------------------------------------------------ */

:root {
    --orange: #f7931a;
    --orange-soft: #ffb35c;
    --paper: #0b0b0b;
    --ink: #f0eeeb;
    --line: #302d29;
    --portrait-orange: #f76b06;
}

.section-shell {
    position: relative;
}

/* Header ---------------------------------------------------------- */
.brand-character {
    background: #120c07;
}

.wordmark-sub {
    width: 54px;
    line-height: 1.35;
}

.navigation {
    margin-left: auto;
    margin-right: 34px;
}

.navigation a:hover,
.footer-top > div a:hover {
    color: var(--orange);
}

/* Hero ------------------------------------------------------------ */
.hero-image {
    filter: none !important;
}

.hero .eyebrow {
    color: #c4b8aa;
}

.hero h1 {
    text-wrap: balance;
}

.hero-description {
    max-width: 430px;
}

/* Contract strip --------------------------------------------------- */
.contract-strip code {
    font-size: 10px;
    letter-spacing: .15px;
    overflow-wrap: anywhere;
}

.contract-strip button {
    color: var(--orange);
    transition: opacity .18s;
}

.contract-strip button:hover {
    opacity: .75;
}

/* Story ------------------------------------------------------------ */
.character-manifesto figcaption {
    text-transform: none;
}

.character-manifesto img {
    aspect-ratio: 1983 / 793;
}

.mechanism-note {
    max-width: 760px;
}

/* Supply / converter ---------------------------------------------- */
.rewards-section .section-kicker span:first-child {
    color: var(--orange);
}

.rewards-section .section-kicker span:last-child {
    color: #8f8275;
}

.reward-output .micro span {
    color: var(--orange);
    letter-spacing: .2px;
}

.balance-value > .figure {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
}

.balance-amounts {
    border-bottom: 1px solid #3b2e23;
    padding-bottom: 20px;
}

.balance-bottom {
    border-top: 0;
    padding-top: 16px;
}

.unit-toggle button {
    cursor: pointer;
}

.unit-toggle button[aria-pressed="true"] {
    background: var(--orange);
    color: #17100a;
    box-shadow: none;
}

.reward-output[hidden] {
    display: none;
}

.receipt-table tbody tr {
    transition: background .15s;
}

.receipt-table tbody tr:hover {
    background: #17120e;
}

.receipt-table td a {
    color: var(--orange);
    border-bottom: 1px solid transparent;
    transition: border-color .15s;
}

.receipt-table td a:hover {
    border-color: var(--orange);
}

.receipt-table td a svg {
    color: #c78a4c;
}

.receipt-table td:nth-child(2) {
    color: #bfae9b;
}

.history-header .text-button {
    color: #d9ab7b;
    letter-spacing: .4px;
    white-space: nowrap;
    align-items: center;
    gap: 6px;
}

.history-header .text-button:hover {
    color: var(--orange);
}

/* Community ------------------------------------------------------- */
.community-section {
    --portrait-orange: #f76b06;
}

.community-copy > .eyebrow {
    gap: 9px;
    align-items: center;
    display: flex;
}

.community-art img {
    aspect-ratio: 4 / 3;
}

/* FAQ ------------------------------------------------------------- */
.faq-list .icon-minus {
    display: none;
}

.faq-list button[aria-expanded="true"] .icon-minus {
    display: block;
}

.faq-list button[aria-expanded="true"] .icon-plus {
    display: none;
}

.faq-list h3 button:hover {
    color: var(--orange);
}

.faq-list h3 button:hover svg {
    transform: rotate(90deg);
    transition: transform .2s;
}

/* Utilities ------------------------------------------------------- */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive tweaks ------------------------------------------------ */
@media (max-width: 1100px) {
    .navigation {
        margin-right: 18px;
    }
}

@media (max-width: 760px) {
    .navigation {
        margin: 0;
    }

    .contract-strip code {
        font-size: 9px;
        letter-spacing: 0;
    }

    .balance-amounts {
        padding-bottom: 16px;
    }

    .history-header {
        align-items: end;
    }

    .history-header .text-button {
        font-size: 9px;
    }
}

/* Contrast on the bright orange community band --------------------- */
.community-copy > .eyebrow {
    color: #3a1b05;
}

.community-copy > p:not(.eyebrow) {
    color: #2a1204;
}

@media (max-width: 760px) {
    .community-copy > p:not(.eyebrow) {
        color: #2a1204;
    }
}
