:root {
    --background: #f5f6f8;
    --surface: #ffffff;
    --text: #1c2430;
    --muted-text: #5d6774;
    --border: #dfe3e8;
    --accent: #3157d5;
    --page-width: 760px;
}

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

html {
    font-size: 16px;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--background);
    color: var(--text);
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    line-height: 1.7;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.legal-page {
    width: 100%;
    padding: 16px;
}

.legal-card {
    width: 100%;
    max-width: var(--page-width);
    margin: 0 auto;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px 18px;
    background: var(--surface);
}

.legal-header {
    margin-bottom: 40px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.legal-label {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

h1 {
    margin: 0;
    font-size: clamp(2rem, 11vw, 3.25rem);
    line-height: 1.1;
    letter-spacing: -0.04em;
}

.updated-date {
    margin: 16px 0 0;
    color: var(--muted-text);
    font-size: 0.875rem;
}

section {
    margin-bottom: 36px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    margin: 0 0 12px;
    font-size: 1.15rem;
    line-height: 1.4;
}

p {
    margin: 0 0 16px;
    color: var(--muted-text);
}

p:last-child {
    margin-bottom: 0;
}

ul {
    margin: 0;
    padding-left: 22px;
    color: var(--muted-text);
}

li {
    margin-bottom: 10px;
    padding-left: 3px;
}

li:last-child {
    margin-bottom: 0;
}

li::marker {
    color: var(--accent);
}

.company-name {
    margin: 0 0 24px;
    color: var(--text);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.legal-label {
    margin: 0 0 8px;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

@media (min-width: 640px) {
    .legal-page {
        padding: 48px 24px;
    }

    .legal-card {
        padding: 48px;
    }

    .legal-header {
        margin-bottom: 48px;
        padding-bottom: 36px;
    }

    h2 {
        font-size: 1.25rem;
    }
}

a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}