/* Nooktide legal and support pages. Matches the app: warm canvas, coral accent. */
:root {
  --canvas: #FAFAF8;
  --card: #FFFFFF;
  --text: #1C1B19;
  --body: #3D3B37;
  --muted: #77736B;
  --line: #E8E5DF;
  --accent: #B23C20;
  --spark: #FF6B4A;
  --badge: #FBE9E3;
}
@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #1C1C1E;
    --card: #2A2A2D;
    --text: #F4F2EE;
    --body: #D9D6D0;
    --muted: #A19D95;
    --line: #3A3A3D;
    --accent: #FF6B4A;
    --badge: #3A2620;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 16px 64px; }
header.site {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 20px; }
.brand svg { width: 26px; height: 26px; }
.langs { display: flex; gap: 4px; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.langs button {
  border: 0; background: transparent; color: var(--muted); font: inherit; font-size: 14px; font-weight: 600;
  padding: 4px 12px; border-radius: 999px; cursor: pointer;
}
.langs button[aria-pressed="true"] { background: var(--accent); color: #fff; }
h1 { color: var(--text); font-size: 34px; line-height: 1.2; letter-spacing: -0.5px; margin: 0 0 6px; }
h2 { color: var(--text); font-size: 21px; margin: 34px 0 8px; }
h3 { color: var(--text); font-size: 17px; margin: 22px 0 4px; }
p, li { color: var(--body); }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
a { color: var(--accent); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px; margin: 18px 0; }
.card > :first-child { margin-top: 0; }
.card > :last-child { margin-bottom: 0; }
table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 12px 0; }
th, td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
th { color: var(--text); font-weight: 600; }
.table-scroll { overflow-x: auto; }
.contact { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 600; padding: 12px 20px; border-radius: 999px; }
.pill { display: inline-block; background: var(--badge); color: var(--accent); font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }
nav.pages { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 15px; }
footer.site { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
details { border-bottom: 1px solid var(--line); padding: 12px 0; }
details summary { color: var(--text); font-weight: 600; cursor: pointer; }
details p { margin: 8px 0 0; }
/* Language: both are visible without JavaScript; the script shows one. */
html.js [lang]:not(html) { display: none; }
html.js.show-tr [lang="tr"], html.js.show-en [lang="en"] { display: revert; }
@media (max-width: 480px) { h1 { font-size: 28px; } body { font-size: 16px; } }
