.note-count {
    display: inline-flex;
    margin-top: 16px;
    min-height: 28px;
    padding: 0 10px;
    align-items: center;
    border-radius: 999px;
    background: var(--ice);
    color: var(--accent);
    font-size: 13px;
}
.note-list { display: grid; gap: 14px; padding-bottom: 88px; }
.note {
    display: grid;
    gap: 8px;
    padding: 22px 24px 20px;
    border-radius: 18px;
    background: #fff;
    color: inherit;
    box-shadow: var(--shadow);
    transition: transform 200ms ease, box-shadow 200ms ease;
}
.note:hover { transform: translateY(-3px); box-shadow: 0 22px 48px rgba(16, 32, 64, 0.14); }
.note-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.note time { color: var(--ink-soft); font-size: 14px; font-variant-numeric: tabular-nums; }
.note-meta span {
    display: inline-flex;
    min-height: 24px;
    padding: 0 8px;
    align-items: center;
    border-radius: 999px;
    background: var(--ice);
    color: var(--accent);
    font-size: 13px;
}
.note strong {
    color: var(--night);
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 520;
    letter-spacing: -0.03em;
    line-height: 1.25;
}
.note p { max-width: 62ch; color: var(--ink-soft); }
.note:first-child {
    padding: 28px 28px 24px;
    background:
        radial-gradient(180px 100px at 100% 0%, rgba(255, 255, 255, 0.22), transparent 70%),
        linear-gradient(165deg, #102040, #1a4f8c);
}
.note:first-child time { color: rgba(255, 255, 255, 0.7); }
.note:first-child .note-meta span { background: rgba(255, 255, 255, 0.14); color: #fff; }
.note:first-child strong { color: #fff; font-size: clamp(28px, 4vw, 40px); }
.note:first-child p { color: rgba(255, 255, 255, 0.78); }
.legal {
    display: grid;
    grid-template-columns: 180px minmax(0, 68ch);
    gap: 48px;
    align-items: start;
    padding-bottom: 88px;
}
.legal-toc {
    position: sticky;
    top: calc(var(--header) + 18px);
    display: grid;
    gap: 2px;
}
.legal-toc a {
    padding: 8px 10px;
    border-radius: 8px;
    color: var(--ink-soft);
    transition: background 180ms ease, color 180ms ease;
}
.legal-toc a:hover { background: var(--ice); color: var(--night); }
.legal .prose { max-width: none; padding-bottom: 0; }
.legal .prose h2 {
    margin: 36px 0 12px;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    scroll-margin-top: calc(var(--header) + 16px);
}
.legal .prose h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal .prose p, .legal .prose li { line-height: 1.7; }
.legal .prose ul { list-style: none; margin: 12px 0 0; padding: 0; }
.legal .prose li {
    position: relative;
    margin: 0;
    padding: 10px 0 10px 16px;
    border-top: 1px solid var(--line);
}
.legal .prose li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}
@media (max-width: 800px) {
    .legal { grid-template-columns: 1fr; gap: 18px; }
    .legal-toc { position: static; grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; }
}
@media (prefers-reduced-motion: reduce) {
    .note, .legal-toc a { transition: none; }
    .note:hover { transform: none; }
}
