/* humelodica.app — shared styles. Colours and type follow the app (page #F8F9F2, ink #121A13, Outfit). */
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/outfit-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Outfit'; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(/fonts/outfit-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root { --page: #F8F9F2; --ink: #121A13; --muted: #5b6158; --line: #dfe2d6; --box: #eef0e6; --mark: #ffe28a; }
html, body { margin: 0; background: var(--page); color: var(--ink); font-family: 'Outfit', 'Helvetica Neue', sans-serif; }
a { color: inherit; }

.top { max-width: 720px; margin: 0 auto; padding: 20px 20px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { font-weight: 600; font-size: 20px; text-decoration: none; letter-spacing: -0.3px; }
.top nav { display: flex; gap: 18px; font-size: 15px; }
.top nav a { color: var(--muted); text-decoration: none; }
.top nav a:hover { color: var(--ink); }

.doc { max-width: 720px; margin: 0 auto; padding: 8px 20px 64px; font-size: 17px; line-height: 1.6; }
.doc h1 { font-size: clamp(34px, 8vw, 48px); font-weight: 600; letter-spacing: -0.6px; line-height: 1.08; margin: 36px 0 8px; }
.doc h2 { font-size: 23px; font-weight: 600; letter-spacing: -0.2px; margin: 44px 0 10px; }
.doc p, .doc li { color: #262c26; }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 4px 0; }
.doc code { font-size: 0.92em; background: var(--box); padding: 1px 5px; border-radius: 5px; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 48px 0 20px; }
.doc hr + p { font-size: 14px; color: var(--muted); }

.short { background: var(--box); border-radius: 16px; padding: 4px 20px; margin: 12px 0 18px; }
.short p, .short li { color: var(--ink); }

.tw { overflow-x: auto; margin: 14px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; line-height: 1.45; }
th, td { text-align: left; vertical-align: top; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); }
th { font-weight: 600; }

mark { background: var(--mark); color: var(--ink); border-radius: 4px; padding: 0 3px; }
.draft { background: var(--ink); color: var(--page); text-align: center; font-size: 14px; padding: 8px 16px; }

/* Phones: each table row becomes a card, each cell labelled with its column. */
@media (max-width: 560px) {
  table, tbody, tr, td { display: block; width: 100%; }
  thead { display: none; }
  tr { background: var(--box); border-radius: 14px; padding: 10px 14px; margin: 10px 0; box-sizing: border-box; }
  td { border: 0; padding: 3px 0; }
  td::before { content: attr(data-label); display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.3px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
  td:first-child::before { display: none; }
  td:first-child { font-size: 16px; }
}
