/* Lantern Tales — tokens from DESIGN.md. System fonts only, so the page
   makes no external requests: fitting for a site whose privacy policy says
   nothing is collected. */
:root {
  --paper: #FAF3E3; --card: #FFFCF4; --ink: #2C2733; --ink-soft: #6F6880;
  --lantern: #EFAD4D; --moon: #6E86AE; --line: rgba(44,39,51,.12);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151C2E; --card: #202A44; --ink: #F3E7CE; --ink-soft: #C7BCA4;
    --lantern: #EFAD4D; --moon: #9DB3D6; --line: rgba(243,231,206,.14);
  }
}
* { box-sizing: border-box; }
body {
  margin: 0; padding: 0 20px 80px;
  background: var(--paper); color: var(--ink);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  -webkit-text-size-adjust: 100%;
}
.wrap { max-width: 40rem; margin: 0 auto; }
header { padding: 40px 0 8px; }
.brand {
  font-family: "New York", Georgia, "Times New Roman", serif;
  font-weight: 600; font-size: 21px; color: var(--ink);
  text-decoration: none; display: inline-block;
}
.brand .dot { color: var(--lantern); }
h1 {
  font-family: "New York", Georgia, "Times New Roman", serif;
  font-size: 33px; line-height: 1.2; margin: 26px 0 6px; font-weight: 600;
}
h2 { font-size: 21px; margin: 30px 0 8px; font-weight: 600; }
h3 { font-size: 17px; margin: 26px 0 6px; font-weight: 600; }
p { margin: 0 0 14px; }
a { color: var(--moon); }
.updated { color: var(--ink-soft); font-size: 14px; margin-bottom: 26px; }
.contact { margin-top: 26px; }
.operator { background: var(--card); border: 1px solid var(--line);
            border-radius: 12px; padding: 14px 16px; }
/* Running-stitch divider — the app's signature motif. */
.stitch { border: 0; height: 2px; margin: 34px 0;
  background: repeating-linear-gradient(to right,
    var(--ink-soft) 0 8px, transparent 8px 13px); opacity: .45; }
.langs { display: flex; flex-wrap: wrap; gap: 6px; margin: 22px 0 0; }
.langs button {
  font: inherit; font-size: 13px; cursor: pointer;
  background: transparent; color: var(--ink-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px;
}
.langs button[aria-current="true"] {
  background: var(--lantern); border-color: var(--lantern); color: #2C2733;
}
nav.pages { margin: 34px 0 0; font-size: 15px; }
nav.pages a { margin-right: 16px; }
footer { margin-top: 46px; padding-top: 20px; border-top: 1px solid var(--line);
         color: var(--ink-soft); font-size: 14px; }
section[data-lang][hidden] { display: none; }
section[dir="rtl"] { text-align: right; }
