/* Shared styles for the static legal pages (privacy policy, account deletion). */

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

body {
    margin: 0;
    font-family: "Dazzed", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #000000;
    color: #cccccc;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.page {
    max-width: 760px;
    margin: 0 auto;
    padding: 40px 20px 64px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #ffffff;
    text-decoration: none;
    border-bottom: none;
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 40px;
}

.brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
}

h1 {
    color: #ffffff;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    margin: 0 0 8px;
}

h2 {
    color: #ffffff;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 600;
    margin: 48px 0 12px;
    scroll-margin-top: 24px;
}

h3 {
    color: #ffffff;
    font-size: 17px;
    font-weight: 600;
    margin: 28px 0 8px;
}

p,
li {
    font-size: 16px;
}

p {
    margin: 0 0 16px;
}

ol,
ul {
    padding-left: 24px;
    margin: 0 0 16px;
}

li {
    margin-bottom: 6px;
}

strong {
    color: #ffffff;
    font-weight: 600;
}

a {
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #666666;
    overflow-wrap: anywhere;
    transition: border-color 0.2s ease;
}

a:hover {
    border-bottom-color: #ffffff;
}

.meta {
    color: #999999;
    font-size: 15px;
    margin-bottom: 32px;
}

.toc {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 8px;
}

.toc-title {
    color: #999999;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.toc ol {
    margin: 0;
}

.callout {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 24px 0;
}

.callout > :last-child {
    margin-bottom: 0;
}

.steps {
    counter-reset: step;
    list-style: none;
    padding: 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 44px;
    margin-bottom: 16px;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #ffffff;
    color: #000000;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

pre {
    background: #111111;
    border: 1px solid #222222;
    border-radius: 12px;
    padding: 16px;
    margin: 0 0 16px;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 14px;
    color: #ffffff;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.button {
    display: inline-block;
    padding: 14px 28px;
    background: #ffffff;
    color: #000000;
    border: 2px solid #ffffff;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.2s ease;
}

.button:hover {
    background: #000000;
    color: #ffffff;
    border-bottom-color: #ffffff;
}

footer {
    margin-top: 64px;
    padding-top: 24px;
    border-top: 1px solid #222222;
    color: #666666;
    font-size: 14px;
}

footer p {
    font-size: 14px;
    margin-bottom: 8px;
}

footer a {
    color: #999999;
}

@media (max-width: 480px) {
    .page {
        padding-top: 28px;
    }

    h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 20px;
    }
}
