:root {
    --page: #f4f7fa;
    --surface: #ffffff;
    --surface-alt: #eaf1f7;
    --blue: #32648b;
    --blue-strong: #244a68;
    --teal: #2a6f72;
    --gold: #c99716;
    --gold-light: #f1c84b;
    --gold-pale: #fff4bd;
    --text: #33485b;
    --muted: #667b8f;
    --line: #d6e2eb;
    --shadow: rgba(49, 78, 101, 0.14);
    --radius: 22px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--page);
    color: var(--text);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
}

a {
    color: inherit;
}

p {
    font-size: 16px;
}

img {
    display: block;
    max-width: 100%;
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
}

.nav {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    font-size: 1.28rem;
    font-weight: 850;
    letter-spacing: -0.03em;
    color: var(--blue-strong);
}

.brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 28%, var(--gold-light), var(--gold) 62%, #9e7610 100%);
    border: 3px double #f8df7f;
    box-shadow: 0 4px 14px rgba(201, 151, 22, 0.23);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    font-size: 0.95rem;
    font-weight: 720;
}

.nav-links a {
    text-decoration: none;
    color: var(--blue-strong);
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--teal);
}

.menu-button {
    display: none;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--surface);
    color: var(--blue-strong);
    font: inherit;
    font-weight: 760;
    padding: 10px 13px;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 78px;
    background:
        radial-gradient(circle at 82% 18%, rgba(241, 200, 75, 0.30), transparent 28%),
        linear-gradient(145deg, #edf5fb 0%, #ffffff 56%, #eef8f7 100%);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.02fr 0.98fr;
    align-items: center;
    gap: 54px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--teal);
    font-size: 0.86rem;
    font-weight: 850;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--blue-strong);
    line-height: 1.15;
    letter-spacing: -0.035em;
}

h1 {
    margin: 0;
    font-size: 40px;
    max-width: 820px;
}

h2 {
    margin: 0 0 18px;
    font-size: 28px;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.3rem;
}

.lead {
    max-width: 710px;
    margin: 24px 0 0;
    color: #4b6479;
    font-size: 16px;
}

.hero-actions,
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--blue);
    color: #ffffff;
    text-decoration: none;
    font-weight: 830;
    box-shadow: 0 10px 24px rgba(50, 100, 139, 0.18);
}

.button:hover,
.button:focus-visible {
    background: var(--teal);
}

.button.secondary {
    background: var(--surface);
    color: var(--blue-strong);
    border: 1px solid var(--line);
    box-shadow: none;
}

.market-chart {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 16px 34px var(--shadow);
}

.market-chart img {
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: contain;
}


.section {
    padding: 82px 0;
}

.section.compact {
    padding: 58px 0;
}

.section.alt {
    background: var(--surface);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 36px;
    margin-bottom: 34px;
}

.section-head p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
}

.coin-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.coin-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 14px 34px var(--shadow);
}

.coin-art {
    min-height: 230px;
    padding: 14px;
    display: grid;
    place-items: center;
    background: #ffffff;
}

.coin-art img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
}

.coin-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 24px;
}

.coin-body p {
    margin: 0;
    color: var(--muted);
}

.coin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 20px;
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--surface-alt);
    color: var(--blue-strong);
    font-size: 0.79rem;
    font-weight: 800;
}

.coin-body .button {
    margin-top: auto;
}

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

.info-card {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.info-card p {
    margin: 0;
    color: var(--muted);
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: center;
}

.panel {
    padding: 34px;
    border-radius: 28px;
    border: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 0 16px 34px var(--shadow);
}

.panel p:last-child {
    margin-bottom: 0;
}

.gold-panel {
    position: relative;
    min-height: 380px;
    display: grid;
    place-items: center;
    overflow: hidden;
    background: linear-gradient(150deg, #fff4bd, #ffffff 58%, #eaf1f7);
}

.gold-panel::before,
.gold-panel::after {
    content: "";
    position: absolute;
    width: 250px;
    height: 150px;
    border-radius: 26px;
    background: linear-gradient(145deg, var(--gold-light), var(--gold));
    border: 8px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 20px 38px rgba(143, 107, 16, 0.20);
}

.gold-panel::before {
    transform: rotate(-11deg) translate(-34px, 22px);
}

.gold-panel::after {
    transform: rotate(9deg) translate(36px, -34px);
}

.bar-label {
    position: relative;
    z-index: 2;
    width: 190px;
    height: 112px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: linear-gradient(145deg, #f9dc67, #c99716);
    border: 4px solid #fff1a7;
    color: #38516a;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-align: center;
    box-shadow: 0 18px 34px rgba(110, 88, 31, 0.17);
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

th,
td {
    padding: 17px 18px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    background: var(--surface-alt);
    color: var(--blue-strong);
    font-size: 0.9rem;
}

tr:last-child td {
    border-bottom: 0;
}

.faq {
    display: grid;
    gap: 12px;
}

details {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px 18px;
}

summary {
    cursor: pointer;
    color: var(--blue-strong);
    font-weight: 820;
}

details p {
    margin: 12px 0 0;
    color: var(--muted);
}

.cta {
    padding: 34px;
    border-radius: 28px;
    background: linear-gradient(135deg, #dfeef7, #eef8f7);
    border: 1px solid var(--line);
}

.cta h2 {
    font-size: 28px;
}

.site-footer {
    padding: 38px 0 46px;
    background: #e6eff5;
    border-top: 1px solid var(--line);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: start;
}

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

.footer-links a {
    color: var(--blue-strong);
    font-weight: 720;
    text-decoration: none;
}

.footer-note {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 0.91rem;
}

.breadcrumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--blue);
    text-decoration: none;
}

.article {
    max-width: 820px;
}

.article p {
    margin: 0 0 20px;
}

.article h2 {
    margin-top: 46px;
}

.article h3 {
    margin-top: 30px;
}

.stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.stat {
    padding: 20px;
    border-radius: 18px;
    background: var(--surface);
    border: 1px solid var(--line);
}

.stat strong {
    display: block;
    color: var(--blue-strong);
    font-size: 1.25rem;
}

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

    .coin-grid,
    .info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }


    .section-head {
        align-items: start;
        flex-direction: column;
        gap: 12px;
    }
}

@media (max-width: 720px) {
    .wrap {
        width: min(calc(100% - 28px), var(--max));
    }

    .menu-button {
        display: inline-flex;
    }

    .nav-links {
        position: absolute;
        left: 14px;
        right: 14px;
        top: 70px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 18px 38px var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 62px 0;
    }

    .coin-grid,
    .info-grid,
    .stat-row,
    .footer-grid {
        grid-template-columns: 1fr;
    }

}


.market-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.market-stat {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.market-stat span {
    display: block;
    color: var(--muted);
    font-size: 0.84rem;
    font-weight: 760;
}

.market-stat strong {
    display: block;
    margin-top: 6px;
    color: var(--blue-strong);
    font-size: 1.42rem;
}

.market-source {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
}

.market-source a {
    color: var(--blue);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.spec {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
}

.spec span {
    display: block;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 760;
}

.spec strong {
    display: block;
    margin-top: 5px;
    color: var(--blue-strong);
    font-size: 1.08rem;
}

.weight-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.weight-link {
    display: block;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--surface);
    color: var(--blue-strong);
    text-decoration: none;
    box-shadow: 0 10px 26px var(--shadow);
}

.weight-link strong {
    display: block;
    font-size: 1.2rem;
}

.weight-link span {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    font-size: 0.9rem;
}

.weight-link:hover,
.weight-link:focus-visible {
    border-color: var(--blue);
}

.product-figure {
    display: grid;
    place-items: center;
    min-height: 360px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: 0 16px 34px var(--shadow);
}

.product-figure img {
    width: 100%;
    max-height: 430px;
    object-fit: contain;
}

@media (max-width: 900px) {
    .spec-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .weight-links,
    .market-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 720px) {
    .spec-grid,
    .weight-links,
    .market-stats {
        grid-template-columns: 1fr;
    }
}

.coin-detail-link {
    display: block;
    margin-top: 12px;
    text-align: center;
    color: var(--blue-strong);
    font-weight: 800;
    text-decoration: none;
}

.coin-detail-link:hover,
.coin-detail-link:focus-visible,
.value-link:hover,
.value-link:focus-visible {
    text-decoration: underline;
}

.value-link {
    color: var(--blue-strong);
    font-weight: 800;
    text-decoration: none;
}


/* High direct offers */
.hero-side {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.offer-rail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.quick-offer {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 0 12px 28px var(--shadow);
}

.quick-offer-art {
    display: grid;
    place-items: center;
    min-height: 150px;
    padding: 10px;
    background: #ffffff;
}

.quick-offer-art img {
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 1;
    object-fit: contain;
}

.quick-offer-button {
    width: calc(100% - 20px);
    min-height: 44px;
    margin: 0 10px 10px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 0.86rem;
    text-align: center;
}

.product-offer {
    align-content: center;
    gap: 14px;
}

.product-offer-art {
    display: grid;
    width: 100%;
    place-items: center;
}

.product-offer-button {
    width: 100%;
}

@media (max-width: 520px) {
    .offer-rail {
        grid-template-columns: 1fr;
    }
}
