:root {
    color-scheme: dark;
    --bg: #0c0f14;
    --bg-2: #121821;
    --panel: rgba(255, 255, 255, 0.075);
    --panel-strong: rgba(255, 255, 255, 0.12);
    --border: rgba(255, 255, 255, 0.14);
    --text: #f7f8fb;
    --muted: #a8b0bd;
    --soft: #d5d9e2;
    --orange: #f7931a;
    --orange-2: #ffb14a;
    --green: #55d68b;
    --red: #ff6b6b;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(247, 147, 26, 0.22), transparent 32rem),
        linear-gradient(135deg, #0c0f14 0%, #111720 44%, #17110c 100%);
    color: #fff;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.5;
}

button,
input,
select {
    font: inherit;
}

a {
    color: inherit;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.hero {
    padding: 24px 0 34px;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 46px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 760;
    letter-spacing: 0;
}

.brand-name {
    color: var(--orange);
    font-weight: 900;
}

.brand-mark {
    display: block;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 24px rgba(247, 147, 26, 0.32);
}

.top-actions {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.icon-button {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--text);
    cursor: pointer;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.icon-button:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 147, 26, 0.52);
    background: var(--panel-strong);
}

.share-icon {
    display: block;
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    padding: 12px 0;
}

.eyebrow,
.card-label,
.summary-label {
    display: block;
    margin: 0 0 8px;
    color: var(--orange-2);
    font-size: 0.78rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    max-width: 780px;
    margin-bottom: 18px;
    font-size: clamp(2.2rem, 7vw, 5rem);
    line-height: 0.98;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 0;
    font-size: clamp(1.35rem, 3vw, 2rem);
    letter-spacing: 0;
}

.lede {
    max-width: 710px;
    color: var(--soft);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.glass-card {
    max-width: 100%;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.055));
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.quick-result {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 260px;
    padding: 28px;
    overflow: hidden;
    position: relative;
}

.quick-result::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: url("img/fotuna-circle-512.png") center / cover no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.quick-result strong {
    margin-bottom: 12px;
    font-size: clamp(1.75rem, 4vw, 3rem);
    line-height: 1;
}

#heroOdds {
    font-weight: 800;
}

.share-odds-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    width: fit-content;
    min-height: 46px;
    margin-top: 20px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.08)),
        linear-gradient(135deg, rgba(247, 147, 26, 0.46), rgba(85, 214, 139, 0.18));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.55),
        0 16px 34px rgba(0, 0, 0, 0.26),
        0 0 22px rgba(247, 147, 26, 0.18);
    color: #fff;
    font-weight: 840;
    letter-spacing: 0;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    overflow: hidden;
    backdrop-filter: blur(18px);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.share-odds-button[hidden] {
    display: none;
}

.share-odds-button::before {
    content: "";
    position: absolute;
    inset: 1px 1px auto;
    height: 50%;
    border-radius: calc(var(--radius) - 2px);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.share-odds-icon {
    position: relative;
    z-index: 1;
    display: block;
    flex: 0 0 auto;
    width: 26px;
    height: 26px;
    fill: currentColor;
    filter: drop-shadow(1px 1px 0 #000);
}

.share-odds-button span {
    position: relative;
    z-index: 1;
    text-shadow: 1px 1px 0 #000;
}

.share-odds-button:hover,
.share-odds-button:focus {
    transform: translateY(-2px);
    border-color: rgba(255, 177, 74, 0.8);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.68),
        0 18px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(247, 147, 26, 0.28);
}

.quick-result strong.is-empty {
    font-size: clamp(1.25rem, 2.6vw, 2rem);
    line-height: 1.12;
}


.odds-comparison {
    position: relative;
    z-index: 1;
    display: block;
    max-width: 34rem;
    margin-top: 10px;
    color: var(--soft);
    font-size: 0.92rem;
    line-height: 1.35;
}

.stats-grid,
.insights-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 18px;
}

.stat-card,
.insight-card {
    padding: 20px;
    transition: transform 220ms ease, border-color 220ms ease;
}

.stat-card:hover,
.insight-card:hover,
.calculator-panel:hover,
.results-panel:hover {
    transform: translateY(-2px);
    border-color: rgba(247, 147, 26, 0.38);
}

.stat-card span {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.9rem;
}

.stat-card strong,
.insight-card strong,
.summary-stack strong {
    display: block;
    color: var(--text);
    font-size: clamp(1.08rem, 2vw, 1.4rem);
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.stat-card small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    font-size: 0.78rem;
    line-height: 1.25;
}

.calculator-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    gap: 18px;
    margin-bottom: 18px;
}

.calculator-panel,
.results-panel,
.explanation,
.faq-section {
    min-width: 0;
    width: 100%;
    padding: 24px;
    transition: transform 220ms ease, border-color 220ms ease;
}

.section-heading {
    margin-bottom: 22px;
}

.section-heading.compact {
    margin-bottom: 16px;
}

.hash-form {
    display: grid;
    gap: 12px;
}

.hash-form label {
    color: var(--soft);
    font-weight: 650;
}

.input-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, 0.24fr);
    align-items: center;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.22);
}

.input-row input,
select {
    width: 100%;
    min-height: 52px;
    border: 0;
    outline: 0;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text);
}

.input-row input {
    padding: 0 16px;
    font-size: 1.2rem;
    font-weight: 760;
}

.input-row select {
    min-width: 110px;
    border-width: 0 0 0 1px;
    border-color: var(--border);
    border-radius: 0;
    padding: 0 16px;
    color: var(--orange-2);
    font-weight: 760;
}

select {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0 14px;
}

.preset-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    align-items: stretch;
    min-width: 0;
}

.reset-button {
    min-height: 52px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.2);
    color: var(--soft);
    font-weight: 760;
    cursor: pointer;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.reset-button:hover,
.reset-button:focus {
    border-color: var(--orange);
    background: rgba(247, 147, 26, 0.12);
    color: var(--text);
}

.input-row:focus-within,
select:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(247, 147, 26, 0.16);
}

.summary-stack {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.summary-stack div {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.18);
}

.summary-stack small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.74rem;
    line-height: 1.25;
}

.table-wrap {
    max-width: 100%;
    overflow-x: visible;
}

table {
    width: 100%;
    min-width: 0;
    border-collapse: collapse;
    table-layout: fixed;
}

th,
td {
    padding: 16px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    vertical-align: top;
    overflow-wrap: anywhere;
    word-break: normal;
}

th {
    color: var(--muted);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

td {
    color: var(--soft);
}

td strong {
    display: block;
    color: var(--text);
    font-size: 1.04rem;
}

td small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    overflow-wrap: anywhere;
}

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

.insight-card p {
    margin: 8px 0 0;
    color: var(--muted);
}

.insight-card a {
    color: var(--orange-2);
    text-decoration: none;
}

.insight-card a:hover,
.insight-card a:focus {
    text-decoration: underline;
}

.meter {
    height: 10px;
    margin-top: 16px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.meter span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--orange), var(--green));
    transition: width 420ms ease;
}

.explanation {
    margin-bottom: 22px;
}

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

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

.promo-box {
    position: relative;
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.18);
    color: var(--soft);
}

.buy-bitcoin-box {
    background:
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
        url("data:image/svg+xml,%3Csvg class='btc-bold' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%23f7931a' d='M72 320C72 183 183 72 320 72C457 72 568 183 568 320C568 457 457 568 320 568C183 568 72 457 72 320zM426.3 284.7C431.2 251.7 406.1 234 371.7 222.1L382.8 177.4L355.6 170.6L344.7 214.1C337.5 212.3 330.2 210.6 322.9 209L333.8 165.2L306.6 158.4L295.4 203.1C289.5 201.8 283.7 200.4 278 199L278 198.9L240.5 189.5L233.3 218.6C233.3 218.6 253.5 223.2 253.1 223.5C264.1 226.3 266.1 233.5 265.8 239.3L253.1 290.2C253.9 290.4 254.8 290.7 255.9 291.1C255 290.9 254 290.6 253 290.4L235.2 361.7C233.9 365 230.4 370.1 222.7 368.2C223 368.6 202.9 363.3 202.9 363.3L189.4 394.4L224.8 403.2C231.4 404.9 237.8 406.6 244.2 408.2L232.9 453.4L260.1 460.2L271.3 415.5C278.5 417.5 285.7 419.3 293 421.1L281.9 465.6L309.1 472.4L320.4 427.3C366.8 436.1 401.7 432.5 416.4 390.6C428.2 356.8 415.8 337.3 391.4 324.6C409.2 320.5 422.6 308.8 426.1 284.7zM364.1 371.9C355.7 405.7 298.8 387.4 280.3 382.8L295.2 322.9C313.6 327.5 372.8 336.6 364 371.9zM372.5 284.2C364.8 314.9 317.5 299.3 302.1 295.5L315.6 241.2C331 245 380.4 252.2 372.4 284.2z'/%3E%3C/svg%3E") right bottom / 100px 100px no-repeat,
        rgba(0, 0, 0, 0.18);
}

.hardware-box {
    background:
        linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18)),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%23ffffff' fill-opacity='0.8' d='M353.7 226.7C305 228.5 184.2 242.2 184.2 344.2C184.2 453.7 322.5 458.2 367.7 387.4C374.2 397.6 403.1 424.9 413 434.2L469.8 378.2C469.8 378.2 437.5 352.9 437.5 325.4L437.5 178.3C437.5 153 413 96 325.2 96C237.2 96 190.5 151 190.5 200.3L264 207.1C280.3 157.6 318.2 157.6 318.2 157.6C358.9 157.5 353.7 187.4 353.7 226.7zM353.7 313.5C353.7 393.5 269.5 381.5 269.5 330.7C269.5 283.5 320 274 353.7 272.9L353.7 313.5zM489.7 477C482 487 419.7 544 315.2 544C210.7 544 130.7 472.5 106.2 443C99.4 435.3 107.2 431.7 111.7 434.7C185 479.2 299.5 552.5 484.2 465C491.7 461.3 497.5 467 489.7 477zM529.5 479.2C523 495 513.5 506 508.3 510.2C502.8 514.7 498.8 512.9 501.8 506.4C504.8 499.9 521.1 459.9 514.5 451.4C508 443.1 477.5 447.1 466.5 448.2C455.7 449.2 453.5 450.2 452.5 447.9C450.2 442.2 474.2 432.4 490 430.4C505.7 428.6 531 429.6 536 436.1C539.7 441.2 536 463.2 529.5 479.2z'/%3E%3C/svg%3E") right bottom / 100px 100px no-repeat,
        rgba(0, 0, 0, 0.18);
}

.trusted-vendors-box {
    overflow: hidden;
}

.trusted-vendors-box::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100px;
    height: 100px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 640 640'%3E%3Cpath fill='%23ffffff' d='M560 288C560 308.4 557.1 328.2 551.6 346.8C496.8 234.5 405.6 143.2 293.2 88.4C311.8 82.9 331.5 80 352 80C466.9 80 560 173.1 560 288zM577.1 410L577.5 409.3C597 373.2 608 331.9 608 288C608 226 585.9 169.1 549.2 124.7L569 105C578.4 95.6 578.4 80.4 569 71.1C559.6 61.8 544.4 61.7 535 71L515.3 90.8C470.9 54.1 414 32 352 32C308.1 32 266.8 43 230.7 62.5L230 62.9C227.3 64.4 224.7 65.9 222.1 67.4C215.9 71 209.9 74.9 204.1 79.1C193.7 86.4 197.3 102 209.3 106C215.5 108.1 221.7 110.2 227.8 112.5C230.3 113.4 232.9 114.4 235.4 115.4L235.8 115.6C294.1 138.6 347.2 172 392.8 213.5L71 535C61.6 544.4 61.6 559.6 71 568.9C80.4 578.2 95.6 578.3 104.9 568.9L426.6 247.3C468.1 292.9 501.5 345.9 524.5 404.3L524.7 404.7C525.7 407.2 526.7 409.7 527.6 412.3C529.9 418.4 532.1 424.6 534.1 430.8C538.1 442.9 553.6 446.4 561 436C565.1 430.2 569 424.2 572.7 418C574.2 415.4 575.7 412.7 577.2 410.1z'/%3E%3C/svg%3E") center / 100px 100px no-repeat;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.44));
    opacity: 0.62;
    pointer-events: none;
}

.trusted-vendors-box > * {
    position: relative;
    z-index: 1;
}

.promo-box p {
    margin-bottom: 8px;
}

.promo-box a {
    font-weight: 760;
}

.btc-bold {
    color: #f7931a;
    font-weight: 700;
}

.promo-box ul {
    margin: 0;
    padding-left: 20px;
}

.faq-section {
    margin-bottom: 18px;
}

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

.faq-grid h3 {
    margin: 0 0 8px;
    font-size: 1.02rem;
    line-height: 1.25;
}

.faq-grid p {
    margin-bottom: 0;
    color: var(--soft);
}

code {
    color: var(--orange-2);
}

.legal-content h2 {
    margin-top: 28px;
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.legal-content p {
    color: var(--soft);
}

.footer {
    padding: 24px 0 36px;
    color: var(--muted);
    text-align: center;
}

.network-data-line {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
}

.footer a {
    color: var(--orange-2);
    text-decoration: none;
}

.footer a:hover,
.footer a:focus {
    text-decoration: underline;
}

.footer-link {
    font-size: 0.86rem;
}

.guide-hero {
    padding-bottom: 28px;
}

.guide-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--panel);
    color: var(--soft);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 760;
}

.guide-nav a:hover,
.guide-nav a:focus {
    border-color: rgba(247, 147, 26, 0.52);
    color: var(--text);
    text-decoration: none;
}

.guide-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
    gap: 28px;
    align-items: stretch;
}

.guide-cta {
    min-height: 0;
}

.guide-cta p {
    position: relative;
    z-index: 1;
    color: var(--soft);
}

.cta-button {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    min-height: 46px;
    margin-top: 8px;
    padding: 0 18px;
    border: 1px solid rgba(247, 147, 26, 0.58);
    border-radius: var(--radius);
    background: rgba(247, 147, 26, 0.16);
    color: var(--text);
    text-decoration: none;
    font-weight: 840;
}

.cta-button:hover,
.cta-button:focus {
    background: rgba(247, 147, 26, 0.24);
    text-decoration: none;
}

.guide-intro p {
    max-width: 920px;
    color: var(--soft);
    font-size: 1.05rem;
}

.guide-intro p:last-child,
.disclaimer-card p {
    margin-bottom: 0;
}

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

.guide-mini-card,
.related-card {
    min-width: 0;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.18);
}

.guide-mini-card h3,
.related-card strong {
    display: block;
    margin: 0 0 8px;
    color: var(--text);
    font-size: 1.04rem;
    line-height: 1.25;
}

.guide-mini-card p,
.related-card span,
.accordion-list p,
.disclaimer-card p {
    color: var(--soft);
}

.guide-mini-card p {
    margin-bottom: 0;
}

.guide-table table {
    min-width: 720px;
}

.guide-table {
    overflow-x: auto;
}

.accordion-list {
    display: grid;
    gap: 10px;
}

.accordion-list details {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.18);
}

.accordion-list summary {
    cursor: pointer;
    padding: 16px 18px;
    color: var(--text);
    font-weight: 820;
}

.accordion-list summary span {
    display: block;
    margin-bottom: 5px;
    color: var(--orange-2);
    font-size: 0.74rem;
    font-weight: 760;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.accordion-list details[open] summary {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-list p {
    margin: 0;
    padding: 16px 18px 18px;
}

.related-card {
    display: block;
    color: inherit;
    text-decoration: none;
    transition: border-color 180ms ease, transform 180ms ease;
}

.related-card:hover,
.related-card:focus {
    transform: translateY(-2px);
    border-color: rgba(247, 147, 26, 0.38);
    text-decoration: none;
}

.toast {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 20;
    max-width: min(360px, calc(100% - 36px));
    padding: 12px 16px;
    border: 1px solid rgba(247, 147, 26, 0.42);
    border-radius: var(--radius);
    background: rgba(12, 15, 20, 0.94);
    color: var(--text);
    box-shadow: var(--shadow);
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 180ms ease, transform 180ms ease;
}

.toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.is-loading {
    animation: pulse 1.3s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.64;
    }
    50% {
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .hero-grid,
    .guide-hero-grid,
    .calculator-grid,
    .copy-grid,
    .promo-grid,
    .faq-grid,
    .guide-card-grid,
    .related-grid {
        grid-template-columns: 1fr;
    }

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

}

@media (max-width: 620px) {
    .page-shell {
        width: min(100% - 22px, 1180px);
    }

    .hero {
        padding-top: 16px;
    }

    .topbar {
        margin-bottom: 30px;
    }

    .stats-grid,
    .insights-grid,
    .summary-stack,
    .preset-row {
        grid-template-columns: 1fr;
    }

    .quick-result,
    .guide-mini-card,
    .related-card,
    .calculator-panel,
    .results-panel,
    .explanation,
    .faq-section,
    .stat-card,
    .insight-card {
        padding: 18px;
    }

    .quick-result::after {
        width: clamp(150px, 54vw, 260px);
        height: clamp(150px, 54vw, 260px);
    }

    .input-row {
        grid-template-columns: minmax(0, 1fr) minmax(82px, 0.34fr);
    }

    .input-row input {
        padding: 0 12px;
    }

    .input-row select {
        min-width: 82px;
        padding: 0 8px;
    }

    th,
    td {
        padding: 12px 7px;
    }

    th {
        font-size: 0.68rem;
    }

    td strong {
        font-size: 0.95rem;
    }

    td small {
        font-size: 0.75rem;
    }

    table {
        min-width: 0;
    }
}
