.privacy-policy {
    --privacy-ink: #101b36;
    --privacy-muted: #52627a;
}

.privacy-policy__container {
    max-width: 1280px;
}

.privacy-policy__hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: calc(var(--header-height) + clamp(4rem, 6vw, 6rem)) 0 clamp(5rem, 7vw, 7rem);
    background: linear-gradient(125deg, #f3f6ff 0%, #e9efff 49%, #e9e5ff 100%);
}

.privacy-policy__hero::after {
    position: absolute;
    right: -8%;
    bottom: -7.5rem;
    left: -8%;
    height: 10rem;
    border-radius: 50% 50% 0 0;
    background: rgba(255, 255, 255, 0.5);
    content: "";
    z-index: -1;
}

.privacy-policy__hero-glow {
    position: absolute;
    width: 34rem;
    aspect-ratio: 1;
    border-radius: 50%;
    filter: blur(20px);
    pointer-events: none;
    z-index: -1;
}

.privacy-policy__hero-glow--one {
    top: -18rem;
    left: -12rem;
    background: radial-gradient(circle, rgba(124, 153, 255, 0.23), transparent 69%);
}

.privacy-policy__hero-glow--two {
    right: -10rem;
    bottom: -18rem;
    background: radial-gradient(circle, rgba(157, 132, 255, 0.28), transparent 69%);
}

.privacy-policy__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.13fr) minmax(23rem, 0.87fr);
    align-items: center;
    gap: clamp(3rem, 6vw, 6.5rem);
}

.privacy-policy__hero-content {
    min-width: 0;
}

.privacy-policy__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.75rem;
    padding: 0.5rem 0.9rem;
    border: 1px solid rgba(79, 70, 229, 0.13);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 7px 20px rgba(73, 78, 166, 0.07);
    color: var(--color-primary-dark);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.035em;
    line-height: 1;
    text-transform: uppercase;
}

.privacy-policy__badge svg {
    width: 1rem;
    height: 1rem;
}

.privacy-policy__hero h1 {
    max-width: 11ch;
    margin: 0;
    color: var(--privacy-ink);
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 5vw, 5.8rem);
    font-weight: 700;
    letter-spacing: -0.055em;
    line-height: 1.04;
}

.privacy-policy__hero-description {
    max-width: 36rem;
    margin: 1.6rem 0 0;
    color: var(--privacy-muted);
    font-size: clamp(1.1rem, 1.3vw, 1.35rem);
    line-height: 1.65;
}

.privacy-policy__hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2rem;
}

.privacy-policy__hero-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    min-height: 3.25rem;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.2;
    transition: transform var(--duration-fast) var(--ease-out), box-shadow var(--duration-fast) var(--ease-out);
}

.privacy-policy__hero-actions a:hover {
    transform: translateY(-2px);
}

.privacy-policy__primary-link {
    background: linear-gradient(115deg, var(--color-primary), #6954ef);
    box-shadow: 0 12px 22px rgba(79, 70, 229, 0.2);
    color: #fff;
}

.privacy-policy__primary-link:hover {
    color: #fff;
    box-shadow: 0 16px 28px rgba(79, 70, 229, 0.25);
}

.privacy-policy__secondary-link {
    border: 1px solid rgba(79, 70, 229, 0.24);
    background: rgba(255, 255, 255, 0.48);
    color: var(--color-primary-dark);
}

.privacy-policy__updated {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.7rem 0 0;
    color: var(--privacy-muted);
    font-size: 0.85rem;
}

.privacy-policy__updated::before {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--color-secondary);
    content: "";
}

.privacy-policy__updated strong {
    color: var(--privacy-ink);
    font-weight: 600;
}

.privacy-policy__hero-card {
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.84);
    border-radius: 1.7rem;
    background: rgba(255, 255, 255, 0.79);
    box-shadow: 0 34px 70px rgba(78, 87, 170, 0.18), 0 2px 8px rgba(78, 87, 170, 0.04);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.privacy-policy__hero-card-top {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3.4rem;
    padding: 0 1.5rem;
    border-bottom: 1px solid #edf0f8;
    color: #65718b;
    font-size: 0.8rem;
    font-weight: 600;
}

.privacy-policy__hero-card-mark {
    display: inline-flex;
    gap: 0.25rem;
}

.privacy-policy__hero-card-mark span {
    width: 0.47rem;
    height: 0.47rem;
    border-radius: 50%;
    background: #fb7185;
}

.privacy-policy__hero-card-mark span:nth-child(2) {
    background: #fbbf24;
}

.privacy-policy__hero-card-mark span:nth-child(3) {
    background: #34d399;
}

.privacy-policy__hero-card-body {
    padding: 1.55rem;
}

.privacy-policy__hero-card-label {
    margin: 0 0 0.95rem;
    color: #91a0b7;
    font-size: 0.73rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.privacy-policy__hero-card-body a {
    display: grid;
    grid-template-columns: 2.75rem minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.85rem;
    min-height: 5.15rem;
    padding: 0.65rem 0.35rem;
    border-bottom: 1px solid #eef1f7;
    color: var(--privacy-ink);
}

.privacy-policy__hero-card-body a:last-child {
    border-bottom: 0;
}

.privacy-policy__hero-card-body a > span:last-child {
    color: #8b94bb;
    font-size: 1.1rem;
    transition: transform var(--duration-fast) var(--ease-out);
}

.privacy-policy__hero-card-body a:hover > span:last-child {
    transform: translate(2px, -2px);
}

.privacy-policy__hero-card-icon {
    display: grid;
    width: 2.75rem;
    height: 2.75rem;
    place-items: center;
    border-radius: 0.85rem;
    background: #eeecff;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 0.86rem;
    font-weight: 700;
}

.privacy-policy__hero-card-body a:nth-of-type(2) .privacy-policy__hero-card-icon {
    background: #e8f8fc;
    color: #0891b2;
}

.privacy-policy__hero-card-body a:nth-of-type(3) .privacy-policy__hero-card-icon {
    background: #f2ecff;
    color: #7c3aed;
}

.privacy-policy__hero-card-body strong,
.privacy-policy__hero-card-body small {
    display: block;
}

.privacy-policy__hero-card-body strong {
    font-size: 0.93rem;
    line-height: 1.25;
}

.privacy-policy__hero-card-body small {
    margin-top: 0.28rem;
    color: #748198;
    font-size: 0.78rem;
    line-height: 1.35;
}

.privacy-policy__hero-card-foot {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.55rem;
    border-top: 1px solid #edf0f8;
    background: rgba(248, 250, 255, 0.8);
    color: #77839b;
    font-size: 0.76rem;
}

.privacy-policy__hero-card-dot {
    width: 0.43rem;
    height: 0.43rem;
    border-radius: 50%;
    background: #20c997;
    box-shadow: 0 0 0 3px #d9faef;
}

.privacy-policy__main {
    padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(5rem, 8vw, 8rem);
    background: #fff;
    scroll-margin-top: calc(var(--header-height) + 1rem);
}

.privacy-policy__layout {
    display: grid;
    grid-template-columns: minmax(15.5rem, 17rem) minmax(0, 1fr);
    align-items: start;
    gap: clamp(3.25rem, 6vw, 6rem);
}

.privacy-policy__contents {
    position: sticky;
    top: calc(var(--header-height) + 1.5rem);
    max-height: calc(100vh - var(--header-height) - 3rem);
    overflow-y: auto;
    padding: 1.5rem 1.1rem 1.35rem;
    border: 1px solid #e6eaf4;
    border-radius: 1.4rem;
    background: linear-gradient(160deg, #fbfcff 0%, #f7f9ff 100%);
    box-shadow: 0 15px 38px rgba(65, 80, 145, 0.06);
    scrollbar-width: thin;
}

.privacy-policy__contents-label,
.privacy-policy__intro-label,
.privacy-policy__contact-label {
    color: var(--color-primary);
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.privacy-policy__contents-label {
    display: block;
    padding-left: 0.65rem;
}

.privacy-policy__contents h2 {
    margin: 0.28rem 0 1rem;
    padding-left: 0.65rem;
    color: var(--privacy-ink);
    font-family: var(--font-heading);
    font-size: 1.42rem;
    font-weight: 700;
    line-height: 1.2;
}

.privacy-policy__contents ol {
    display: grid;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: privacy-section;
}

.privacy-policy__contents li {
    margin: 0;
    counter-increment: privacy-section;
}

.privacy-policy__contents a {
    display: grid;
    grid-template-columns: 1.6rem minmax(0, 1fr);
    align-items: start;
    gap: 0.38rem;
    padding: 0.55rem 0.65rem;
    border-radius: 0.72rem;
    color: var(--privacy-muted);
    font-size: 0.83rem;
    font-weight: 550;
    line-height: 1.35;
    text-decoration: none;
    transition: background var(--duration-fast) var(--ease-out), color var(--duration-fast) var(--ease-out);
}

.privacy-policy__contents a::before {
    color: #909ad0;
    content: counter(privacy-section, decimal-leading-zero);
    font-family: var(--font-mono);
    font-size: 0.64rem;
    font-weight: 700;
    line-height: 1.9;
}

.privacy-policy__contents a:hover,
.privacy-policy__contents a:focus-visible {
    background: #ebeefe;
    color: var(--color-primary-dark);
}

.privacy-policy__body {
    min-width: 0;
    max-width: 50rem;
}

.privacy-policy__intro {
    margin-bottom: 3.5rem;
    padding: clamp(1.6rem, 3vw, 2.4rem);
    border: 1px solid #e6eafa;
    border-left: 4px solid var(--color-primary);
    border-radius: 0 1.25rem 1.25rem 0;
    background: linear-gradient(130deg, #f8faff 0%, #f8faff 60%, #f1f4ff 100%);
}

.privacy-policy__intro-label {
    display: block;
    margin-bottom: 0.9rem;
}

.privacy-policy__intro p:last-child {
    margin-bottom: 0;
}

.privacy-policy__body p,
.privacy-policy__body li {
    color: var(--privacy-muted);
    font-size: clamp(1rem, 0.28vw + 0.95rem, 1.075rem);
    line-height: 1.8;
}

.privacy-policy__body p {
    margin-bottom: 1.3em;
}

.privacy-policy__body strong {
    color: #27344f;
    font-weight: 700;
}

.privacy-policy__body h2[id] {
    margin: 3.6rem 0 1.25rem;
    padding-top: 2rem;
    border-top: 1px solid #e9edf5;
    color: var(--privacy-ink);
    font-family: var(--font-heading);
    font-size: clamp(1.65rem, 2vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
    scroll-margin-top: calc(var(--header-height) + 1.4rem);
}

.privacy-policy__body h2[id]::before {
    display: block;
    width: 2.3rem;
    height: 0.25rem;
    margin-bottom: 1rem;
    border-radius: var(--radius-full);
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    content: "";
}

.privacy-policy__body h2[id]:first-of-type {
    margin-top: 0;
}

.privacy-policy__body ul {
    margin: 1.2rem 0 1.6rem;
    padding-left: 1.5rem;
}

.privacy-policy__body li {
    padding-left: 0.25rem;
    margin-bottom: 0.7rem;
}

.privacy-policy__body li::marker {
    color: var(--color-primary);
}

.privacy-policy__body p a,
.privacy-policy__body li a {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: rgba(79, 70, 229, 0.38);
    text-underline-offset: 0.18em;
}

.privacy-policy__body p a:hover,
.privacy-policy__body li a:hover {
    text-decoration-color: currentColor;
}

.privacy-policy__contact {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    overflow: hidden;
    margin-top: 4.3rem;
    padding: clamp(2rem, 3vw, 2.75rem);
    border-radius: 1.55rem;
    background: linear-gradient(115deg, #27256a, #4f46e5 68%, #5d66e8);
    box-shadow: 0 22px 42px rgba(79, 70, 229, 0.18);
}

.privacy-policy__contact::after {
    position: absolute;
    right: -4rem;
    bottom: -8rem;
    width: 19rem;
    height: 19rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.045), 0 0 0 6rem rgba(255, 255, 255, 0.035);
    content: "";
    pointer-events: none;
}

.privacy-policy__contact > * {
    position: relative;
    z-index: 1;
}

.privacy-policy__contact-label {
    color: #bfe8ff;
}

.privacy-policy__contact h2 {
    margin: 0.55rem 0 0.35rem;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(1.45rem, 2vw, 2rem);
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.privacy-policy__contact p {
    margin: 0;
    color: #dfe5ff;
    font-size: 0.95rem;
}

.privacy-policy__contact a {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    flex: 0 0 auto;
    min-height: 3.2rem;
    padding: 0.7rem 1.05rem;
    border-radius: var(--radius-full);
    background: #fff;
    color: var(--color-primary-dark);
    font-size: 0.87rem;
    font-weight: 700;
    text-decoration: none;
}

.privacy-policy__contact a:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

@media (max-width: 980px) {
    .privacy-policy__hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.82fr);
        gap: 2.5rem;
    }

    .privacy-policy__hero h1 {
        font-size: clamp(3rem, 5vw, 4.5rem);
    }

    .privacy-policy__layout {
        grid-template-columns: minmax(13rem, 15rem) minmax(0, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 760px) {
    .privacy-policy__hero {
        padding: calc(var(--header-height) + 3rem) 0 4.25rem;
    }

    .privacy-policy__hero-grid,
    .privacy-policy__layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .privacy-policy__hero-grid {
        gap: 2.6rem;
    }

    .privacy-policy__hero h1 {
        max-width: none;
        font-size: clamp(3.1rem, 9vw, 4.6rem);
    }

    .privacy-policy__hero-card {
        max-width: 35rem;
    }

    .privacy-policy__main {
        padding-top: 3.4rem;
    }

    .privacy-policy__layout {
        gap: 2.6rem;
    }

    .privacy-policy__contents {
        position: static;
        max-height: none;
        overflow: hidden;
        padding: 1.15rem 0 1.15rem 1.15rem;
    }

    .privacy-policy__contents-label,
    .privacy-policy__contents h2 {
        padding-left: 0;
    }

    .privacy-policy__contents h2 {
        margin-bottom: 0.9rem;
    }

    .privacy-policy__contents ol {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        padding: 0 1.15rem 0.2rem 0;
        scrollbar-width: thin;
    }

    .privacy-policy__contents li {
        flex: 0 0 auto;
    }

    .privacy-policy__contents a {
        display: inline-flex;
        align-items: center;
        white-space: nowrap;
        padding: 0.55rem 0.8rem;
        border: 1px solid #e2e7f7;
        background: #fff;
    }

    .privacy-policy__contents a::before {
        margin-right: 0.15rem;
    }

    .privacy-policy__intro {
        margin-bottom: 3rem;
    }
}

@media (max-width: 540px) {
    .privacy-policy__hero {
        padding-bottom: 3.5rem;
    }

    .privacy-policy__badge {
        margin-bottom: 1.3rem;
        font-size: 0.68rem;
    }

    .privacy-policy__hero-description {
        margin-top: 1rem;
        font-size: 1.05rem;
    }

    .privacy-policy__hero-actions {
        align-items: stretch;
        gap: 0.7rem;
        margin-top: 1.5rem;
    }

    .privacy-policy__hero-actions a {
        width: 100%;
    }

    .privacy-policy__updated {
        margin-top: 1.2rem;
    }

    .privacy-policy__hero-card {
        display: none;
    }

    .privacy-policy__main {
        padding-top: 2.6rem;
    }

    .privacy-policy__body h2[id] {
        margin-top: 3rem;
        padding-top: 1.55rem;
    }

    .privacy-policy__contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.4rem;
        padding: 1.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .privacy-policy__hero-actions a,
    .privacy-policy__hero-card-body a > span:last-child,
    .privacy-policy__contact a {
        transition: none;
    }
}
