body {
    min-height: 100vh;
    font-family: "Sora", "Noto Sans KR", sans-serif;
    color: #10233c;
    background:
        radial-gradient(circle at 10% 12%, rgba(14, 165, 233, 0.2), transparent 26%),
        radial-gradient(circle at 88% 14%, rgba(249, 115, 22, 0.18), transparent 32%),
        linear-gradient(160deg, #eef7ff 0%, #fff8f1 52%, #f6fbff 100%);
    padding: 24px;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 22px 22px;
    opacity: 0.35;
    mix-blend-mode: soft-light;
}

body[data-theme="dark"] {
    color: #e7edf6;
    background:
        radial-gradient(circle at 10% 12%, rgba(45, 212, 191, 0.12), transparent 28%),
        radial-gradient(circle at 88% 14%, rgba(249, 115, 22, 0.12), transparent 32%),
        linear-gradient(160deg, #09111f 0%, #0f172a 52%, #101827 100%);
}

body[data-theme="dark"]::before {
    opacity: 0.16;
}

body.policy-embedded {
    min-height: auto;
    padding: 0;
    background: #ffffff;
}

body.policy-embedded::before {
    display: none;
}

body[data-theme="dark"].policy-embedded {
    background: #0f172a;
}

body.policy-embedded [data-common-header-slot],
body.policy-embedded [data-common-footer-slot],
body.policy-embedded .dl-common-header-shell,
body.policy-embedded .dl-common-footer-shell,
body.policy-embedded .chat-fab,
body.policy-embedded .chat-overlay,
body.policy-embedded .dwc-fab,
body.policy-embedded .dwc-ai-fab,
body.policy-embedded .dwc-overlay,
body.policy-embedded .dwc-ai-overlay {
    display: none !important;
}

body.policy-embedded .legal-page {
    max-width: none;
    margin: 0;
}

body.policy-embedded .legal-shell {
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
}

body[data-theme="dark"].policy-embedded .legal-shell {
    background: transparent;
    box-shadow: none;
}

body.policy-embedded .legal-shell::before {
    display: none;
}

body.policy-embedded .legal-hero {
    padding: 20px 20px 16px;
}

body.policy-embedded .legal-content {
    padding: 0 20px 20px;
}

body.policy-embedded .legal-summary-links .legal-chip[href="/html/support/support-request.html"] {
    display: none;
}

body.policy-embedded .legal-summary-links .legal-chip[href="/html/legal/terms.html"],
body.policy-embedded .legal-summary-links .legal-chip[href="/html/legal/privacy.html"] {
    pointer-events: none;
    opacity: 0.7;
}

body.policy-embedded .legal-toc {
    position: static;
}

.legal-page {
    max-width: 1180px;
    margin: 28px auto 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.legal-shell {
    position: relative;
    border: 1px solid rgba(15, 118, 110, 0.16);
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.74);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(18px);
    overflow: hidden;
}

body[data-theme="dark"] .legal-shell {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(9, 17, 31, 0.78);
    box-shadow: 0 26px 70px rgba(2, 6, 23, 0.44);
}

.legal-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at top left, rgba(14, 165, 233, 0.14), transparent 28%),
        radial-gradient(circle at top right, rgba(249, 115, 22, 0.12), transparent 32%);
}

.legal-hero,
.legal-content {
    position: relative;
    z-index: 1;
}

.legal-hero {
    padding: 34px 36px 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.95fr);
    gap: 24px;
    align-items: stretch;
}

.legal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body[data-theme="dark"] .legal-eyebrow {
    background: rgba(45, 212, 191, 0.12);
    color: #5eead4;
}

.legal-hero h1 {
    margin-top: 18px;
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.legal-lead {
    margin-top: 18px;
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(16, 35, 60, 0.78);
}

body[data-theme="dark"] .legal-lead {
    color: rgba(226, 232, 240, 0.76);
}

.legal-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 24px;
}

.legal-meta-card,
.legal-summary,
.legal-article,
.legal-callout,
.legal-footer {
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

body[data-theme="dark"] .legal-meta-card,
body[data-theme="dark"] .legal-summary,
body[data-theme="dark"] .legal-article,
body[data-theme="dark"] .legal-callout,
body[data-theme="dark"] .legal-footer {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.legal-meta-card {
    padding: 16px 18px;
    border-radius: 20px;
}

.legal-meta-label {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(15, 118, 110, 0.7);
}

body[data-theme="dark"] .legal-meta-label {
    color: rgba(94, 234, 212, 0.76);
}

.legal-meta-value {
    margin-top: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
}

.legal-summary {
    border-radius: 24px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-summary h2 {
    font-size: 1.15rem;
}

.legal-summary p {
    line-height: 1.75;
    color: rgba(16, 35, 60, 0.76);
}

body[data-theme="dark"] .legal-summary p {
    color: rgba(226, 232, 240, 0.76);
}

.legal-summary-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.legal-summary-list li {
    position: relative;
    padding-left: 18px;
    font-size: 0.95rem;
    line-height: 1.7;
}

.legal-summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #0ea5e9, #f97316);
}

.legal-summary-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.legal-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1px solid rgba(15, 118, 110, 0.16);
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.legal-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(14, 165, 233, 0.38);
    background: rgba(255, 255, 255, 0.92);
}

body[data-theme="dark"] .legal-chip {
    border-color: rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.66);
}

body[data-theme="dark"] .legal-chip:hover {
    background: rgba(15, 23, 42, 0.88);
}

.legal-content {
    padding: 0 36px 34px;
    display: grid;
    grid-template-columns: minmax(0, 240px) minmax(0, 1fr);
    gap: 24px;
}

.legal-toc {
    position: sticky;
    top: 24px;
    align-self: start;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.legal-toc-card,
.legal-help-card {
    border-radius: 22px;
    padding: 20px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: rgba(255, 255, 255, 0.7);
}

body[data-theme="dark"] .legal-toc-card,
body[data-theme="dark"] .legal-help-card {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.62);
}

.legal-toc-card h2,
.legal-help-card h2 {
    font-size: 1rem;
    margin-bottom: 14px;
}

.legal-toc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.legal-toc-link {
    display: block;
    padding: 11px 12px;
    border-radius: 14px;
    text-decoration: none;
    color: rgba(16, 35, 60, 0.8);
    font-size: 0.92rem;
    font-weight: 600;
    border: 1px solid transparent;
    transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.legal-toc-link:hover,
.legal-toc-link.is-active {
    transform: translateX(2px);
    border-color: rgba(15, 118, 110, 0.16);
    background: rgba(15, 118, 110, 0.08);
    color: #0f766e;
}

body[data-theme="dark"] .legal-toc-link {
    color: rgba(226, 232, 240, 0.78);
}

body[data-theme="dark"] .legal-toc-link:hover,
body[data-theme="dark"] .legal-toc-link.is-active {
    border-color: rgba(45, 212, 191, 0.22);
    background: rgba(45, 212, 191, 0.12);
    color: #5eead4;
}

.legal-help-card p {
    color: rgba(16, 35, 60, 0.74);
    font-size: 0.92rem;
    line-height: 1.7;
}

body[data-theme="dark"] .legal-help-card p {
    color: rgba(226, 232, 240, 0.74);
}

.legal-document {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.legal-article,
.legal-callout,
.legal-footer {
    border-radius: 24px;
    padding: 24px;
}

.legal-article {
    scroll-margin-top: 30px;
}

.legal-article h2 {
    font-size: 1.24rem;

.legal-history {
    padding: 24px 26px;
    border-radius: 24px;
    border: 1px solid rgba(15, 118, 110, 0.14);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

body[data-theme="dark"] .legal-history {
    border-color: rgba(148, 163, 184, 0.18);
    background: rgba(15, 23, 42, 0.66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.legal-history-title {
    margin-bottom: 8px;
}

.legal-history-lead {
    color: rgba(16, 35, 60, 0.74);
    line-height: 1.7;
}

body[data-theme="dark"] .legal-history-lead {
    color: rgba(226, 232, 240, 0.74);
}

.legal-history-list {
    margin-top: 18px;
    display: grid;
    gap: 14px;
}

.legal-history-item {
    display: grid;
    grid-template-columns: 124px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid rgba(15, 118, 110, 0.12);
}

.legal-history-item:first-child {
    border-top: none;
    padding-top: 0;
}

body[data-theme="dark"] .legal-history-item {
    border-top-color: rgba(148, 163, 184, 0.16);
}

.legal-history-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.1);
    color: #0f766e;
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 0.04em;
}

body[data-theme="dark"] .legal-history-date {
    background: rgba(45, 212, 191, 0.12);
    color: #5eead4;
}

.legal-history-item ul {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
}

.legal-history-item li {
    line-height: 1.7;
    color: rgba(16, 35, 60, 0.86);
}

body[data-theme="dark"] .legal-history-item li {
    color: rgba(226, 232, 240, 0.82);
}
    margin-bottom: 12px;
}

.legal-article p,
.legal-article li {
    line-height: 1.85;
    color: rgba(16, 35, 60, 0.82);
}

body[data-theme="dark"] .legal-article p,
body[data-theme="dark"] .legal-article li {
    color: rgba(226, 232, 240, 0.82);
}

.legal-article ol,
.legal-article ul {
    margin-left: 1.25rem;
}

.legal-article ol ol,
.legal-article ul ul,
.legal-article ol ul,
.legal-article ul ol {
    margin-top: 0.4rem;
}

.legal-callout {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.08), rgba(249, 115, 22, 0.08));
}

body[data-theme="dark"] .legal-callout {
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.1), rgba(249, 115, 22, 0.1));
}

.legal-callout h2 {
    font-size: 1rem;
}

.legal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 16px 20px;
    border-radius: 18px;
    border: 1px solid rgba(148, 163, 184, 0.18);
    background: #111b2e;
    box-shadow: none;
}

.legal-footer p {
    color: #d7e1f1;
    font-size: 0.92rem;
    line-height: 1.6;
}

body[data-theme="dark"] .legal-footer p {
    color: #d7e1f1;
}

.legal-footer-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.legal-footer a,
.legal-help-card a,
.legal-article a,
.legal-summary a {
    color: #0f766e;
}

.legal-footer a,
.legal-footer a:visited,
.legal-footer a:hover,
.legal-footer a:active {
    color: #7dd3fc;
    text-decoration: none;
}

.legal-footer a:hover {
    color: #bae6fd;
}

.legal-footer-sep {
    color: rgba(203, 213, 225, 0.48);
}

body[data-theme="dark"] .legal-footer a,
body[data-theme="dark"] .legal-footer a:visited,
body[data-theme="dark"] .legal-footer a:hover,
body[data-theme="dark"] .legal-footer a:active,
body[data-theme="dark"] .legal-help-card a,
body[data-theme="dark"] .legal-article a,
body[data-theme="dark"] .legal-summary a {
    color: #5eead4;
}

body[data-theme="dark"] .legal-footer a,
body[data-theme="dark"] .legal-footer a:visited {
    color: #7dd3fc;
}

body[data-theme="dark"] .legal-footer a:hover,
body[data-theme="dark"] .legal-footer a:active {
    color: #bae6fd;
}

@media (max-width: 1080px) {
    .legal-hero,
    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-history-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .legal-content {
        gap: 18px;
    }

    .legal-toc {
        position: static;
    }
}

@media (max-width: 720px) {
    body {
        padding: 14px;
    }

    .legal-hero,
    .legal-content {
        padding-left: 18px;
        padding-right: 18px;
    }

    .legal-hero {
        padding-top: 24px;
    }

    .legal-meta-grid {
        grid-template-columns: 1fr;
    }

    .legal-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .legal-footer-nav {
        width: 100%;
        gap: 4px;
    }
}