/* Mitzi: a sky-blue notebook page with a cat at the top, like the app's home screen. */
:root {
  color-scheme: light dark;
  --paper: #f5fafd;
  --ink: #142630;
  --soft: #4f6875;
  --rule: #d6e6ef;
  --accent: #053A4F;
  --mint: #8ee0c0;
  --pink: #ffadc4;
  --sky: #8fd3ff;
  --select: rgba(5, 58, 79, .16);
  --font: 'Mitzi', -apple-system, 'Segoe UI', sans-serif;
  --head-weight: 700;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0b171d;
    --ink: #e3eef3;
    --soft: #93acb8;
    --rule: #1f3540;
    --accent: #3092B5;
    --select: rgba(48, 146, 181, .3);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.125rem/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--select); }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

header, article, footer { width: min(100% - 32px, 32rem); margin-inline: auto; }
header { padding: 40px 0 8px; }
.brand { display: flex; align-items: center; gap: 14px; margin: 0 0 18px; }
.brand svg { width: 84px; height: 84px; flex: none; }
.brand span { font-weight: var(--head-weight); font-size: 1.6rem; color: var(--accent); letter-spacing: -.01em; }
.langs { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0; padding: 0; list-style: none; font-size: 1rem; }
.langs a { display: inline-block; padding: 10px 0; }

article { padding: 24px 0 8px; text-align: start; }
h1 { font-weight: var(--head-weight); font-size: clamp(2.2rem, 8vw, 2.9rem); line-height: 1.05; color: var(--accent); margin: 0 0 10px; text-wrap: balance; }
.date { color: var(--soft); font-size: .98rem; margin: 0 0 28px; }
h2 { font-weight: var(--head-weight); font-size: 1.3rem; line-height: 1.25; color: var(--accent); margin: 40px 0 8px; text-wrap: balance; }
p { margin: 0 0 14px; text-wrap: pretty; }
ul { margin: 0 0 14px; padding-inline-start: 1.2em; }
li { margin: 0 0 8px; padding-inline-start: .2em; text-wrap: pretty; }
li::marker { color: var(--sky); }
strong { font-weight: var(--head-weight); }
.contact { margin-top: 36px; }

/* three paw prints between the languages */
.paws { display: block; width: 92px; height: 28px; margin-block: 44px 0; margin-inline: 0 auto; color: var(--pink); }

footer { padding: 40px 0 56px; color: var(--soft); font-size: .95rem; }
footer a { display: inline-block; padding: 10px 0; }

[lang="ar"] { line-height: 1.85; }

@media (max-width: 520px) {
  header { padding-top: 28px; }
  .brand svg { width: 68px; height: 68px; }
  h2 { margin-top: 34px; }
}
@media (max-width: 360px) {
  .brand span { font-size: 1.35rem; }
}
