:root {
    color-scheme: light dark;
    --paper: #f8f8f3;
    --surface: #fff;
    --ink: #182725;
    --muted: #4e605b;
    --line: #d9e1d9;
    --teal: #07594b;
    --teal-deep: #06473c;
    --negative: #9b2948;
    --market-negative-bg: #fbe8ed;
    --mint: #e7f4eb;
    --peach: #fff0e2;
    --lilac: #f0eafa;
    --night: #142f2b;
    --action: #07594b;
    --action-hover: #06473c;
    --action-text: #fff;
    --hero-glow: #e9f3e8;
    --guide-surface: #edf4ed;
    --intro-end: #f4f8ec;
    --radius: 24px;
    --max: 1180px;
    --display: "Space Grotesk", "Manrope", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
    :root {
        --paper: #15231f;
        --surface: #1d302a;
        --ink: #f2f8f3;
        --muted: #bed2c7;
        --line: #3a554b;
        --teal: #a0dfc4;
        --negative: #ffafc3;
        --market-negative-bg: #422a37;
        --mint: #234036;
        --peach: #3c2c23;
        --lilac: #342a44;
        --action: #a0dfc4;
        --action-hover: #bef0d9;
        --action-text: #112c24;
        --hero-glow: #213c32;
        --guide-surface: #192d26;
        --intro-end: #25362b;
    }
}

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

html { -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}

a { color: var(--teal); text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid #bd612b; outline-offset: 4px; }

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

h1, h2, h3 {
    margin: 0;
    font-family: var(--display);
    line-height: 1.08;
    letter-spacing: -.045em;
}

h2 { font-size: clamp(2.05rem, 4vw, 3.4rem); }
h3 { font-size: clamp(1.45rem, 2.8vw, 2.15rem); }
p { margin: 0; }
[id] { scroll-margin-block-start: 24px; }

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

.section { padding-block: clamp(52px, 7vw, 94px); }

.skip-link {
    position: absolute;
    z-index: 5;
    top: 12px;
    left: 12px;
    padding: 8px 14px;
    transform: translateY(-150%);
    background: var(--surface);
    font-weight: 800;
}

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

.site-header { border-bottom: 1px solid var(--line); }

.site-header .wrap,
.site-footer .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 28px;
}

.site-header .wrap { padding-block: 18px; }

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: inherit;
    font: 700 1.4rem/1 var(--display);
    letter-spacing: -.06em;
    text-decoration: none;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 9px;
    color: var(--action-text);
    background: var(--action);
}

.brand-mark::before {
    content: "";
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-inline-end-width: 5px;
    border-radius: 2px 7px 7px 2px;
}

.brand-accent { color: var(--teal); }

.site-nav,
.site-footer nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px clamp(16px, 2.5vw, 34px);
    font-size: .875rem;
    font-weight: 800;
}

.site-nav a {
    padding-block: 5px;
    color: var(--muted);
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
    color: var(--teal);
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.hero {
    padding-block: clamp(52px, 7vw, 100px);
    border-bottom: 1px solid var(--line);
    background: radial-gradient(ellipse at 85% 40%, var(--hero-glow) 0%, transparent 60%);
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
    align-items: center;
    gap: clamp(38px, 7vw, 94px);
}

.eyebrow {
    color: var(--teal);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.hero h1 {
    margin: 14px 0 20px;
    font-size: clamp(3rem, 6.3vw, 6rem);
    line-height: .99;
    letter-spacing: -.068em;
}

.hero h1 em { color: var(--teal); font-style: normal; }

.lead {
    max-width: 56ch;
    color: var(--muted);
    font-size: clamp(1rem, 1.7vw, 1.2rem);
}

.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.hero .actions { margin-top: 26px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 46px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: .875rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
}

.button-primary { color: var(--action-text); background: var(--action); }
.button-primary:hover { background: var(--action-hover); }
.button-secondary { border-color: var(--line); background: var(--paper); }
.button-secondary:hover { background: var(--mint); }
.text-link { font-weight: 800; }

.hero-visual { min-width: 0; margin: 0; }

.preview {
    position: relative;
    isolation: isolate;
    min-height: 353px;
    overflow: hidden;
    padding: 12px clamp(16px, 3vw, 38px) 26px;
    border: 1px solid #2e5047;
    border-radius: var(--radius);
    color: #f4fbf7;
    background: radial-gradient(ellipse at 0 100%, #295c4a, transparent 70%), var(--night);
    box-shadow: 0 22px 50px -27px #123e33a6;
}

.preview::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 48px 0 0;
    background-image: radial-gradient(#c9ebd44a 1px, transparent 1px);
    background-size: 15px 15px;
    mask-image: linear-gradient(145deg, #000, transparent 77%);
}

.preview-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 4px 0 12px;
    border-bottom: 1px solid #c9ebd445;
    color: #d4e9dd;
    font-size: .75rem;
}

.window-lights {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b7d8c5;
    box-shadow: 11px 0 #b7d8c5, 22px 0 #b7d8c5;
}

.preview-card {
    width: min(85%, 305px);
    padding: 13px 16px;
    border: 1px solid #ffffff85;
    border-radius: 16px;
    color: #182725;
    background: #f0f8ef;
    box-shadow: 0 13px 25px -12px #081e1ab0;
    font-size: .78rem;
}

.preview-remember { margin-top: 20px; }
.preview-crypto { margin: -5px 0 0 auto; background: #fff2e5; }
.preview-app { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.preview-app img { flex: none; border-radius: 8px; }

.preview-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid #c9dece;
}

.preview-line strong { flex: none; color: var(--teal-deep); }

.preview-market {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
}

.preview-market strong {
    display: block;
    font: 700 clamp(.95rem, 2.5vw, 1.5rem)/1.2 var(--display);
}

.market-bars { display: flex; align-items: end; gap: 3px; height: 30px; }
.market-bars i { width: 4px; height: 32%; border-radius: 3px; background: var(--teal-deep); }
.market-bars i:nth-child(2) { height: 47%; }
.market-bars i:nth-child(3) { height: 40%; }
.market-bars i:nth-child(4) { height: 62%; }
.market-bars i:nth-child(5) { height: 49%; }
.market-bars i:nth-child(6) { height: 74%; }
.market-bars i:nth-child(7) { height: 68%; }
.market-bars i:nth-child(8) { height: 96%; }

.hero-visual figcaption {
    margin-top: 10px;
    color: var(--muted);
    font-size: .75rem;
    text-align: right;
}

.section-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 24px;
    margin-bottom: 26px;
}

.section-heading p { color: var(--muted); }

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

.app-card,
.guide-card {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 14px;
    padding: clamp(18px, 3.5vw, 37px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.app-remember { background: var(--mint); }
.app-crypto { background: var(--peach); }
.app-piggy { background: var(--lilac); }

@media (min-width: 1050px) {
    .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 571px) and (max-width: 1049px) {
    .app-piggy, .product-grid .guide-card:last-child { grid-column: 1 / -1; }
}

.app-card-top {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.app-card-top img { flex: none; border-radius: 15px; }

.app-category {
    padding: 4px 10px;
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--ink);
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
}

.app-card > p, .guide-card > p:not(.eyebrow) { color: var(--muted); }
.card-actions { margin-top: auto; padding-top: 5px; }
.guide-card > .text-link { margin-top: auto; }

.client-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.client-card img { border-radius: 11px; }
.client-card h3 { font-size: 1.25rem; }
.client-card p { color: var(--muted); font-size: .9rem; }

.guides-section {
    border-block: 1px solid var(--line);
    background: var(--guide-surface);
}

.guide-card { background: var(--surface); }
.guide-card h3 { font-size: clamp(1.45rem, 2.7vw, 2rem); }
.guide-card h3 a { color: var(--ink); text-decoration: none; }
.guide-card h3 a:hover { color: var(--teal); text-decoration: underline; }
.guide-card h3 span { color: var(--teal); white-space: nowrap; }

.ad-home { max-width: 790px; }

.ad-placement:has(.adsbygoogle[data-ad-status="filled"]) {
    margin-block: 32px;
    padding-block: 12px;
    border-block: 1px solid var(--line);
}

.ad-label {
    display: none;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .75rem;
}

.ad-placement:has(.adsbygoogle[data-ad-status="filled"]) .ad-label { display: block; }

ins.adsbygoogle[data-ad-status="unfilled"] { display: none !important; }

.help-layout {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    gap: clamp(24px, 6vw, 85px);
}

.help-layout > div > p { margin: 10px 0 15px; color: var(--muted); }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
    padding: 15px 10px 15px 0;
    cursor: pointer;
    font-weight: 800;
}
.faq summary::marker { color: var(--teal); }
.faq details p { padding: 0 10px 15px 18px; color: var(--muted); }

.page-layout { padding-block: clamp(32px, 6vw, 76px); }

.prose { max-width: 790px; margin-inline: auto; }

.page-intro {
    margin-bottom: 34px;
    padding: clamp(20px, 5vw, 48px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: linear-gradient(125deg, var(--mint), var(--intro-end));
}

.page-intro h1 { font-size: clamp(2.35rem, 5.8vw, 4.75rem); }
.page-intro .eyebrow { margin-bottom: 10px; }
.page-intro h1 + p { margin: 15px 0 0; }
.prose h2 { margin: 36px 0 13px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.prose p + p, .prose li + li { margin-top: 10px; }
.prose ul, .prose ol { padding-inline-start: 1.5rem; }
.updated { color: var(--muted); font-size: .875rem; }

.panel {
    margin-block: 23px;
    padding: clamp(16px, 4vw, 27px);
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.prose .panel h2 { margin-top: 0; }
.prose .panel:last-child { margin-bottom: 0; }

.tool-panel { border-color: var(--line); background: var(--mint); }
.tool-panel > p { color: var(--muted); }
.tool-panel button { font-family: inherit; cursor: pointer; }

.market-home { margin-block: 0 clamp(52px, 7vw, 94px); }
.market-internal { margin-block: clamp(30px, 5vw, 54px) 0; }
.market-panel {
    background: linear-gradient(150deg, var(--mint), var(--surface) 42%);
    padding: clamp(14px, 3.3vw, 30px);
}
.market-panel h2 { margin: 0 0 12px; font-size: clamp(1.55rem, 3vw, 2.15rem); }
.market-panel p, .market-meta time { color: var(--muted); }

.market-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin-top: 16px;
    font-size: .875rem;
}

.market-feed {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 10px;
}

.market-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 9px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: var(--surface);
    font-size: .72rem;
    font-weight: 800;
    white-space: nowrap;
}

.market-live::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.market-live[data-state="live"] { color: var(--teal); background: var(--mint); }
.market-live[data-state="stale"], .market-live[data-state="offline"] {
    color: var(--negative);
    background: var(--market-negative-bg);
}

.market-panel .market-status { margin-block: 8px 12px; font-size: .875rem; }
.market-panel .market-status:empty { margin: 0; }

.market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
}

.market-grid[hidden] { display: none; }

.market-group {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.market-gainers { --market-tone: var(--teal); --market-tint: var(--mint); }
.market-losers { --market-tone: var(--negative); --market-tint: var(--market-negative-bg); }

.market-group h3 {
    padding: 13px 14px;
    border-bottom: 1px solid var(--line);
    border-radius: 15px 15px 0 0;
    color: var(--market-tone);
    background: linear-gradient(100deg, var(--market-tint), var(--surface) 92%);
    font-size: 1.07rem;
}

.market-group h3 span { margin-inline-end: 4px; }
.market-group > p { padding: 13px 14px; font-size: .875rem; }
.market-group ol {
    margin: 0;
    padding: 0 12px;
    list-style: none;
    counter-reset: market-rank;
}

.market-group li {
    display: grid;
    grid-template-columns: 15px minmax(0, 1fr);
    align-items: center;
    counter-increment: market-rank;
}

.market-group li::before {
    content: counter(market-rank);
    color: var(--muted);
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
}

.market-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) minmax(0, auto);
    align-items: center;
    gap: 8px;
    min-height: 61px;
    padding: 9px 0 9px 3px;
    font-size: .875rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.market-group li + li { margin-top: 0; border-top: 1px solid var(--line); }
.market-icon {
    display: grid;
    place-items: center;
    width: clamp(28px, 5vw, 36px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    color: var(--market-tone);
    background: var(--market-tint);
    font-size: .7rem;
    font-weight: 800;
}

.market-icon img { width: 100%; height: 100%; object-fit: contain; }
.market-icon img[hidden] { display: none; }
.market-pair { display: block; }
.market-pair, .market-symbol { color: var(--muted); font-size: .76rem; }
.market-quote { display: grid; justify-items: end; gap: 2px; text-align: right; font-variant-numeric: tabular-nums; }
.market-price { border-radius: 4px; }
.market-percent {
    padding: 2px 6px;
    border-radius: 999px;
    color: var(--market-tone);
    background: var(--market-tint);
    font-size: .72rem;
    font-weight: 800;
}

.tool-form {
    display: grid;
    justify-items: start;
    gap: 13px;
    margin-top: 16px;
}

.tool-form[hidden], .tool-form [hidden] { display: none; }

.tool-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    width: 100%;
}

.tool-form label {
    display: grid;
    gap: 4px;
    width: 100%;
    min-width: 0;
    font-size: .875rem;
    font-weight: 800;
}

.tool-form input, .tool-form textarea {
    width: 100%;
    min-width: 0;
    padding: 9px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-size: 1rem;
    font-weight: 500;
}

.tool-form input { min-height: 44px; }
.tool-form textarea { resize: vertical; }

.tool-form fieldset {
    display: grid;
    gap: 10px;
    min-inline-size: 0;
    margin: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.tool-form legend { padding-inline: 4px; font-weight: 800; }
.tool-note { color: var(--muted); font-size: .875rem; }

.quote-simulator { background: linear-gradient(145deg, var(--mint), var(--surface) 68%); }

.quote-simulator .quote-modes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    padding: 6px 0 0;
    border: 0;
}

.quote-modes legend { padding: 0; font-size: .875rem; }

.quote-modes label {
    display: flex;
    align-items: center;
    gap: 7px;
    width: auto;
    min-height: 42px;
    padding: 6px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
}

.quote-modes label:has(:checked) { border-color: var(--teal); color: var(--teal); }
.quote-modes input[type="radio"] { width: auto; min-height: 0; margin: 0; accent-color: var(--teal); }

.quote-simulator select {
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: var(--surface);
    font: inherit;
    font-size: 1rem;
}

.quote-source {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: .875rem;
}

.quote-source button:disabled { opacity: .65; cursor: wait; }

.quote-summary {
    width: 100%;
    padding: 12px 14px;
    border-inline-start: 4px solid var(--teal);
    border-radius: 8px;
    color: var(--teal);
    background: var(--mint);
    font-weight: 800;
}

.quote-venues .quote-venue { padding: 12px; background: var(--surface); }
.quote-venue[data-lower-cost] { border-color: var(--teal); }
.quote-ask { color: var(--muted); font-size: .875rem; }
.quote-ask strong { display: block; color: var(--ink); font-variant-numeric: tabular-nums; }
.quote-breakdown { margin: auto 0 0; font-size: .875rem; }

.quote-breakdown div {
    display: flex;
    justify-content: space-between;
    gap: 4px 10px;
    flex-wrap: wrap;
    padding-block: 4px;
    border-top: 1px solid var(--line);
}

.quote-breakdown dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.quote-breakdown .quote-total { padding-top: 8px; color: var(--teal); font-weight: 800; }
.quote-total dd { font-size: 1.05rem; }

.tool-result {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--surface);
    overflow-wrap: anywhere;
}

.tool-result strong { display: block; font-size: 1.25rem; }
.tool-result label { margin-block: 8px; }
.tool-result.tool-grid p + p { margin: 0; }
.tool-status { color: var(--teal); font-weight: 700; }

.piggy-player .actions { margin-top: 14px; }
.piggy-player { background: var(--lilac); }

#piggy-stage iframe {
    display: block;
    width: min(100%, 470px);
    height: clamp(340px, 75vh, 740px);
    height: clamp(340px, 75svh, 740px);
    margin: 16px auto 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--night);
}

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

.piggy-gallery figure { margin: 0; }
.piggy-gallery img { width: 100%; border: 1px solid var(--line); border-radius: 12px; }
.piggy-gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .875rem; }

.guide-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-toc a {
    padding: 5px 12px;
    border: 1px solid var(--line);
    border-radius: 30px;
    background: var(--surface);
    font-size: .85rem;
    font-weight: 800;
    text-decoration: none;
}
.guide-toc a:hover { background: var(--mint); }

.table-scroll {
    overflow-x: auto;
    margin-block: 18px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--surface);
}

.table-scroll table {
    width: 100%;
    min-width: 30rem;
    border-collapse: collapse;
    text-align: left;
    font-size: .9rem;
}

.table-scroll caption {
    padding: 12px 15px;
    text-align: left;
    font-weight: 800;
}

.table-scroll th, .table-scroll td { padding: 12px 15px; vertical-align: top; }
.table-scroll thead { background: var(--mint); }
.table-scroll tbody tr + tr { border-top: 1px solid var(--line); }

.site-footer {
    padding-block: 33px;
    border-top: 1px solid var(--line);
    color: #f0f9f4;
    background: var(--night);
}

.footer-identity { display: grid; justify-items: start; gap: 10px; }
.footer-identity p { color: #c1d7cb; font-size: .82rem; }
.site-footer .brand-accent { color: #b8e3c9; }
.site-footer .brand-mark { color: var(--night); background: #c2e9d3; }
.site-footer nav a { color: inherit; }

@media (max-width: 760px) {
    .wrap { width: calc(100% - 40px); }
    .hero-layout, .help-layout { grid-template-columns: minmax(0, 1fr); }
    .hero h1 { max-width: 13ch; }
    .hero-visual { width: min(100%, 530px); }
}

@media (max-width: 570px) {
    .wrap { width: calc(100% - 32px); }
    .site-header .wrap { padding-block: 12px; gap: 8px 16px; }
    .site-nav { gap: 3px 14px; font-size: .81rem; }
    .app-grid { grid-template-columns: minmax(0, 1fr); }
    .preview { min-height: auto; padding-bottom: 18px; }
    .preview-card { width: min(91%, 305px); }
    .client-card { grid-template-columns: auto minmax(0, 1fr); }
    .client-card > a { grid-column: 2; }
    .tool-grid, .piggy-gallery, .market-grid { grid-template-columns: minmax(0, 1fr); }
    .piggy-gallery figure { max-width: 300px; margin-inline: auto; }
}

@media (forced-colors: active) {
    .button { border-color: ButtonText; }
}
