/* Shared by privacy.html, terms.html and delete-account.html: a plain document layout. */
:root {
  --ink: #2B1F14; --ink-soft: #6B5F54; --brand: #E8722A; --link: #B8470F;
  --line: #E8E2DA; --chip: #F3EEE7; --chip-on: #2B1F14; --chip-on-text: #FF9B4E;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: #fff; color: var(--ink); font-size: 15px; line-height: 1.7;
  font-family: 'Be Vietnam Pro', 'Shippori Mincho', system-ui, sans-serif;
}
[hidden] { display: none !important; }

header.bar {
  position: sticky; top: 0; z-index: 10; background: rgba(255, 255, 255, .95);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0 clamp(1rem, 5vw, 3rem); height: 52px;
}
header.bar > a { color: var(--ink); text-decoration: none; font-weight: 800; }
header.bar > a span { color: var(--brand); }
header.bar nav { display: flex; align-items: center; gap: 1rem; font-size: .88rem; }
header.bar nav a { color: var(--ink-soft); text-decoration: none; }
header.bar nav a:hover, header.bar nav a[aria-current] { color: var(--link); }

.lang-switch { display: inline-flex; gap: 2px; background: var(--chip); border-radius: 999px; padding: 3px; }
.lang-switch button {
  font: inherit; font-size: .75rem; font-weight: 700; border: 0; background: transparent;
  color: var(--ink-soft); padding: .2rem .6rem; border-radius: 999px; cursor: pointer;
}
.lang-switch button.active { background: var(--chip-on); color: var(--chip-on-text); }

main { max-width: 720px; margin: 0 auto; padding: 2rem 1.2rem 3rem; }
h1 { font-size: 1.6rem; line-height: 1.25; margin: 0 0 .25rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; }
.updated { color: var(--ink-soft); font-size: .85rem; margin: 0 0 1.2rem; }

.toc { border: 1px solid var(--line); border-radius: 8px; padding: .8rem 1.1rem; margin: 0 0 1.6rem; font-size: .88rem; }
.toc strong { display: block; margin-bottom: .3rem; }
.toc ol { margin: 0; padding-left: 1.2rem; columns: 2; column-gap: 1.5rem; }
.toc li { margin: 0 0 .2rem; break-inside: avoid; }

section { margin: 0; padding: 0 0 .6rem; scroll-margin-top: 64px; }
h3 { font-size: 1.02rem; margin: 1.6rem 0 .4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-weight: 700; }
p { margin: .4rem 0; }
ul, ol { margin: .3rem 0 .6rem; padding-left: 1.3rem; }
li { margin-bottom: .3rem; }
a { color: var(--link); }
.note { color: var(--ink-soft); font-size: .88rem; }

footer.page { text-align: center; color: var(--ink-soft); font-size: .82rem; padding: 1.5rem 1rem 2.5rem; border-top: 1px solid var(--line); }
footer.page a { color: var(--ink-soft); }

@media (max-width: 560px) {
  .toc ol { columns: 1; }
  header.bar nav { gap: .6rem; }
}
