:root {
    color-scheme: light dark;
    --page: #ffffff;
    --text: #17202a;
    --muted: #687581;
    --surface: #f3f5f7;
    --line: #e2e7eb;
    --link: #1677e8;
}

* { box-sizing: border-box; }
html { background: var(--page); }
body {
    margin: 0;
    color: var(--text);
    background: var(--page);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}
main { max-width: 820px; margin: 0 auto; padding: 18px 18px 48px; }
.legal-tools {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}
a { color: var(--link); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }
article { padding-top: 18px; }
.product { margin: 0 0 5px; color: var(--link); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
h1 { margin: 0; font-size: clamp(28px, 6vw, 40px); line-height: 1.18; }
.meta { color: var(--muted); font-size: 13px; line-height: 1.65; }
h2 { margin: 1.7em 0 .55em; font-size: 20px; line-height: 1.35; }
p, li { font-size: 16px; line-height: 1.72; }
ul { padding-inline-start: 1.35em; }
.notice { padding: 13px 15px; border-radius: 12px; background: var(--surface); }

@media (prefers-color-scheme: dark) {
    :root {
        --page: #252d30;
        --text: #f2f5f6;
        --muted: #aeb9be;
        --surface: #343e42;
        --line: #485459;
        --link: #67adff;
    }
}

html[data-theme="dark"] {
    --page: #252d30;
    --text: #f2f5f6;
    --muted: #aeb9be;
    --surface: #343e42;
    --line: #485459;
    --link: #67adff;
}

html[data-theme="light"] {
    --page: #ffffff;
    --text: #17202a;
    --muted: #687581;
    --surface: #f3f5f7;
    --line: #e2e7eb;
    --link: #1677e8;
}

@media (max-width: 560px) {
    main { padding: 14px 16px 40px; }
    h2 { font-size: 19px; }
}
