.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 9999;
    transform: translateY(-180%);
    padding: .75rem 1rem;
    border-radius: 6px;
    background: #fff;
    color: #121214;
    font-weight: 700;
}

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

.notice {
    position: fixed;
    z-index: 2000;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    max-width: min(90vw, 720px);
    padding: .8rem 1.1rem;
    border: 1px solid #e9b949;
    border-radius: 8px;
    background: #2a2418;
    color: #fff2ca;
    box-shadow: 0 8px 24px rgb(0 0 0 / 30%);
}

.answer-first > p:first-child {
    font-size: 1.08rem;
    line-height: 1.65;
}

.language-row {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1rem;
}

.language-picker {
    position: relative;
    z-index: 20;
}

.language-picker summary {
    cursor: pointer;
    padding: .55rem .75rem;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 6px;
    background: rgb(255 255 255 / 5%);
    color: #fff;
    font-size: .84rem;
}

.language-options {
    position: absolute;
    top: calc(100% + .4rem);
    right: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(8rem, 1fr));
    width: min(19rem, 75vw);
    max-height: 19rem;
    overflow-y: auto;
    padding: .45rem;
    border: 1px solid rgb(255 255 255 / 14%);
    border-radius: 7px;
    background: #202024;
    box-shadow: 0 10px 30px rgb(0 0 0 / 45%);
}

.language-options a {
    padding: .5rem .6rem;
    border-radius: 4px;
    color: #dddce2;
    text-decoration: none;
}

.language-options a:hover,
.language-options a:focus,
.language-options a[aria-current="page"] {
    background: rgb(240 202 85 / 14%);
    color: #f4dc7a;
}

.local-term {
    margin: .35rem 0 0;
    color: #aaa8b1;
    font-size: .92rem;
}

.brand-icon {
    display: block;
    width: 96px;
    height: 96px;
    margin: 0 auto .85rem;
    object-fit: contain;
}

[dir="rtl"] .language-options {
    right: auto;
    left: 0;
}

[dir="rtl"] .table-wrap th,
[dir="rtl"] .table-wrap td {
    text-align: right;
}

.logo-holder h1 {
    font-size: clamp(1.1rem, 1.8vw, 1.65rem);
    line-height: 1.25;
}

.feature-list,
.check-list,
.steps {
    display: grid;
    gap: .65rem;
    margin: 1.15rem 0 0;
    padding-left: 1.3rem;
}

.feature-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 0;
    list-style: none;
}

.feature-list li {
    padding: .65rem .75rem;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 6px;
    background: rgb(255 255 255 / 4%);
    text-align: center;
    font-size: .84rem;
}

.table-wrap {
    width: 100%;
    margin: 1rem 0;
    overflow-x: auto;
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 7px;
}

.table-wrap table {
    width: 100%;
    border-collapse: collapse;
}

.table-wrap th,
.table-wrap td {
    padding: .55rem .7rem;
    border-bottom: 1px solid rgb(255 255 255 / 9%);
    text-align: left;
}

.table-wrap th {
    background: rgb(255 255 255 / 7%);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.text code {
    padding: .08rem .3rem;
    border-radius: 4px;
    background: rgb(255 255 255 / 10%);
    color: #f4dc7a;
    font-family: "Fira Mono", monospace;
    font-size: .9em;
}

.source-note {
    margin-top: 1rem;
    padding: .75rem .9rem;
    border-left: 3px solid var(--color-main);
    background: rgb(255 255 255 / 4%);
    font-size: .86rem;
}

.source-note a {
    color: #f4dc7a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.faq-section details {
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    padding: .65rem 0;
}

.faq-section summary {
    cursor: pointer;
    font-weight: 700;
}

.faq-section details p {
    margin: .65rem 0 .2rem;
}

footer nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}

footer a {
    text-underline-offset: 3px;
}

.switch input + span {
    display: block;
}

@media (min-width: 1101px) {
    .scrollable-area .inside {
        max-width: 720px;
    }

    .scrollable-area .element {
        min-height: 100%;
        height: auto;
        padding: 3rem 0;
    }
}

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

    .left,
    .right,
    .scrollable-area,
    .scrollable-area .inner,
    .scrollable-area .element,
    .scrollable-area .inside {
        min-width: 0;
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .left {
        margin-top: 240px;
    }

    .right .logo-holder {
        box-sizing: border-box;
        padding-inline: 1rem;
    }

    .scroll-nav {
        display: none;
    }
}

@media (max-width: 600px) {
    .wrapper {
        padding-top: max(1rem, env(safe-area-inset-top));
    }

    .left {
        margin-top: 215px;
    }

    .right {
        box-sizing: border-box;
        width: 100%;
        padding-inline: 1.25rem;
    }

    .right .logo-holder {
        top: max(.75rem, env(safe-area-inset-top));
    }

    .brand-icon {
        width: 64px;
        height: 64px;
        margin-bottom: .5rem;
    }

    .logo {
        font-size: clamp(2.7rem, 14vw, 3.25rem);
        line-height: .95;
    }

    .logo-holder h1 {
        margin: .5rem auto .3rem;
        font-size: clamp(1rem, 4.5vw, 1.15rem);
        line-height: 1.2;
    }

    .local-term {
        margin-top: .3rem;
        font-size: .86rem;
        line-height: 1.25;
    }

    .editor-container {
        width: calc(100vw - 1.875rem);
    }

    .editor-container .editor-bar.top {
        gap: .65rem;
    }

    .editor-container .editor-bar.top .size-small {
        padding: .45rem .6rem;
        font-size: .72rem;
        white-space: nowrap;
    }

    .scrollable-area .element {
        margin-top: 3.25rem;
    }

    .scrollable-area .headline {
        margin-bottom: 1rem;
    }

    .scrollable-area h2 {
        font-size: clamp(1.65rem, 8vw, 1.95rem);
        line-height: 1.12;
    }

    .answer-first > p:first-child {
        font-size: 1rem;
        line-height: 1.55;
    }

    .steps,
    .check-list {
        gap: .85rem;
        text-align: start;
    }

    .notice {
        position: static;
        transform: none;
        max-width: none;
        margin: 1rem;
    }

    .table-wrap {
        box-sizing: border-box;
        max-width: 100%;
        font-size: .84rem;
    }

    footer nav ul {
        justify-content: center;
        padding: 0;
    }

    .policy {
        padding-block: 2rem;
    }

    .policy h1 {
        overflow-wrap: anywhere;
        font-size: clamp(1.8rem, 9vw, 2.2rem);
        line-height: 1.1;
    }
}

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

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

.policy-page {
    display: block;
    min-height: 100%;
    background: #121214;
}

.policy {
    width: min(760px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 4rem 0;
    line-height: 1.75;
}

.policy-logo {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 900;
    text-decoration: none;
}

.policy-logo span,
.policy a {
    color: #f0ca55;
}

.policy h1 {
    margin: 2rem 0 .5rem;
    font-size: clamp(2.2rem, 7vw, 4rem);
}

.policy h2 {
    margin: 2rem 0 .35rem;
    font-size: 1.25rem;
}

.policy p {
    margin: 0 0 1rem;
}

.policy-updated {
    color: #aaa8b1;
}
