/*
 * Mobile-first visual system based on the supplied reference.
 * It intentionally sits after the legacy bundle so every public page shares
 * one consistent shell without changing page-specific business logic.
 */
:root {
    --app-navy: #071a3d;
    --app-ink: #17253d;
    --app-blue: #0878f9;
    --app-blue-dark: #0562d5;
    --app-blue-soft: #eaf4ff;
    --app-blue-pale: #f5f9ff;
    --app-line: #dfe8f3;
    --app-muted: #65738a;
    --app-success: #137a52;
    --app-danger: #b4233f;
    --app-white: #ffffff;
    --app-radius-sm: 10px;
    --app-radius: 14px;
    --app-radius-lg: 20px;
    --app-shadow: 0 10px 30px rgba(7, 26, 61, .07);
    --app-shadow-soft: 0 4px 18px rgba(7, 26, 61, .055);
    --app-focus: 0 0 0 4px rgba(8, 120, 249, .18);
    --primary-color: var(--app-blue);
    --bs-primary: var(--app-blue);
    --bs-primary-rgb: 8, 120, 249;
    --bs-body-color: var(--app-ink);
    --bs-border-color: var(--app-line);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body.site-body {
    min-width: 320px;
    color: var(--app-ink);
    background: var(--app-white);
    font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.65;
    letter-spacing: -.008em;
    overflow-x: hidden;
}

.site-body main {
    min-height: 55vh;
    overflow: clip;
}

.site-body ::selection {
    color: var(--app-navy);
    background: #cfe7ff;
}

.site-body h1,
.site-body h2,
.site-body h3,
.site-body h4,
.site-body h5,
.site-body h6 {
    color: var(--app-navy);
    font-weight: 750;
    letter-spacing: -.025em;
    line-height: 1.18;
}

.site-body h1 {
    text-wrap: balance;
}

.site-body p,
.site-body li {
    overflow-wrap: anywhere;
}

.site-body a {
    color: var(--app-blue-dark);
    text-underline-offset: .2em;
}

.site-body a:hover {
    color: #034eac;
}

.site-body section {
    scroll-margin-top: 82px;
}

.site-body .container {
    width: min(calc(100% - 2.25rem), 1160px);
    padding-right: 0;
    padding-left: 0;
}

.skip-link {
    position: fixed;
    top: .75rem;
    left: .75rem;
    z-index: 2000;
    padding: .75rem 1rem;
    color: #fff !important;
    background: var(--app-navy);
    border-radius: var(--app-radius-sm);
    transform: translateY(-180%);
}

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

/* Shared header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1040;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--app-line);
    box-shadow: 0 2px 12px rgba(7, 26, 61, .035);
    backdrop-filter: saturate(160%) blur(16px);
}

.site-header .navbar {
    min-height: 70px;
    padding: .55rem 0;
}

.site-brand {
    display: inline-flex;
    gap: .65rem;
    align-items: center;
    max-width: calc(100% - 60px);
    margin: 0;
    color: var(--app-navy) !important;
    text-decoration: none;
}

.site-brand img {
    flex: 0 0 auto;
    object-fit: contain;
}

.site-brand-copy {
    display: grid;
    line-height: 1.05;
}

.site-brand-copy strong {
    font-size: .98rem;
    font-weight: 800;
    letter-spacing: -.025em;
}

.site-brand-copy small {
    margin-top: .18rem;
    color: var(--app-muted);
    font-size: .7rem;
    font-weight: 650;
    letter-spacing: .01em;
}

.site-menu-button {
    display: grid;
    width: 48px;
    height: 48px;
    min-width: 48px;
    place-items: center;
    padding: 0;
    color: var(--app-navy);
    background: var(--app-blue-pale);
    border: 1px solid var(--app-line);
    border-radius: 12px;
    box-shadow: none !important;
}

.site-menu-button:focus-visible {
    border-color: var(--app-blue);
    box-shadow: var(--app-focus) !important;
}

.site-menu-icon {
    display: grid;
    width: 22px;
    gap: 4px;
}

.site-menu-icon > span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 999px;
    transition: transform .2s ease, opacity .2s ease;
}

.site-menu-button[aria-expanded="true"] .site-menu-icon > span:first-child {
    transform: translateY(6px) rotate(45deg);
}

.site-menu-button[aria-expanded="true"] .site-menu-icon > span:nth-child(2) {
    opacity: 0;
}

.site-menu-button[aria-expanded="true"] .site-menu-icon > span:last-child {
    transform: translateY(-6px) rotate(-45deg);
}

.site-header .nav-link {
    position: relative;
    min-width: 0;
    color: #36445b;
    font-size: .94rem;
    font-weight: 650;
    text-decoration: none;
    border-radius: 10px;
}

.site-header .nav-link:hover,
.site-header .nav-link.active {
    color: var(--app-blue-dark);
    background: var(--app-blue-pale);
}

.site-header .site-nav-cta,
.site-header .site-nav-cta:hover,
.site-header .site-nav-cta.active {
    color: #fff;
    background: var(--app-blue);
}

/* Common controls */
.site-body .btn {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: .72rem 1.2rem;
    font-weight: 750;
    line-height: 1.2;
    border-width: 1.5px;
    border-radius: 11px;
    box-shadow: none;
    transition: transform .16s ease, background-color .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.site-body .btn-lg {
    min-height: 54px;
    padding: .82rem 1.35rem;
    font-size: 1rem;
}

.site-body .btn-primary {
    color: #fff;
    background: var(--app-blue);
    border-color: var(--app-blue);
}

.site-body .btn-primary:hover,
.site-body .btn-primary:active {
    color: #fff;
    background: var(--app-blue-dark);
    border-color: var(--app-blue-dark);
    transform: translateY(-1px);
}

.site-body .btn-outline-primary {
    color: var(--app-blue-dark);
    background: #fff;
    border-color: var(--app-blue);
}

.site-body .btn-outline-primary:hover,
.site-body .btn-outline-primary:active {
    color: #fff;
    background: var(--app-blue);
    border-color: var(--app-blue);
}

.site-body .btn-light {
    color: var(--app-blue-dark);
    background: #fff;
    border-color: var(--app-line);
}

.site-body .btn:focus-visible,
.site-body a:focus-visible,
.site-body button:focus-visible,
.site-body [tabindex]:focus-visible {
    outline: 0;
    box-shadow: var(--app-focus);
}

.site-body .text-primary {
    color: var(--app-blue-dark) !important;
}

.site-body .text-muted {
    color: var(--app-muted) !important;
}

.site-body .bg-primary,
.site-body .badge.bg-primary {
    background-color: var(--app-blue) !important;
}

.site-body .bg-light {
    background-color: var(--app-blue-pale) !important;
}

.site-body .bg-primary-subtle {
    color: var(--app-blue-dark) !important;
    background: var(--app-blue-soft) !important;
}

.site-body .badge {
    padding: .48rem .7rem;
    font-size: .76rem;
    font-weight: 750;
    letter-spacing: .005em;
    white-space: normal;
    border-radius: 999px;
}

/* Home and page introductions */
.site-body .hero-section {
    position: relative;
    background:
        radial-gradient(circle at 88% 18%, rgba(8, 120, 249, .09), transparent 28%),
        linear-gradient(180deg, #fff 0%, #f8fbff 100%);
    border-bottom: 1px solid var(--app-line);
}

.site-body .hero-section::before {
    position: absolute;
    top: 18%;
    right: 7%;
    width: 150px;
    height: 150px;
    content: "";
    background: var(--app-blue-soft);
    border-radius: 46% 54% 58% 42%;
    opacity: .42;
    transform: rotate(16deg);
    pointer-events: none;
}

.site-body .hero-section > .container {
    position: relative;
}

.site-body .hero-section h1 {
    max-width: 800px;
    color: var(--app-navy) !important;
    font-size: clamp(2rem, 5.3vw, 3.65rem);
    line-height: 1.04;
}

.site-body .hero-section .lead {
    max-width: 760px;
    color: #46556d;
    font-size: clamp(1.02rem, 1.55vw, 1.18rem);
    line-height: 1.65;
}

.site-body .hero-section .row-cols-1 .border {
    position: relative;
    padding-left: 3.3rem !important;
    border-color: var(--app-line) !important;
    border-radius: var(--app-radius) !important;
    box-shadow: var(--app-shadow-soft);
}

.site-body .hero-section .row-cols-1 .border::before {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: grid;
    width: 28px;
    height: 28px;
    color: #fff;
    font-size: .8rem;
    font-weight: 900;
    content: "✓";
    background: var(--app-blue);
    border-radius: 50%;
    place-items: center;
}

.site-body main > .container.py-5 {
    padding-top: clamp(2.5rem, 6vw, 4.5rem) !important;
    padding-bottom: clamp(2.5rem, 6vw, 4.5rem) !important;
}

.site-body main > .container.py-5 > .row:first-child h1,
.site-body main > .container.py-5 > h1:first-child {
    font-size: clamp(2rem, 4vw, 3rem);
}

/* Cards and scannable content */
.site-body .card,
.site-body .list-group,
.site-body .accordion-item {
    color: var(--app-ink);
    background: #fff;
    border: 1px solid var(--app-line) !important;
    border-radius: var(--app-radius);
    box-shadow: var(--app-shadow-soft);
}

.site-body .card {
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.site-body a.card:hover {
    color: var(--app-ink);
    border-color: #bbd7f7 !important;
    box-shadow: var(--app-shadow);
    transform: translateY(-2px);
}

.site-body .card-body {
    position: relative;
}

.site-body .card .card-body > h2:first-child,
.site-body .card .card-body > h3:first-child,
.site-body .card .card-body > h4:first-child,
.site-body a.card .card-body > h3:first-child {
    padding-right: 1.3rem;
}

.site-body a.card .card-body > h3:first-child::after {
    position: absolute;
    top: 1.25rem;
    right: 1.15rem;
    color: var(--app-blue);
    content: "→";
    font-weight: 800;
}

.site-body .shadow-sm,
.site-body .shadow-lg {
    box-shadow: var(--app-shadow-soft) !important;
}

.site-body .rounded-3 {
    border-radius: var(--app-radius) !important;
}

.site-body .list-group {
    overflow: hidden;
}

.site-body .list-group-item {
    position: relative;
    padding: 1rem 1rem 1rem 3.5rem;
    color: var(--app-ink);
    background: #fff;
    border-color: var(--app-line);
}

.site-body .list-group-item::before {
    position: absolute;
    top: 1.05rem;
    left: 1rem;
    display: grid;
    width: 28px;
    height: 28px;
    color: var(--app-blue-dark);
    content: "✓";
    background: var(--app-blue-soft);
    border-radius: 50%;
    place-items: center;
    font-size: .78rem;
    font-weight: 900;
}

.site-body .accordion {
    display: grid;
    gap: .7rem;
}

.site-body .accordion-item {
    overflow: hidden;
}

.site-body .accordion-button {
    min-height: 58px;
    padding: 1rem 1.1rem;
    color: var(--app-navy);
    background: #fff;
    font-weight: 750;
    line-height: 1.35;
    box-shadow: none !important;
}

.site-body .accordion-button:not(.collapsed) {
    color: var(--app-blue-dark);
    background: var(--app-blue-pale);
}

.site-body .accordion-button::after {
    width: 1rem;
    height: 1rem;
    background-size: 1rem;
}

.site-body .accordion-body {
    padding: .3rem 1.1rem 1.1rem;
    color: #4d5b71;
}

/* Forms */
.site-body .form-label {
    margin-bottom: .45rem;
    color: var(--app-navy);
    font-size: .93rem;
    font-weight: 700;
}

.site-body .form-control,
.site-body .form-select {
    min-height: 50px;
    padding: .72rem .85rem;
    color: var(--app-ink);
    background-color: #fff;
    border: 1.5px solid #cad7e6;
    border-radius: 10px;
    box-shadow: none;
}

.site-body textarea.form-control {
    min-height: 130px;
    resize: vertical;
}

.site-body .form-control::placeholder {
    color: #8a96a8;
}

.site-body .form-control:hover,
.site-body .form-select:hover {
    border-color: #9db8d7;
}

.site-body .form-control:focus,
.site-body .form-select:focus {
    border-color: var(--app-blue);
    box-shadow: var(--app-focus);
}

.site-body .form-text {
    margin-top: .42rem;
    color: var(--app-muted);
    line-height: 1.45;
}

.site-body .form-check {
    display: grid;
    grid-template-columns: 24px 1fr;
    gap: .65rem;
    align-items: start;
    min-height: 44px;
}

.site-body .form-check-input {
    width: 22px;
    height: 22px;
    margin: .1rem 0 0;
    border: 1.5px solid #aebfd3;
}

.site-body .form-check-input:checked {
    background-color: var(--app-blue);
    border-color: var(--app-blue);
}

.site-body .alert {
    border: 1px solid currentColor;
    border-radius: var(--app-radius);
}

.site-body .alert-info {
    color: #0d568f;
    background: var(--app-blue-soft);
    border-color: #b9dafb;
}

/* Tables and dense information */
.site-body .table-responsive {
    overflow-x: auto;
    border: 1px solid var(--app-line);
    border-radius: var(--app-radius-sm);
    -webkit-overflow-scrolling: touch;
}

.site-body .table {
    min-width: 640px;
    margin-bottom: 0;
    color: var(--app-ink);
}

.site-body .table > :not(caption) > * > * {
    padding: .85rem .9rem;
    border-color: var(--app-line);
}

.site-body .table thead th {
    color: var(--app-navy);
    background: var(--app-blue-pale);
    font-size: .82rem;
    font-weight: 800;
    letter-spacing: .015em;
}

/* Detailed guide components */
.site-body .guide-section,
.site-body .guide-sources {
    overflow: hidden;
}

.guide-check-list {
    display: grid;
    gap: .8rem;
    padding: 0;
    list-style: none;
}

.guide-check-list li {
    position: relative;
    padding-left: 2rem;
}

.guide-check-list li::before {
    position: absolute;
    top: .1rem;
    left: 0;
    display: grid;
    width: 1.35rem;
    height: 1.35rem;
    place-items: center;
    color: var(--app-blue-dark);
    content: "✓";
    background: var(--app-blue-soft);
    border-radius: 50%;
    font-size: .78rem;
    font-weight: 900;
}

.guide-input-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin: 1.25rem 0;
}

.guide-input-grid > div {
    padding: .9rem;
    background: var(--app-blue-pale);
    border: 1px solid var(--app-line);
    border-radius: var(--app-radius-sm);
}

.guide-input-grid span,
.guide-result-callout span {
    display: block;
    color: var(--app-muted);
    font-size: .75rem;
    font-weight: 700;
    line-height: 1.35;
    text-transform: uppercase;
    letter-spacing: .035em;
}

.guide-input-grid strong {
    display: block;
    margin-top: .35rem;
    color: var(--app-navy);
    font-size: 1.05rem;
}

.guide-calculation-trail {
    display: grid;
    gap: .65rem;
    padding: 0;
    margin: 1.25rem 0;
    list-style: none;
}

.guide-calculation-trail li {
    display: grid;
    grid-template-columns: minmax(150px, 1fr) minmax(180px, 1.25fr) minmax(120px, .8fr);
    gap: .8rem;
    align-items: center;
    padding: .85rem 0;
    border-bottom: 1px solid var(--app-line);
}

.guide-calculation-trail li > span {
    color: var(--app-navy);
    font-weight: 750;
}

.guide-calculation-trail code {
    width: fit-content;
    max-width: 100%;
    padding: .35rem .55rem;
    color: #075cae;
    white-space: normal;
    background: var(--app-blue-soft);
    border-radius: 7px;
    font-family: inherit;
    font-size: .9rem;
    font-weight: 700;
}

.guide-calculation-trail strong {
    color: var(--app-success);
    text-align: right;
}

.guide-result-callout {
    display: grid;
    gap: .45rem;
    padding: 1.15rem 1.25rem;
    color: #fff;
    background: var(--app-navy);
    border-radius: var(--app-radius);
}

.guide-result-callout span,
.guide-result-callout small {
    color: #c9dbf6;
}

.guide-result-callout strong {
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    line-height: 1;
}

.guide-result-callout small {
    max-width: 780px;
    line-height: 1.5;
}

.guide-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
}

.guide-case-card {
    padding: 1.15rem;
    background: var(--app-blue-pale);
    border: 1px solid var(--app-line);
    border-left: 4px solid var(--app-success);
    border-radius: var(--app-radius-sm);
}

.guide-case-card:nth-child(even) {
    border-left-color: #c45f15;
}

.guide-case-card > span {
    display: block;
    margin-bottom: .45rem;
    color: var(--app-muted);
    font-size: .73rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.guide-case-card h3 {
    margin-bottom: .6rem;
    font-size: 1.08rem;
}

.guide-case-card p {
    margin-bottom: .8rem;
    color: #4d5b71;
    font-size: .91rem;
}

.guide-case-card a {
    font-size: .8rem;
    font-weight: 750;
}

.guide-timeline {
    display: grid;
    gap: 0;
    padding: 0;
    margin-top: 1.25rem;
    list-style: none;
}

.guide-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 2rem 1fr;
    gap: .85rem;
    padding-bottom: 1.15rem;
}

.guide-timeline li:not(:last-child)::before {
    position: absolute;
    top: 2rem;
    bottom: 0;
    left: .95rem;
    width: 2px;
    content: "";
    background: #cfe3fa;
}

.guide-timeline-number {
    z-index: 1;
    display: grid;
    width: 2rem;
    height: 2rem;
    place-items: center;
    color: #fff;
    background: var(--app-blue);
    border-radius: 50%;
    font-size: .85rem;
    font-weight: 800;
}

.guide-timeline p {
    margin: .15rem 0 0;
    color: var(--app-muted);
}

.guide-citations {
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .55rem;
    align-items: center;
    padding-top: .85rem;
    margin-top: 1rem;
    border-top: 1px solid var(--app-line);
    font-size: .78rem;
}

.guide-citations > span:first-child {
    color: var(--app-muted);
    font-weight: 700;
}

.guide-source-list {
    display: grid;
    gap: .9rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.guide-source-list li {
    display: grid;
    gap: .15rem;
}

.guide-source-list a {
    font-weight: 750;
}

.guide-source-list span {
    color: var(--app-muted);
    font-size: .85rem;
}
/* Footer */
.site-footer {
    padding: 3.25rem 0 calc(1.5rem + env(safe-area-inset-bottom));
    margin-top: 0;
    color: #526076;
    background: #f6f9fd;
    border-top: 1px solid var(--app-line);
}

.site-footer-brand {
    margin-bottom: 1.15rem;
}

.site-footer-note {
    max-width: 520px;
    margin: 0;
    font-size: .9rem;
    line-height: 1.65;
}

.site-footer-heading {
    margin-bottom: .9rem;
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.site-footer-links {
    display: grid;
    gap: .65rem;
}

.site-footer-links a {
    color: #45536a;
    font-size: .9rem;
    text-decoration: none;
}

.site-footer-links a:hover {
    color: var(--app-blue-dark);
}

.site-footer-bottom {
    display: flex;
    gap: 1rem 2rem;
    justify-content: space-between;
    padding-top: 1.4rem;
    margin-top: 2.4rem;
    color: #718096;
    font-size: .78rem;
    border-top: 1px solid var(--app-line);
}

/* Cookie and overlay ergonomics */
.site-body .modal-content {
    border: 0;
    border-radius: var(--app-radius-lg);
    box-shadow: 0 24px 80px rgba(7, 26, 61, .2);
}

.site-body .modal-header,
.site-body .modal-footer {
    border-color: var(--app-line);
}

@media (min-width: 992px) {
    .site-header .navbar-nav {
        gap: .2rem;
    }

    .site-header .nav-link {
        min-height: 44px;
        padding: .6rem .8rem !important;
    }

    .site-header .nav-item-cta {
        margin-left: .45rem;
    }

    .site-header .site-nav-cta {
        padding-inline: 1rem !important;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar-collapse {
        padding: .5rem;
        margin-top: .6rem;
        background: #fff;
        border: 1px solid var(--app-line);
        border-radius: var(--app-radius);
        box-shadow: var(--app-shadow);
    }

    .site-header .navbar-nav {
        gap: .2rem;
    }

    .site-header .nav-link {
        min-height: 50px;
        padding: .75rem .9rem !important;
    }

    .site-header .site-nav-cta {
        margin-top: .25rem;
    }
}

@media (max-width: 767.98px) {
    html {
        scroll-padding-top: 74px;
    }

    body.site-body {
        font-size: .96rem;
        line-height: 1.6;
    }

    .site-body .container {
        width: min(calc(100% - 2rem), 1160px);
    }

    .site-header .navbar {
        min-height: 66px;
        padding: .45rem 0;
    }

    .site-brand img {
        width: 38px;
        height: 38px;
    }

    .site-brand-copy strong {
        font-size: .91rem;
    }

    .site-brand-copy small {
        font-size: .66rem;
    }

    .site-body .py-5 {
        padding-top: 2.35rem !important;
        padding-bottom: 2.35rem !important;
    }

    .site-body .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }

    .site-body .hero-section {
        padding-top: 2.55rem !important;
    }

    .site-body .hero-section::before {
        top: 5%;
        right: -65px;
        width: 130px;
        height: 130px;
    }

    .site-body .hero-section h1 {
        font-size: clamp(2rem, 9.2vw, 2.65rem);
    }

    .site-body .hero-section .lead {
        margin-bottom: 1.4rem !important;
        font-size: 1rem;
        line-height: 1.58;
    }

    .site-body .hero-section .d-flex.gap-3 {
        gap: .7rem !important;
    }

    .site-body .hero-section .btn,
    .site-body main > .container.py-5 .btn-lg,
    .site-body form > .btn[type="submit"] {
        width: 100%;
    }

    .site-body .hero-section .row-cols-1 {
        margin-top: 1.5rem !important;
    }

    .site-body .hero-section .row-cols-1 .border {
        min-height: 86px;
    }

    .site-body .card-body.p-4,
    .site-body .card-body.p-lg-5 {
        padding: 1.15rem !important;
    }

    .site-body .card h2,
    .site-body .card h3 {
        line-height: 1.25;
    }

    .site-body a.card:hover {
        transform: none;
    }

    .site-body .accordion-button {
        padding: .9rem 1rem;
        font-size: .93rem;
    }

    .site-body .accordion-body {
        padding: .2rem 1rem 1rem;
    }

    .site-body .form-control,
    .site-body .form-select,
    .site-body .btn {
        font-size: 16px;
    }

    .site-body .table-responsive::after {
        display: block;
        padding: .55rem .75rem;
        color: var(--app-muted);
        content: "Deslize horizontalmente para ver todos os dados";
        background: #fff;
        font-size: .72rem;
        border-top: 1px solid var(--app-line);
    }

    .site-body .guide-section,
    .site-body .guide-sources {
        padding: 0 !important;
    }

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

    .guide-calculation-trail li {
        grid-template-columns: 1fr;
        gap: .35rem;
    }

    .guide-calculation-trail strong {
        text-align: left;
    }

    .guide-citations {
        display: grid;
        gap: .35rem;
    }

    .guide-citations > span[aria-hidden="true"] {
        display: none;
    }

    .guide-case-grid {
        grid-template-columns: 1fr;
    }

    .site-footer {
        padding-top: 2.5rem;
    }

    .site-footer-bottom {
        display: grid;
        gap: .4rem;
        margin-top: 1.8rem;
    }

    .site-body .modal-dialog {
        display: flex;
        min-height: calc(100% - 1rem);
        align-items: end;
        margin: .5rem;
    }

    .site-body .modal-content {
        max-height: calc(100dvh - 1rem);
        overflow-y: auto;
        border-radius: var(--app-radius-lg) var(--app-radius-lg) 0 0;
    }
}

@media (max-width: 389.98px) {
    .site-body .container {
        width: min(calc(100% - 1.5rem), 1160px);
    }

    .site-brand {
        gap: .45rem;
    }

    .site-brand-copy strong {
        font-size: .84rem;
    }

    .site-brand-copy small {
        font-size: .62rem;
    }

    .site-menu-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
    }

    .site-body .hero-section h1 {
        font-size: 1.9rem;
    }

    .site-body .badge {
        font-size: .7rem;
    }

    .guide-input-grid {
        grid-template-columns: 1fr;
    }
}

@media (hover: none) {
    .site-body .btn:hover,
    .site-body a.card:hover {
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media print {
    .site-header,
    .site-footer,
    .skip-link {
        display: none !important;
    }

    .site-body main {
        overflow: visible;
    }
}

