/* Kinnoli legal pages (/privacy, /terms): calm, readable, printable. */
@font-face { font-family: Fredoka; src: url(/static/welcome/Fredoka.ttf); font-weight: 300 700; font-display: swap; }
:root { --ink: #2b1d3f; --muted: #6b6478; --bg: #fffaf0; --card: #fff; --line: #efe7d9; --violet: #6d3fe0; --soft: #f3edff;
  --display: Fredoka, ui-rounded, "SF Pro Rounded", "Segoe UI", system-ui, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.65 system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--violet); }
header.bar { position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.bar .in { width: min(1000px, 100%); margin: 0 auto; padding: 0 20px; min-height: 64px; display: flex; align-items: center; gap: 16px; }
.logo { display: flex; align-items: center; gap: 10px; font: 700 1.4rem var(--display); color: var(--ink); text-decoration: none; }
.logo img { width: 38px; height: 38px; border-radius: 50%; box-shadow: 0 0 0 3px #fff, 0 2px 8px rgba(43,29,63,.2); }
.bar nav { margin-left: auto; display: flex; gap: 18px; }
.bar nav a { color: var(--muted); font-weight: 600; text-decoration: none; }
.bar nav a[aria-current] { color: var(--ink); }
main { width: min(1000px, 100%); margin: 0 auto; padding: 40px 20px 60px; display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; }
@media (max-width: 860px) { main { grid-template-columns: 1fr; gap: 10px; } .toc { position: static !important; } }
.toc { position: sticky; top: 90px; align-self: start; font-size: .92rem; }
.toc b { display: block; font-family: var(--display); margin-bottom: 6px; }
.toc ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.toc a { color: var(--muted); text-decoration: none; } .toc a:hover { color: var(--ink); }
@media (max-width: 860px) { .toc { background: #fff; border-radius: 18px; padding: 16px 18px; box-shadow: 0 2px 10px rgba(43,29,63,.06); } }
article h1 { font: 700 clamp(2.2rem, 5vw, 3rem)/1.1 var(--display); margin: 0 0 6px; letter-spacing: -.01em; }
article .dates { color: var(--muted); margin: 0 0 26px; }
article h2 { font: 700 1.55rem/1.25 var(--display); margin: 42px 0 10px; scroll-margin-top: 90px; }
article h3 { font: 700 1.15rem/1.3 var(--display); margin: 24px 0 6px; }
article p, article li { max-width: 72ch; }
article ul, article ol { padding-left: 22px; }
article li { margin: 4px 0; }
.summary { background: var(--soft); border-radius: 22px; padding: 20px 24px; margin: 0 0 10px; }
.summary h2 { margin-top: 0; font-size: 1.3rem; }
.summary ul { margin: 0; }
.tbl { overflow-x: auto; margin: 12px 0; }
table { border-collapse: collapse; width: 100%; min-width: 560px; background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 2px 10px rgba(43,29,63,.06); font-size: .95rem; }
th, td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
th { background: #faf6ee; font-weight: 700; }
tr:last-child td { border-bottom: none; }
.caps { text-transform: uppercase; font-size: .92rem; letter-spacing: .01em; }
.fill { background: #fff1b8; border-radius: 6px; padding: 0 5px; }
footer { border-top: 1px solid var(--line); color: var(--muted); padding: 30px 20px calc(30px + env(safe-area-inset-bottom, 0px)); text-align: center; }
footer a { color: var(--ink); font-weight: 600; text-decoration: none; margin: 0 10px; }
@media print { header.bar, .toc, footer { display: none; } main { display: block; } body { background: #fff; } }
