:root {
    color-scheme: dark;
    --ink: #F2EDE7;
    --ink2: #A89E94;
    --ink-faint: #6E655C;
    --bg: #141110;
    --bg-el: #1E1A18;
    --bg-sel: #282320;
    --accent: #E8A33D;
    --line-solid: #332D28;
    --on-accent: #141110;
    --background: var(--bg);
    --surface: var(--bg-el);
    --surface-raised: var(--bg-sel);
    --text: var(--ink);
    --text-muted: var(--ink2);
    --accent-soft: #f3c785;
    --line: rgba(242, 237, 231, 0.13);
    --line-strong: rgba(232, 163, 61, 0.35);
    --shadow: 0 24px 64px rgba(0, 0, 0, 0.24);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(90% 40% at 50% -5%, rgba(232,163,61,0.14) 0%, rgba(232,163,61,0.04) 45%, rgba(232,163,61,0) 75%),
        radial-gradient(120% 120% at 50% 0%, #221C18 0%, #191411 48%, #141110 100%);
    color: var(--text);
    font-family: Archivo, system-ui, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--accent-soft);
    text-underline-offset: 0.2em;
}

a:hover {
    color: var(--text);
}

a:focus-visible {
    border-radius: 4px;
    outline: 3px solid rgba(232, 163, 61, 0.45);
    outline-offset: 4px;
}

.shell {
    width: min(1120px, calc(100% - 40px));
    margin-inline: auto;
}

.skip-link {
    position: fixed;
    z-index: 20;
    top: 12px;
    left: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    background: var(--accent);
    color: var(--background);
    font-weight: 700;
    transform: translateY(-150%);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--line);
    background: rgba(20, 17, 16, 0.82);
    backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--text);
    font-family: "Archivo Black", Archivo, system-ui, sans-serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.02em;
    text-decoration: none;
}

.brand-mark {
    color: var(--accent);
    text-shadow: 0 0 18px rgba(232,163,61,0.9);
}

.site-header nav,
.footer-links,
.summary-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.site-header nav a {
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
}

.site-header nav a.active,
.site-header nav a:hover {
    background: var(--surface-raised);
    color: var(--text);
}

.hero {
    max-width: 790px;
    padding: 104px 0 64px;
    scroll-margin-top: 24px;
}

.legal-hero {
    padding-bottom: 44px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

h1,
h2,
h3,
p {
    overflow-wrap: break-word;
}

h1,
h2,
h3 {
    color: var(--text);
    line-height: 1.18;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-family: "Archivo Black", Archivo, system-ui, sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 8vw, 6.5rem);
    letter-spacing: -0.065em;
}

h2 {
    margin: 0 0 16px;
    font-size: clamp(1.55rem, 3vw, 2.2rem);
    letter-spacing: -0.035em;
}

h3 {
    margin: 0 0 10px;
    font-size: 1.08rem;
}

.lede {
    max-width: 680px;
    margin: 24px 0 0;
    color: var(--text-muted);
    font-size: clamp(1.12rem, 2.2vw, 1.42rem);
}

.effective-date {
    margin: 22px 0 0;
    color: var(--text-muted);
    font-size: 14px;
}

.contact-card,
.summary-card,
.plain-card,
.notice,
.info-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(38, 33, 30, 0.96), rgba(29, 25, 23, 0.96));
    box-shadow: var(--shadow);
}

.contact-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 48px;
    padding: clamp(28px, 5vw, 50px);
    border-color: var(--line-strong);
}

.contact-card p:not(.eyebrow),
.plain-card p,
.summary-card p,
.notice p,
.info-card p {
    margin: 0;
    color: var(--text-muted);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: 999px;
    background: var(--accent);
    color: var(--background);
    font-weight: 780;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;
}

.button:hover {
    background: var(--accent-soft);
    color: var(--background);
}

.content-section {
    padding: 96px 0;
}

.section-heading {
    max-width: 620px;
    margin-bottom: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.info-card {
    min-height: 230px;
    padding: 28px;
    box-shadow: none;
}

.card-number {
    display: block;
    margin-bottom: 42px;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.plain-card {
    padding: clamp(26px, 4vw, 42px);
}

.summary-card {
    max-width: 900px;
    margin-bottom: 74px;
    padding: clamp(28px, 5vw, 48px);
    border-color: var(--line-strong);
}

.summary-card > p:not(.eyebrow) {
    max-width: 730px;
}

.summary-actions {
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 28px;
}

.text-link {
    font-weight: 700;
}

.legal-layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 720px);
    align-items: start;
    justify-content: space-between;
    gap: clamp(48px, 8vw, 110px);
}

.contents {
    position: sticky;
    top: 28px;
    padding-left: 2px;
}

.contents ol {
    display: grid;
    gap: 7px;
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: contents;
}

.contents a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
}

.contents a:hover {
    color: var(--text);
}

.policy section {
    scroll-margin-top: 28px;
    padding: 0 0 58px;
}

.policy section + section {
    padding-top: 58px;
    border-top: 1px solid var(--line);
}

.policy h3 {
    margin-top: 30px;
}

.policy p,
.policy li,
.plain-card li,
.notice p,
.operator-note {
    color: var(--text-muted);
}

.policy p,
.policy ul {
    margin: 0 0 20px;
}

.policy li + li,
.check-list li + li {
    margin-top: 10px;
}

.policy strong {
    color: var(--text);
}

.deletion-card {
    margin-bottom: 28px;
}

.deletion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.check-list,
.steps-list {
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    position: relative;
    padding-left: 26px;
}

.check-list li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 800;
}

.steps-list {
    display: grid;
    gap: 18px;
}

.steps-list li {
    display: grid;
    grid-template-columns: 30px 1fr;
    gap: 12px;
    align-items: start;
    color: var(--text-muted);
}

.steps-list span {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    color: var(--accent);
    font-size: 12px;
    font-weight: 800;
}

.notice {
    margin-top: 28px;
    padding: clamp(24px, 4vw, 36px);
    border-color: rgba(242, 237, 231, 0.2);
    box-shadow: none;
}

.notice h2 {
    font-size: 1.25rem;
}

.operator-note {
    margin: 28px 0 0;
    font-size: 14px;
}

.site-footer {
    margin-top: 100px;
    border-top: 1px solid var(--line);
}

.footer-inner {
    min-height: 118px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    color: var(--text-muted);
    font-size: 13px;
}

.footer-inner p {
    margin: 0;
}

.footer-links {
    flex-wrap: wrap;
    gap: 18px;
}

.footer-links a {
    color: var(--text-muted);
}

@media (max-width: 760px) {
    .shell {
        width: min(100% - 28px, 680px);
    }

    .header-inner {
        min-height: 68px;
    }

    .hero {
        padding: 72px 0 44px;
    }

    h1 {
        font-size: clamp(2.8rem, 15vw, 4.7rem);
    }

    .contact-card,
    .deletion-grid,
    .card-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        gap: 26px;
    }

    .contact-card .button {
        width: 100%;
    }

    .content-section {
        padding: 68px 0;
    }

    .info-card {
        min-height: 0;
    }

    .card-number {
        margin-bottom: 28px;
    }

    .legal-layout {
        display: block;
    }

    .contents {
        position: static;
        margin-bottom: 64px;
        padding: 24px;
        border: 1px solid var(--line);
        border-radius: 18px;
        background: var(--surface);
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        padding: 28px 0;
    }
}

@media (max-width: 420px) {
    .site-header nav a {
        padding: 7px 8px;
        font-size: 13px;
    }

    .brand {
        font-size: 18px;
    }
}

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

@media print {
    :root {
        color-scheme: light;
    }

    body {
        background: #fff;
        color: #111;
    }

    .site-header,
    .site-footer,
    .contents,
    .summary-actions {
        display: none;
    }

    .legal-layout {
        display: block;
    }

    .policy h2,
    .policy h3,
    .policy p,
    .policy li,
    h1 {
        color: #111;
    }
}
