/* Sikiza public pages. RedZoc family colours (decision 23.9.16); Atkinson Hyperlegible for all text. */

@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-400.woff2") format("woff2"); }
@font-face { font-family: "Atkinson Hyperlegible"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/atkinson-hyperlegible-700.woff2") format("woff2"); }

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --surface: #f8f5f6;
  --text: #1a1a1a;
  --muted: #595959;          /* 7:1 on white */
  --line: #e7e1e3;
  --brand: #ea033b;          /* 4.59:1 on white */
  --link-on-surface: #da0337;/* 4.8:1 on #f8f5f6 */
  --on-brand: #ffffff;
  --font: "Atkinson Hyperlegible", "Segoe UI", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121212;
    --surface: #1c1b1c;
    --text: #ededed;
    --muted: #b8b8b8;
    --line: #2e2c2d;
    --brand: #ff4d6d;        /* 5.83:1 on #121212 */
    --link-on-surface: #ff4d6d;
    --on-brand: #121212;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 1.125rem; line-height: 1.6;
}
h1, h2 { line-height: 1.15; margin: 0 0 0.5em; }
h2 { font-size: 1.6rem; margin-top: 2.25rem; }
p { margin: 0 0 1em; }
a { color: var(--brand); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
code { font-size: 0.95em; overflow-wrap: anywhere; }

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 10;
  background: var(--brand); color: var(--on-brand);
  padding: 0.6rem 1rem; border-radius: 8px; font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: 46rem; margin: 0 auto; padding: 0 1rem; }
@media (min-width: 48rem) { .wrap { padding: 0 2rem; } }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; min-height: 4rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.4rem; }
.brand svg { width: 2.5rem; height: 2.5rem; flex: none; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; }
.site-nav a { display: inline-block; padding: 0.5rem 0.6rem; color: var(--text); font-weight: 700; font-size: 1rem; }
.site-nav a[aria-current="page"] { color: var(--brand); }

main { padding: 2.5rem 0 4rem; }
main h1 { font-size: clamp(2rem, 6vw, 2.75rem); }
.hero h1 { font-size: clamp(2.75rem, 10vw, 4.5rem); color: var(--brand); margin-bottom: 0.2em; }
.lead { font-size: 1.4rem; font-weight: 700; }
.name-note { color: var(--muted); }
.meta { color: var(--muted); }
ul, ol { padding-left: 1.3rem; }
li { margin-bottom: 0.5em; }
.points { list-style: none; padding: 0; }
.points li { background: var(--surface); border-radius: 12px; padding: 0.9rem 1.1rem; margin-bottom: 0.75rem; }

.site-footer { border-top: 1px solid var(--line); padding: 2rem 0 2.5rem; color: var(--muted); font-size: 1rem; }
.site-footer p { margin: 0 0 0.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 0.75rem; display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--brand); }

@media (prefers-color-scheme: light) {
  .points a { color: var(--link-on-surface); }
}
