@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@100..1000&display=swap');

:root {
    --muyslcard-black: #000000;
    --muyslcard-white: #ffffff;
    --muyslcard-dark-gray: #1c1c1c;
    --muyslcard-gray: #9b9b9b;
    --muyslcard-soft-white: #fafafa;
    --muyslcard-line: rgba(0, 0, 0, 0.14);

    --muyslcard-safe-x: clamp(22px, 2.35vw, 48px);
    --muyslcard-page-max-width: 2048px;
    --muyslcard-page-max-height: 1291px;
    --muyslcard-page-radius: 0;
    --muyslcard-navbar-height: 120px;
    --muyslcard-logo-height: 46px;
    --muyslcard-bottom-safe-area: env(safe-area-inset-bottom, 0px);

    --muyslcard-font-min: 0.625rem;
    --muyslcard-font-legal-text: 0.6875rem;
    --muyslcard-font-small: 0.75rem;
    --muyslcard-font-base: 0.875rem;
    --muyslcard-font-text: 1rem;

    --muyslcard-legal-title-font: 1.125rem;
    --muyslcard-legal-subtitle-font: 0.6875rem;
    --muyslcard-legal-heading-font: 0.875rem;
    --muyslcard-legal-body-font: 0.6875rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    letter-spacing: 0;
    font-synthesis: none;
}

html {
    width: 100%;
    height: 100%;
    min-height: 100%;
    background-color: var(--muyslcard-black);
    scroll-behavior: smooth;
    overflow: hidden;
    font-synthesis: none;
    letter-spacing: 0;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    background-color: var(--muyslcard-black);
    font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
    font-synthesis: none;
    font-optical-sizing: auto;
    color: var(--muyslcard-black);
    overflow: hidden;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0;
}

a,
button,
input,
textarea,
span,
p,
h1,
h2,
h3,
h4,
h5,
h6,
li {
    font-family: 'Google Sans Flex', -apple-system, BlinkMacSystemFont, sans-serif;
    font-synthesis: none;
    font-optical-sizing: auto;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
}

button {
    cursor: pointer;
}

.muyslcard-legal-page {
    width: 100%;
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100svh;
    min-height: 100dvh;
    max-height: none;
    margin: 0 auto;
    background-color: var(--muyslcard-white);
    border-radius: var(--muyslcard-page-radius);
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    isolation: isolate;
}

.muyslcard-legal-navbar {
    position: relative;
    z-index: 20;
    width: 100%;
    max-width: var(--muyslcard-page-max-width);
    height: var(--muyslcard-navbar-height);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--muyslcard-safe-x);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.muyslcard-legal-left {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
}

.muyslcard-legal-logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
}

.muyslcard-legal-logo img {
    display: block;
    width: auto;
    height: var(--muyslcard-logo-height);
    max-width: 100%;
    object-fit: contain;
}

.muyslcard-legal-back-link,
.muyslcard-legal-back-link:hover,
.muyslcard-legal-back-link:focus,
.muyslcard-legal-back-link:active {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--muyslcard-black);
    font-size: var(--muyslcard-font-min);
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    opacity: 0.8;
    text-decoration: none;
    letter-spacing: 0;
}

.muyslcard-legal-arrow-icon {
    display: block;
    width: 4.8px;
    height: 4.8px;
    border-top: 1.2px solid currentColor;
    border-right: 1.2px solid currentColor;
    transform: rotate(45deg) translateY(0.1px);
    flex-shrink: 0;
}

.muyslcard-legal-hero {
    position: relative;
    width: 100%;
    max-width: var(--muyslcard-page-max-width);
    min-height: 64px;
    margin: 0 auto 46px;
    padding: 0 var(--muyslcard-safe-x);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    flex-direction: column;
}

.muyslcard-legal-hero h1 {
    max-width: 720px;
    margin: 0;
    color: var(--muyslcard-black);
    font-size: var(--muyslcard-legal-title-font);
    font-weight: 520;
    line-height: 1.04;
    letter-spacing: 0;
}

.muyslcard-legal-hero p {
    position: absolute;
    left: var(--muyslcard-safe-x);
    top: calc(50% + 17px);
    margin: 0;
    color: var(--muyslcard-gray);
    font-size: var(--muyslcard-legal-subtitle-font);
    font-weight: 300;
    line-height: 1.2;
    letter-spacing: 0;
}

.muyslcard-legal-content {
    width: 100%;
    max-width: var(--muyslcard-page-max-width);
    margin-left: auto;
    margin-right: auto;
    padding: 0 var(--muyslcard-safe-x) calc(112px + var(--muyslcard-bottom-safe-area));
    text-align: left;
}

.muyslcard-legal-section {
    width: min(58vw, 900px);
    max-width: 900px;
    margin: 0 0 46px;
}

.muyslcard-legal-section:last-child {
    margin-bottom: 0;
}

.muyslcard-legal-section h2 {
    margin: 46px 0 22px;
    color: var(--muyslcard-black);
    font-size: var(--muyslcard-legal-heading-font);
    font-weight: 520;
    line-height: 1.08;
    letter-spacing: 0;
}

.muyslcard-legal-section:first-child h2 {
    margin-top: 0;
}

.muyslcard-legal-section h3 {
    margin: 26px 0 10px;
    color: var(--muyslcard-black);
    font-size: var(--muyslcard-legal-body-font);
    font-weight: 480;
    line-height: 1.18;
    letter-spacing: 0;
}

.muyslcard-legal-section p {
    max-width: 860px;
    margin: 0;
    color: var(--muyslcard-dark-gray);
    font-size: var(--muyslcard-legal-body-font);
    font-weight: 300;
    line-height: 1.42;
    letter-spacing: 0;
}

.muyslcard-legal-section p + p {
    margin-top: 0;
}

.muyslcard-legal-text-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 2px;
    text-decoration-color: transparent;
    transition: text-decoration-color 0.28s ease;
    animation: muyslcardLegalUnderlineFadeIn 0.28s ease forwards;
    animation-delay: 0.42s;
    letter-spacing: 0;
}

.muyslcard-legal-text-link:hover,
.muyslcard-legal-text-link:focus,
.muyslcard-legal-text-link:active {
    text-decoration: underline;
    text-decoration-color: currentColor;
}

.muyslcard-legal-footer {
    width: min(58vw, 900px);
    max-width: 900px;
    margin-top: 78px;
    padding-top: 26px;
    border-top: 1px solid transparent;
    animation: muyslcardLegalBorderFadeIn 0.28s ease forwards;
    animation-delay: 0.42s;
}

.muyslcard-legal-footer p {
    margin: 0;
    color: var(--muyslcard-gray);
    font-size: var(--muyslcard-legal-body-font);
    font-weight: 300;
    line-height: 1.42;
    letter-spacing: 0;
}

@keyframes muyslcardLegalUnderlineFadeIn {
    from {
        text-decoration-color: transparent;
    }

    to {
        text-decoration-color: currentColor;
    }
}

@keyframes muyslcardLegalBorderFadeIn {
    from {
        border-top-color: transparent;
    }

    to {
        border-top-color: var(--muyslcard-line);
    }
}

@media (min-width: 2049px) {
    .muyslcard-legal-page {
        box-shadow: none;
    }
}

@media (max-width: 1024px) {
    :root {
        --muyslcard-safe-x: 28px;
        --muyslcard-navbar-height: 104px;
        --muyslcard-logo-height: 38px;
        --muyslcard-page-radius: 0;
    }

    .muyslcard-legal-navbar {
        gap: 18px;
    }

    .muyslcard-legal-left {
        gap: 7px;
    }

    .muyslcard-legal-back-link,
    .muyslcard-legal-back-link:hover,
    .muyslcard-legal-back-link:focus,
    .muyslcard-legal-back-link:active {
        gap: 3px;
        font-size: var(--muyslcard-font-min);
        font-weight: 500;
        opacity: 0.8;
    }

    .muyslcard-legal-arrow-icon {
        width: 4.4px;
        height: 4.4px;
        border-top-width: 1.1px;
        border-right-width: 1.1px;
    }

    .muyslcard-legal-hero {
        min-height: 58px;
        margin-bottom: 42px;
    }

    .muyslcard-legal-hero h1 {
        font-size: var(--muyslcard-legal-title-font);
    }

    .muyslcard-legal-hero p {
        top: calc(50% + 17px);
        font-size: var(--muyslcard-legal-subtitle-font);
    }

    .muyslcard-legal-section,
    .muyslcard-legal-footer {
        width: min(78vw, 820px);
        max-width: 820px;
    }

    .muyslcard-legal-section h2 {
        font-size: var(--muyslcard-legal-heading-font);
    }

    .muyslcard-legal-section h3,
    .muyslcard-legal-section p,
    .muyslcard-legal-footer p {
        font-size: var(--muyslcard-legal-body-font);
    }

    .muyslcard-legal-content {
        padding-bottom: calc(96px + var(--muyslcard-bottom-safe-area));
    }
}

@media (max-width: 640px) {
    :root {
        --muyslcard-safe-x: 18px;
        --muyslcard-navbar-height: 82px;
        --muyslcard-logo-height: 30px;
        --muyslcard-page-radius: 0;
    }

    .muyslcard-legal-navbar {
        gap: 10px;
    }

    .muyslcard-legal-left {
        gap: 6px;
        max-width: calc(100% - 126px);
    }

    .muyslcard-legal-logo {
        min-width: 0;
    }

    .muyslcard-legal-back-link,
    .muyslcard-legal-back-link:hover,
    .muyslcard-legal-back-link:focus,
    .muyslcard-legal-back-link:active {
        gap: 2.5px;
        font-size: var(--muyslcard-font-min);
        font-weight: 500;
        opacity: 0.8;
    }

    .muyslcard-legal-arrow-icon {
        width: 4px;
        height: 4px;
        border-top-width: 1px;
        border-right-width: 1px;
    }

    .muyslcard-legal-hero {
        width: 100%;
        min-height: 58px;
        margin-bottom: 38px;
    }

    .muyslcard-legal-hero h1 {
        max-width: 330px;
        font-size: var(--muyslcard-legal-title-font);
        line-height: 1.05;
    }

    .muyslcard-legal-hero p {
        top: calc(50% + 17px);
        font-size: var(--muyslcard-legal-subtitle-font);
    }

    .muyslcard-legal-content {
        padding: 0 var(--muyslcard-safe-x) calc(82px + var(--muyslcard-bottom-safe-area));
    }

    .muyslcard-legal-section,
    .muyslcard-legal-footer {
        width: 100%;
        max-width: none;
    }

    .muyslcard-legal-section {
        margin-bottom: 40px;
    }

    .muyslcard-legal-section h2 {
        margin: 40px 0 20px;
        font-size: var(--muyslcard-legal-heading-font);
        line-height: 1.12;
    }

    .muyslcard-legal-section:first-child h2 {
        margin-top: 0;
    }

    .muyslcard-legal-section h3 {
        margin: 22px 0 10px;
        font-size: var(--muyslcard-legal-body-font);
        line-height: 1.18;
    }

    .muyslcard-legal-section p {
        font-size: var(--muyslcard-legal-body-font);
        line-height: 1.42;
    }

    .muyslcard-legal-footer {
        margin-top: 62px;
        padding-top: 22px;
    }

    .muyslcard-legal-footer p {
        font-size: var(--muyslcard-legal-body-font);
        line-height: 1.42;
    }
}

@media (max-width: 360px) {
    :root {
        --muyslcard-safe-x: 14px;
        --muyslcard-navbar-height: 76px;
        --muyslcard-logo-height: 26px;
        --muyslcard-page-radius: 0;
    }

    .muyslcard-legal-left {
        max-width: calc(100% - 108px);
    }

    .muyslcard-legal-hero {
        min-height: 54px;
        margin-bottom: 34px;
    }

    .muyslcard-legal-hero h1 {
        font-size: 1.375rem;
    }

    .muyslcard-legal-hero p {
        top: calc(50% + 16px);
        font-size: var(--muyslcard-legal-subtitle-font);
    }

    .muyslcard-legal-content {
        padding: 0 var(--muyslcard-safe-x) calc(74px + var(--muyslcard-bottom-safe-area));
    }

    .muyslcard-legal-section {
        margin-bottom: 36px;
    }

    .muyslcard-legal-section h2 {
        margin: 36px 0 18px;
        font-size: var(--muyslcard-legal-heading-font);
    }

    .muyslcard-legal-section:first-child h2 {
        margin-top: 0;
    }

    .muyslcard-legal-section h3 {
        font-size: var(--muyslcard-legal-body-font);
    }

    .muyslcard-legal-section p,
    .muyslcard-legal-footer p {
        font-size: var(--muyslcard-legal-body-font);
    }
}

@media (max-width: 320px) {
    :root {
        --muyslcard-safe-x: 12px;
        --muyslcard-navbar-height: 70px;
        --muyslcard-logo-height: 23px;
        --muyslcard-page-radius: 0;
    }

    .muyslcard-legal-left {
        gap: 5px;
        max-width: calc(100% - 96px);
    }

    .muyslcard-legal-back-link,
    .muyslcard-legal-back-link:hover,
    .muyslcard-legal-back-link:focus,
    .muyslcard-legal-back-link:active {
        gap: 2px;
        font-size: var(--muyslcard-font-min);
    }

    .muyslcard-legal-arrow-icon {
        width: 3.4px;
        height: 3.4px;
        border-top-width: 0.9px;
        border-right-width: 0.9px;
    }

    .muyslcard-legal-hero {
        min-height: 50px;
        margin-bottom: 30px;
    }

    .muyslcard-legal-hero h1 {
        font-size: 1.25rem;
    }

    .muyslcard-legal-hero p {
        top: calc(50% + 15px);
        font-size: var(--muyslcard-legal-subtitle-font);
    }

    .muyslcard-legal-content {
        padding: 0 var(--muyslcard-safe-x) calc(64px + var(--muyslcard-bottom-safe-area));
    }

    .muyslcard-legal-section {
        margin-bottom: 32px;
    }

    .muyslcard-legal-section h2 {
        margin: 32px 0 16px;
        font-size: var(--muyslcard-legal-heading-font);
    }

    .muyslcard-legal-section:first-child h2 {
        margin-top: 0;
    }

    .muyslcard-legal-section h3 {
        margin: 18px 0 8px;
        font-size: var(--muyslcard-legal-body-font);
    }

    .muyslcard-legal-section p,
    .muyslcard-legal-footer p {
        font-size: var(--muyslcard-legal-body-font);
        line-height: 1.38;
    }

    .muyslcard-legal-footer {
        margin-top: 52px;
        padding-top: 18px;
    }
}

@media (max-width: 319px) and (min-width: 281px) {
    :root {
        --muyslcard-safe-x: 10px;
        --muyslcard-navbar-height: 64px;
        --muyslcard-logo-height: 21px;
        --muyslcard-page-radius: 0;
    }

    .muyslcard-legal-navbar {
        padding: 0 var(--muyslcard-safe-x);
        gap: 8px;
    }

    .muyslcard-legal-left {
        gap: 4px;
        max-width: calc(100% - 86px);
    }

    .muyslcard-legal-back-link,
    .muyslcard-legal-back-link:hover,
    .muyslcard-legal-back-link:focus,
    .muyslcard-legal-back-link:active {
        display: inline-flex;
        gap: 2px;
        font-size: var(--muyslcard-font-min);
        line-height: 1;
        white-space: nowrap;
        opacity: 0.8;
    }

    .muyslcard-legal-arrow-icon {
        width: 3px;
        height: 3px;
        border-top-width: 0.8px;
        border-right-width: 0.8px;
    }

    .muyslcard-legal-hero {
        min-height: 46px;
        margin-bottom: 26px;
    }

    .muyslcard-legal-hero h1 {
        max-width: 240px;
        font-size: 1.125rem;
    }

    .muyslcard-legal-hero p {
        top: calc(50% + 14px);
        font-size: var(--muyslcard-legal-subtitle-font);
    }

    .muyslcard-legal-content {
        padding: 0 var(--muyslcard-safe-x) calc(56px + var(--muyslcard-bottom-safe-area));
    }

    .muyslcard-legal-section {
        margin-bottom: 28px;
    }

    .muyslcard-legal-section h2 {
        margin: 28px 0 14px;
        font-size: var(--muyslcard-legal-heading-font);
    }

    .muyslcard-legal-section:first-child h2 {
        margin-top: 0;
    }

    .muyslcard-legal-section h3 {
        margin: 16px 0 7px;
        font-size: var(--muyslcard-legal-body-font);
    }

    .muyslcard-legal-section p,
    .muyslcard-legal-footer p {
        font-size: var(--muyslcard-legal-body-font);
        line-height: 1.34;
    }

    .muyslcard-legal-footer {
        margin-top: 44px;
        padding-top: 16px;
    }
}

@media (max-width: 280px), (max-height: 240px) {
    html,
    body {
        width: 100%;
        height: 100%;
        min-height: 100%;
        padding: 0;
        background-color: var(--muyslcard-black);
        overflow: hidden;
    }

    .muyslcard-legal-page {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 2147483647;
        display: block;
        background-color: var(--muyslcard-black);
        background-image: url('/assets/muyslw.svg'), url('/muyslcard/assets/muyslw.svg');
        background-repeat: no-repeat, no-repeat;
        background-position: center center, center center;
        background-size: clamp(44px, 46vw, 108px) auto, clamp(44px, 46vw, 108px) auto;
        pointer-events: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .muyslcard-legal-text-link {
        text-decoration-color: currentColor !important;
        animation: none !important;
    }

    .muyslcard-legal-footer {
        border-top-color: var(--muyslcard-line) !important;
        animation: none !important;
    }
}