:root {
    --background: #d8eef9;
    --background-light: #f3fbff;
    --panel: rgba(243, 251, 255, 0.95);
    --panel-deep: rgba(194, 225, 239, 0.93);
    --ink: #102d42;
    --ink-soft: #38596d;
    --blue: #0d78b2;
    --blue-dark: #07537d;
    --border: rgba(255, 255, 255, 0.88);
    --shadow:
        12px 15px 28px rgba(52, 104, 133, 0.25),
        -10px -10px 23px rgba(255, 255, 255, 0.9);
    --content-width: 820px;
}

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

html {
    min-width: 280px;
    scroll-behavior: smooth;
    scroll-padding-top: 20px;
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(
            circle at 50% -10%,
            rgba(255, 255, 255, 0.98),
            transparent 42%
        ),
        linear-gradient(
            155deg,
            #effaff,
            #d8eef9 50%,
            #c6e4f1
        );
    font-family:
        Arial,
        Helvetica,
        "Segoe UI",
        sans-serif;
    line-height: 1.65;
    overflow-wrap: break-word;
}

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

a {
    color: var(--blue-dark);
    font-weight: 700;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

a:hover {
    color: #003e63;
}

:focus-visible {
    outline: 3px solid #003d66;
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 999;
    padding: 10px 15px;
    color: #ffffff;
    background: #063c60;
    border-radius: 9px;
    font-weight: 800;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 160ms ease;
}

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

.legal-shell {
    width: min(calc(100% - 28px), var(--content-width));
    margin: 18px auto;
    padding:
        max(22px, env(safe-area-inset-top))
        clamp(20px, 6vw, 55px)
        max(30px, env(safe-area-inset-bottom));
    background:
        linear-gradient(
            145deg,
            rgba(245, 252, 255, 0.97),
            rgba(205, 231, 243, 0.96)
        );
    border: 1px solid var(--border);
    border-radius: clamp(26px, 6vw, 46px);
    box-shadow: var(--shadow);
}

.legal-header {
    text-align: center;
}

.brand-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    text-decoration: none;
}

.brand-logo {
    width: 72px;
    height: 72px;
    overflow: hidden;
    background: #ffffff;
    border: 4px solid #168fcb;
    border-radius: 50%;
    box-shadow: 0 7px 15px rgba(29, 91, 126, 0.24);
}

.brand-logo img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    transform: scale(1.08);
}

.brand-name {
    font-size: clamp(1.05rem, 4vw, 1.35rem);
    font-weight: 900;
}

.legal-header h1 {
    margin: 28px 0 0;
    color: #173b52;
    font-family:
        Georgia,
        "Times New Roman",
        serif;
    font-size: clamp(2rem, 8vw, 3.4rem);
    letter-spacing: -0.05em;
    line-height: 1;
}

.legal-summary {
    max-width: 650px;
    margin: 17px auto 0;
    color: var(--ink-soft);
    font-size: clamp(0.95rem, 3vw, 1.08rem);
}

.updated-date {
    display: inline-block;
    margin-top: 16px;
    padding: 6px 12px;
    color: #315a72;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 800;
}

.legal-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    margin-top: 27px;
}

.legal-navigation a {
    display: inline-flex;
    min-height: 39px;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    color: #173b52;
    background:
        linear-gradient(
            145deg,
            rgba(244, 252, 255, 0.95),
            rgba(191, 224, 239, 0.92)
        );
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 999px;
    box-shadow:
        5px 7px 13px rgba(53, 106, 135, 0.2),
        -4px -4px 11px rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    text-decoration: none;
}

.legal-navigation a[aria-current="page"] {
    color: #ffffff;
    background: linear-gradient(145deg, #159ade, #086ba5);
}

.legal-content {
    margin-top: 31px;
}

.legal-card {
    margin-top: 20px;
    padding: clamp(19px, 5vw, 30px);
    background:
        linear-gradient(
            145deg,
            var(--panel),
            var(--panel-deep)
        );
    border: 1px solid var(--border);
    border-radius: clamp(20px, 5vw, 29px);
    box-shadow:
        8px 10px 20px rgba(53, 106, 135, 0.2),
        -7px -7px 17px rgba(255, 255, 255, 0.84);
}

.legal-card:first-child {
    margin-top: 0;
}

.legal-card h2 {
    margin: 0;
    color: #153b53;
    font-size: clamp(1.18rem, 4vw, 1.55rem);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.legal-card h3 {
    margin: 20px 0 0;
    color: #1c4861;
    font-size: 1.02rem;
}

.legal-card p,
.legal-card ul,
.legal-card ol {
    margin-top: 12px;
    margin-bottom: 0;
    color: #294c61;
}

.legal-card ul,
.legal-card ol {
    padding-left: 1.35rem;
}

.legal-card li + li {
    margin-top: 7px;
}

.notice {
    margin-top: 25px;
    padding: 16px 18px;
    color: #244b62;
    background: rgba(255, 248, 211, 0.82);
    border: 1px solid rgba(178, 136, 24, 0.25);
    border-radius: 16px;
}

.contact-button,
.home-button {
    display: inline-flex;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    margin-top: 17px;
    padding: 11px 21px;
    color: #ffffff;
    background: linear-gradient(145deg, #159ade, #086ba5);
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(11, 99, 150, 0.27);
    font-weight: 900;
    text-decoration: none;
}

.contact-button:hover,
.home-button:hover {
    color: #ffffff;
}

.legal-footer {
    margin-top: 34px;
    padding-top: 23px;
    border-top: 1px solid rgba(48, 100, 129, 0.17);
    color: #45677a;
    text-align: center;
}

.legal-footer p {
    margin: 0;
    font-size: 0.78rem;
}

.legal-footer p + p {
    margin-top: 6px;
}

@media (max-width: 520px) {
    .legal-shell {
        width: min(calc(100% - 16px), var(--content-width));
        margin-block: 8px;
        border-radius: 27px;
    }

    .brand-link {
        flex-direction: column;
    }

    .brand-logo {
        width: 78px;
        height: 78px;
    }
}

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

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
    }
}

@media print {
    body {
        background: #ffffff;
    }

    .legal-shell {
        width: 100%;
        margin: 0;
        box-shadow: none;
    }

    .legal-navigation,
    .contact-button,
    .home-button {
        display: none;
    }
}

/* LEGAL_STYLES_COMPLETE */
