/* Plain reading pages: Privacy & About, Contact and the owner's Messages inbox.
   They share the site's banner and palette (styles.css) but scroll normally. */
body.page { overflow: auto; display: block; height: auto; min-height: 100%; }
body.page .banner { position: sticky; top: 0; z-index: 6; }
.banner .back { position: relative; margin-left: auto; margin-right: 170px; }
.banner .logo { text-decoration: none; }
.banner .back .short { display: none; }

.doc { max-width: 680px; margin: 0 auto; padding: 30px 22px 60px; }
.doc h1 { font: 400 42px/1.1 'Leckerli One', 'Brush Script MT', cursive; color: var(--accent); margin: 0 0 4px; }
.doc .upd, .doc .lead { color: var(--muted); font-size: 14px; margin: 0 0 22px; }
.doc .lead { font-size: 16px; line-height: 1.5; }
.doc h2 { font-size: 21px; margin: 30px 0 8px; }
.doc p, .doc li { color: #d6d5f5; font-size: 15.5px; line-height: 1.6; }
.doc p { margin: 0 0 10px; }
.doc ul { margin: 0 0 10px; padding-left: 20px; }
.doc li { margin-bottom: 7px; }
.doc b { color: var(--text); }
.doc a { color: var(--accent); }

.promises { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 8px; }
.promises div {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 10px; text-align: center; font-weight: 700; font-size: 15px;
}
.promises div span { display: block; font-size: 26px; margin-bottom: 4px; }
.notice {
  background: rgba(246, 196, 83, .09); border: 1px solid rgba(246, 196, 83, .45);
  border-radius: var(--radius); padding: 14px 16px; margin: 0 0 8px;
}
.notice p:last-child { margin: 0; }

/* ---- forms (contact) */
.form { display: flex; flex-direction: column; gap: 18px; }
.form .field { display: flex; flex-direction: column; gap: 7px; }
.form .field > span { font-weight: 700; font-size: 15px; }
.form .field > span i { font-style: normal; font-weight: 500; color: var(--muted); }
.form .hint { color: var(--muted); font-size: 13.5px; margin: 0; }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text);
}
.form textarea { min-height: 150px; resize: vertical; line-height: 1.45; }
.form input:focus, .form textarea:focus { border-color: var(--accent); outline: none; }
.form input::placeholder, .form textarea::placeholder { color: #7d80b8; }
.topics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.topics label {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 14px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--panel); font-size: 15px; font-weight: 600;
}
.topics input { position: absolute; opacity: 0; pointer-events: none; }
.topics label:has(input:checked) { border-color: var(--accent); background: rgba(246, 196, 83, .12); }
.topics label:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.topics .ico { font-size: 20px; }
.form .code-input { font-weight: 700; letter-spacing: 2px; text-transform: uppercase; }
.form .trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .error { color: #ff9a9a; font-weight: 600; margin: 0; }
.form .send { align-self: flex-start; }
.form .send[disabled] { opacity: .5; }
.sent { text-align: center; padding: 40px 10px; }
.sent .big { font-size: 46px; margin-bottom: 8px; }
.sent h2 { margin: 0 0 8px; }

/* ---- the owner's inbox */
.msg { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 0 0 12px; }
.msg-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 8px; }
.msg-topic { font-weight: 700; }
.msg-when { color: var(--muted); font-size: 13px; margin-left: auto; }
.msg-body { white-space: pre-wrap; overflow-wrap: anywhere; color: #d6d5f5; line-height: 1.5; margin: 0 0 10px; }
.msg-meta { font-size: 14px; color: var(--muted); margin: 0 0 10px; overflow-wrap: anywhere; }
.msg-meta b { color: var(--text); letter-spacing: 1px; }
.msg-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.msg-actions .btn { height: 42px; font-size: 14px; }
.btn.danger { background: rgba(255, 122, 122, .16); color: #ffb3b3; }
.inbox-empty { text-align: center; color: var(--muted); padding: 50px 10px; }

@media (max-width: 760px) {
  body.page .banner .logo { font-size: 27px; }
  .banner .back { margin-right: 0; height: 40px; padding: 0 12px; font-size: 14px; }
  .banner .back .long { display: none; }
  .banner .back .short { display: inline; }
  .doc { padding: 22px 16px 50px; }
  .doc h1 { font-size: 34px; }
  .promises { grid-template-columns: 1fr; }
  .promises div { display: flex; align-items: center; gap: 10px; text-align: left; padding: 10px 14px; }
  .promises div span { font-size: 22px; margin: 0; }
  .topics { grid-template-columns: 1fr; }
}
