/* Shared design tokens and typography */
:root {
    --color-teal: #005050;
    --color-teal-deep: #004040;
    --color-cyan: #66ffff;
    --color-cyan-soft: #a0ffff;
    --color-label: #78c9c3;
    --color-supply: #66ff66;
    --color-link: #006060;
    --color-link-hover: #004040;
    --color-text: #263838;
    --color-muted: #4c6060;
    --color-page: #f4f7f9;
    --color-surface: #ffffff;
    --color-border: #c8dddd;
    --color-focus: #006060;
    --font-body: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-code: ui-monospace, 'Courier New', monospace;
    --font-nav: 0.95rem;
    --radius: 8px;
    --content-width: 1200px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body, h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd {
    margin: 0;
    padding: 0;
}

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    background: var(--color-page);
    color: var(--color-text);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 650;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

button, input, select, textarea {
    font: inherit;
}

img {
    max-width: 100%;
}

a {
    color: var(--color-link);
    text-underline-offset: 0.2em;
    text-decoration-thickness: 0.08em;
}

a:hover {
    color: var(--color-link-hover);
}

:focus-visible {
    outline: 3px solid var(--color-focus);
    outline-offset: 3px;
}

main p + p {
    margin-top: 1rem;
}

main > section:not(.hero) > .container > p {
    max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
}

main ol, main ul {
    padding-left: 1.4rem;
}

main li + li {
    margin-top: 0.4rem;
}

::selection {
    background: var(--color-teal);
    color: var(--color-surface);
}

.container {
    width: 90%;
    max-width: var(--content-width);
    margin: 0 auto;
    padding: 20px 0;
}

/* Shared navigation: generated by scripts/update-navigation.py */
.site-header {
    background-color: var(--color-teal);
    color: var(--color-surface);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    width: calc(100% - 40px);
    max-width: 1440px;
    padding: 14px 0;
}

.site-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--color-surface);
    font-size: 1.65rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.site-header .ticker {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-cyan-soft);
}

.site-header .header-logo-img {
    display: block;
    width: 240px;
    height: auto;
    margin-left: 32px;
}

.site-header #main-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-header .header-supply-block {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-left: 20px;
}

.site-header .header-supply-label {
    color: var(--color-label);
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.3;
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    text-decoration: none;
}

.site-header .header-supply-label:hover {
    text-decoration: underline;
}

.site-header .header-money-supply {
    color: var(--color-supply);
    font-size: var(--font-nav);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.site-header .header-money-supply[hidden] {
    display: none;
}

.site-header .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(10px, 1.4vw, 20px);
    list-style: none;
}

.site-header .nav-links a {
    display: flex;
    padding: 6px 0;
    min-height: 44px;
    align-items: center;
    color: var(--color-surface);
    font-size: var(--font-nav);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 2px solid transparent;
}

.site-header .nav-links a:hover,
.site-header .nav-links .active-link {
    color: var(--color-cyan-soft);
    border-bottom-color: var(--color-cyan);
}

.site-header .menu-toggle {
    display: none;
    min-width: 44px;
    min-height: 44px;
    color: var(--color-surface);
    background: transparent;
    border: 1px solid var(--color-cyan-soft);
    border-radius: 5px;
    padding: 8px 12px;
    font-size: 1rem;
    cursor: pointer;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
footer a:focus-visible {
    outline: 3px solid var(--color-cyan);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 8px;
    left: 16px;
    z-index: 2000;
    transform: translateY(-200%);
    padding: 10px 16px;
    background: var(--color-surface);
    color: var(--color-teal);
    font-weight: 700;
}

.skip-link:focus {
    transform: translateY(0);
}

[id] {
    scroll-margin-top: 100px;
}

.section-source {
    margin-top: 20px;
}

.resource-list {
    list-style-position: outside;
    line-height: 2;
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.section-intro.spaced-intro {
    margin-top: 40px;
    margin-bottom: 0;
}

.guide-reminders {
    text-align: center;
    margin-top: 40px;
}

.guide-reminders h3 {
    color: var(--color-teal);
    font-size: 1.1rem;
    margin-bottom: 12px;
}

main .reminder-list {
    list-style: none;
    padding: 0;
}

.text-center {
    text-align: center;
}

.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;
}

.currency-experiment {
    background: var(--color-surface);
    padding: 40px 20px;
    font-family: "Brush Script MT", "Lucida Handwriting", cursive;
    font-size: clamp(2rem, 6vw, 3rem);
    text-align: center;
}

.currency-experiment .highlight {
    color: var(--color-link);
    font-family: inherit;
}

@media (max-width: 1360px) {
    .site-header:not(.navigation-enhanced) {
        position: static;
    }
    .site-header .container {
        flex-wrap: wrap;
    }
    .site-header #main-nav {
        display: block;
        flex-basis: 100%;
        width: 100%;
    }
    .site-header .header-supply-block {
        margin-left: 0;
        padding: 12px 20px;
    }
    .site-header .nav-links {
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .site-header .nav-links a {
        padding: 12px 20px;
    }
    .site-header.navigation-enhanced .menu-toggle:not([hidden]) {
        display: inline-flex;
        gap: 8px;
        align-items: center;
        margin-left: auto;
    }
    .site-header.navigation-enhanced #main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-teal-deep);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        max-height: calc(100vh - 130px);
        max-height: calc(100dvh - 130px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }
    .site-header.navigation-enhanced #main-nav.active {
        display: block;
    }
}

@media (max-width: 600px) {
    .site-header .container {
        gap: 12px;
    }
    .site-header .logo {
        font-size: 1.4rem;
        flex: 1;
        min-width: 0;
        flex-wrap: wrap;
    }
    .site-header .ticker {
        font-size: 0.75rem;
    }
    .site-header .header-logo-img {
        width: 180px;
        margin-left: 0;
    }
    .site-header .menu-toggle {
        padding: 8px 10px;
    }
}

/* Hero Section */
.hero {
    background: linear-gradient(125deg, var(--color-teal-deep), var(--color-teal));
    color: var(--color-surface);
    padding: 80px 20px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(1.8rem, 3.8vw, 2.8rem);
    margin-bottom: 20px;
    font-weight: 700;
}
.hero h1 span {
    color: var(--color-cyan);
}

.hero p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Specific styling for the hero section on get-btmk.html and other subpages */
#get-btmk-hero {
    padding-top: 40px;
    padding-bottom: 40px;
}

.cta-button {
    display: inline-block;
    background-color: var(--color-cyan);
    color: var(--color-teal);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    margin: 5px 10px;
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: #50e0e0;
    transform: translateY(-2px);
}
.cta-button.secondary {
    background-color: transparent;
    border: 2px solid var(--color-link);
    color: var(--color-link);
}
.cta-button.secondary:hover {
    background-color: var(--color-teal);
    color: var(--color-surface);
}

.hero .cta-button.secondary {
    border-color: var(--color-cyan);
    color: var(--color-cyan);
}

.hero .cta-button.secondary:hover {
    background-color: var(--color-cyan);
    color: var(--color-teal-deep);
}


/* Sections Styling */
section {
    padding: 60px 20px;
}

.alternate-bg {
    background-color: var(--color-surface);
}


section h2 {
    text-align: center;
    font-size: 2.2em;
    color: var(--color-teal);
    margin-bottom: 40px;
    position: relative;
}

section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--color-cyan);
    margin: 10px auto 0;
    border-radius: 2px;
}


.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
    gap: 30px;
}

.grid-item {
    background-color: var(--color-surface);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.grid-item h3 {
    color: var(--color-link);
    margin-bottom: 15px;
    font-size: 1.4em;
}
.grid-item p, .grid-item ul {
    font-size: 1em;
    color: var(--color-muted);
    flex-grow: 1;
}
.grid-item ul {
    list-style-position: inside;
    padding-left: 0;
    margin-top: 10px;
}
.grid-item li {
    margin-bottom: 8px;
}
.grid-item a {
    color: var(--color-link);
    font-weight: bold;
    text-decoration: underline;
}
.grid-item a:hover {
    text-decoration: underline;
    color: var(--color-link-hover);
}

.grid-item a.cta-button {
    color: var(--color-teal);
    text-decoration: none;
}

.grid-item a.cta-button:hover {
    color: var(--color-teal-deep);
}

/* Overview homepage */
.overview-page #get-btmk-hero {
    padding: clamp(45px, 7vw, 90px) 20px;
    text-align: left;
    background: linear-gradient(125deg, var(--color-teal-deep), #005858);
}

.overview-hero-layout,
.overview-marking-layout,
.overview-resource-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(30px, 5vw, 64px);
    align-items: center;
}

.overview-page .overview-eyebrow {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin: 0 0 16px;
    color: var(--color-link);
}

.overview-hero .overview-eyebrow {
    color: var(--color-cyan-soft);
}

.overview-hero h1 {
    font-size: clamp(2.3rem, 5vw, 3.7rem);
    line-height: 1.15;
}

.overview-hero .overview-lead {
    max-width: 600px;
    margin: 0 0 28px;
    font-size: clamp(1.05rem, 1.7vw, 1.25rem);
    color: #e2f2f2;
}

.overview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.overview-actions .cta-button {
    margin: 0;
    font-size: 0.95rem;
    padding: 11px 18px;
}

.overview-route-link {
    color: #d3eeee;
    font-size: 0.9rem;
    text-underline-offset: 4px;
}

.overview-brief {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid rgba(160, 255, 255, 0.3);
    border-radius: 12px;
    background: rgba(0, 32, 32, 0.3);
}

.overview-brief h2 {
    font-size: 1.1rem;
    color: var(--color-surface);
    text-align: left;
    margin-bottom: 22px;
}

.overview-brief h2::after {
    display: none;
}

.overview-brief dl {
    margin: 0 0 24px;
}

.overview-brief dl > div + div {
    margin-top: 18px;
}

.overview-brief dt {
    color: #d3eeee;
    font-size: 0.8rem;
}

.overview-brief dd {
    margin: 4px 0 0;
    font-size: 1rem;
    font-weight: 600;
}

.overview-brief a {
    color: var(--color-cyan-soft);
    font-size: 0.9rem;
    text-underline-offset: 4px;
}

.overview-marking-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
    align-items: start;
}

.overview-marking h2,
.overview-resources h2 {
    text-align: left;
    font-size: clamp(1.6rem, 2.8vw, 2.2rem);
    line-height: 1.3;
    margin-bottom: 20px;
}

.overview-marking h2::after,
.overview-resources h2::after {
    margin-left: 0;
}

.overview-copy > p {
    margin-bottom: 18px;
}

.overview-text-link {
    color: var(--color-link);
    font-weight: 600;
    text-underline-offset: 4px;
}

.overview-copy .overview-source {
    font-size: 0.85rem;
    color: var(--color-muted);
    margin-top: 22px;
    margin-bottom: 0;
}

.overview-source a {
    color: var(--color-link);
}

.overview-section-heading {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 36px;
}

.overview-section-heading h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    line-height: 1.3;
    margin-bottom: 16px;
}

.overview-section-heading > p:last-child {
    color: var(--color-muted);
}

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

.overview-route-card {
    padding: 24px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-link);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    background: #f8fbfb;
}

.overview-route-card .overview-card-kicker {
    font-size: 0.75rem;
    color: var(--color-muted);
    margin-bottom: 8px;
}

.overview-route-card h3 {
    font-size: 1.4rem;
    color: var(--color-teal);
    margin-bottom: 14px;
}

.overview-route-card > p:not(.overview-card-kicker) {
    font-size: 0.95rem;
    color: #444;
    margin-bottom: 24px;
}

.overview-card-links {
    margin-top: auto;
    display: grid;
    gap: 12px;
}

.overview-card-links a {
    color: var(--color-link);
    font-size: 0.9rem;
    font-weight: 600;
    text-underline-offset: 4px;
}

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

.overview-foundation-grid article {
    border-top: 1px solid #b9d4d4;
    padding-top: 24px;
}

.overview-foundation-grid h3 {
    color: var(--color-teal);
    font-size: 1.2rem;
    margin-bottom: 16px;
}

.overview-foundation-grid p {
    margin-bottom: 18px;
    color: #444;
}

.overview-resource-layout {
    align-items: start;
}

.overview-resource-links {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}

.overview-resource-links li + li {
    margin-top: 14px;
}

.overview-resource-links a,
.overview-help a {
    color: var(--color-link);
    text-underline-offset: 4px;
}

.overview-community {
    padding: 26px;
    background: #eaf4f4;
    border-radius: 8px;
}

.overview-community h3 {
    color: var(--color-teal);
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.overview-community p {
    margin-bottom: 20px;
}

.overview-community .overview-help {
    margin-top: 24px;
    margin-bottom: 0;
    font-size: 0.9rem;
}

.overview-page main a:focus-visible {
    outline: 2px solid var(--color-link);
    outline-offset: 4px;
}

.overview-page .overview-hero a:focus-visible {
    outline-color: var(--color-surface);
}

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

@media (max-width: 768px) {
    .overview-hero-layout,
    .overview-marking-layout,
    .overview-resource-layout,
    .overview-foundation-grid {
        grid-template-columns: 1fr;
    }
    .overview-actions .cta-button {
        width: auto;
        max-width: none;
    }
}

@media (max-width: 560px) {
    .overview-route-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact CERM supply display */
.supply-section {
    padding-top: 30px;
    padding-bottom: 30px;
}

.supply-section h2 {
    margin-bottom: 25px;
}

.supply-details {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin: 0;
    padding: 20px 0;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.supply-details dt {
    color: var(--color-muted);
    font-size: 0.9rem;
}

.supply-details dd {
    margin: 6px 0 0;
    color: var(--color-teal);
    font-size: 1.1rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
}

.supply-context,
.supply-explanation {
    color: var(--color-muted);
    font-size: 0.9rem;
    margin-top: 16px;
}

@media (max-width: 768px) {
    .supply-details {
        grid-template-columns: 1fr;
        gap: 16px;
    }
}

/* Styles for Exchange Section on get-btmk.html */
.exchange-item { }

.exchange-logo {
    max-width: 120px;
    width: 120px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.dexomy-item-layout {
    display: flex;
    align-items: center;
    gap: 20px;
}

.dexomy-item-layout .exchange-logo {
    margin: 0;
    flex-shrink: 0;
    max-width: 70px;
    max-height: 70px;
    object-fit: contain;
}

.dexomy-item-layout .exchange-content {
    flex-grow: 1;
}

.exchange-item .cta-button {
    margin-top: 15px;
}


/* Guide & Content Styling (New Section) */
pre {
    background-color: #e0f2f1; /* Light teal background */
    border: 1px solid #b2dfdb; /* Slightly darker border */
    border-left: 5px solid #008080; /* Teal accent left border */
    color: var(--color-text);
    padding: 15px;
    border-radius: 5px;
    white-space: pre-wrap; /* Allows wrapping of long lines */
    word-wrap: break-word; /* Breaks long words */
    margin: 20px 0;
}
code {
    font-family: var(--font-code);
    font-size: 0.95em;
}

.table-container {
    overflow-x: auto; /* Adds horizontal scroll for table on small screens */
    margin: 20px 0;
    border: 1px solid #b2dfdb;
    border-radius: 8px;
}
table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
th, td {
    padding: 12px 15px;
    border-bottom: 1px solid #b2dfdb;
}
thead th {
    background-color: var(--color-link); /* Darker teal for table header */
    color: var(--color-surface);
    font-weight: bold;
}
tbody tr:nth-child(even) {
    background-color: #e0f2f1; /* Zebra striping for rows */
}
tbody tr:hover {
    background-color: #b2dfdb; /* Hover effect for rows */
}
td .special-note {
    font-style: italic;
    font-size: 0.9em;
    color: var(--color-link);
}

.dns-dashboard-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}
.dns-refresh {
    background: var(--color-teal);
    color: var(--color-surface);
    border: 1px solid var(--color-teal);
    border-radius: 5px;
    padding: 10px 16px;
    min-height: 44px;
    cursor: pointer;
}
.dns-refresh:disabled { opacity: 0.65; cursor: wait; }
.dns-updated, .dns-cell-detail { color: var(--color-muted); font-size: 0.875rem; }
.dns-cell-detail { display: block; font-weight: 400; margin-top: 4px; }
.dns-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin: 20px 0; }
.dns-summary[hidden] { display: none; }
.dns-summary-card { background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 20px; }
.dns-summary-card dt { color: var(--color-muted); }
.dns-summary-card dd { color: var(--color-teal); font-size: 1.65rem; font-weight: 650; }
.dns-state { color: var(--color-teal); font-weight: 650; }
.dns-state-warning { color: #814000; }
.dns-dashboard-stale .dns-summary-card { border-color: #814000; }
.dns-filter-details summary { cursor: pointer; min-height: 44px; padding: 10px 0; color: var(--color-teal); font-weight: 650; }

.note {
    background-color: #fff3e0; /* Light orange for notes */
    border-left: 5px solid #ff9800; /* Orange accent */
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}
.note p {
    margin: 0;
}


/* Shared footer */
.site-footer {
    background: var(--color-teal-deep);
    color: #e2f2f2;
    padding: 38px 20px 20px;
}

.site-footer .container {
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.footer-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: var(--color-surface);
    font-size: 1.4rem;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-logo span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--color-cyan-soft);
}

.footer-brand p {
    max-width: 30ch;
    font-size: 0.9rem;
    color: #d3eeee;
}

.footer-nav h2 {
    font-size: 1rem;
    color: var(--color-surface);
    margin-bottom: 14px;
}

.footer-nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 16px;
    list-style: none;
}

.site-footer a:not(.footer-logo) {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 4px 0;
    color: var(--color-cyan-soft);
    font-size: 0.9rem;
    text-decoration: none;
}

.site-footer a:hover {
    color: var(--color-surface);
    text-decoration: underline;
}

.footer-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(160, 255, 255, 0.25);
    font-size: 0.85rem;
    color: #d3eeee;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px;
    }
    .footer-brand {
        grid-column: 1 / -1;
    }
    .site-footer a:not(.footer-logo) {
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-nav ul {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 6px 16px;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.0em;
    }
    .hero p {
        font-size: 1em;
    }

    .cta-button {
        font-size: 1em;
        padding: 10px 20px;
        display: block;
        width: 80%;
        max-width: 300px;
        margin: 10px auto;
    }
    .grid {
        grid-template-columns: 1fr;
    }
    section h2 {
        font-size: 1.8em;
    }

    /* Responsive layout for Dexomy item */
    .dexomy-item-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .dexomy-item-layout .exchange-logo {
        margin-bottom: 15px;
        max-width: 80px;
    }
}

/* Reduced motion retains navigation and all readable content. */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    .cta-button:hover,
    .grid-item:hover {
        transform: none;
    }
}
