/* quebecois.uk · 2026-11-03 · one stylesheet for every page: system fonts, light and dark, no scripts. */
:root {
  --bg: #ffffff;
  --surface: #f5f5f7;
  --text: #1d1d1f;
  --muted: #5e5e63;
  --line: #d2d2d7;
  --link: #0058b8;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111113;
    --surface: #1c1c1f;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: #3a3a3e;
    --link: #6cb4ff;
  }
}
@media (prefers-contrast: more) {
  :root { --muted: var(--text); --line: var(--text); }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 1.0625rem/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}
a { color: var(--link); text-underline-offset: 0.15em; }
a:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; border-radius: 3px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 1rem; top: 1rem; background: var(--bg); padding: 0.5rem 0.75rem; z-index: 1; }
header, main, footer { max-width: 44rem; margin: 0 auto; padding: 0 1rem; }
header { padding-top: 1.5rem; padding-bottom: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; align-items: baseline; }
header .brand { font-weight: 700; color: var(--text); text-decoration: none; margin-right: auto; }
header nav a { margin-left: 1rem; }
header nav a:first-child { margin-left: 0; }
main { padding-top: 1rem; padding-bottom: 3rem; }
h1 { font-size: 2rem; line-height: 1.2; margin: 1rem 0 0.5rem; letter-spacing: -0.01em; }
h2 { font-size: 1.3rem; margin: 2.25rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.5rem 0 0.25rem; }
.lead { font-size: 1.2rem; color: var(--muted); margin-top: 0; }
.card { background: var(--surface); border-radius: 14px; padding: 1rem 1.25rem; margin: 1.25rem 0; }
.card p:first-child, .card h2:first-child { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
ul { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
.muted { color: var(--muted); }
table { border-collapse: collapse; width: 100%; margin: 1rem 0; font-variant-numeric: tabular-nums; }
caption { text-align: left; font-weight: 600; padding-bottom: 0.5rem; }
th, td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); vertical-align: top; }
td.num, th.num { text-align: right; }
.table-wrap { overflow-x: auto; }
footer { border-top: 1px solid var(--line); padding-top: 1rem; padding-bottom: 2rem; font-size: 0.9rem; color: var(--muted); }
footer p { margin: 0.25rem 0; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* Product pages (2026-11-03): icon, screenshots, features. */
.hero { display: flex; gap: 1.25rem; align-items: center; margin: 1.5rem 0 1rem; }
.hero h1 { margin-top: 0; }
.app-icon { width: 128px; height: 128px; flex: none; }
.app-icon.small { width: 72px; height: 72px; }
.app-card { display: flex; gap: 1rem; align-items: flex-start; }
.badge { display: inline-block; margin: 0; padding: 0.3rem 0.8rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.95rem; }
.shots { list-style: none; padding: 0 0 0.75rem; margin: 1.5rem 0; display: flex; gap: 0.9rem; overflow-x: auto; scroll-snap-type: x mandatory; }
.shots li { margin: 0; flex: 0 0 auto; scroll-snap-align: start; }
.shots img { display: block; width: 200px; height: auto; border-radius: 16px; border: 1px solid var(--line); }
.features { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }   /* pairs: Export beside the first card */
@media (max-width: 30rem) { .features { grid-template-columns: 1fr; } }
.features li { margin: 0; background: var(--surface); border-radius: 14px; padding: 0.9rem 1rem; }
.features strong { display: block; margin-bottom: 0.2rem; }
.features span { color: var(--muted); }
@media (max-width: 30rem) {
  .hero { flex-direction: column; align-items: flex-start; }
  .app-icon { width: 96px; height: 96px; }
  .shots img { width: 170px; }
}
/* The home page's heading is the tagline; the company name is already in the header (owner, 2026-11-03). */
h1.tagline { font-size: 1.6rem; font-weight: 600; line-height: 1.3; margin: 1.25rem 0 0.5rem; }
/* The language list in every footer (2026-11-03). */
footer .languages { margin-bottom: 0.75rem; line-height: 1.9; }   /* above the company details (owner, 2026-11-04) */
footer .languages span { margin-right: 0.25rem; }
footer .languages a[aria-current] { color: var(--text); font-weight: 600; text-decoration: none; }
/* iPhone and iPad screenshot rows (2026-11-03). */
h2.device { font-size: 1rem; color: var(--muted); margin: 1.25rem 0 0; font-weight: 600; }
.shots.ipad img { width: 420px; border-radius: 12px; }
@media (max-width: 30rem) { .shots.ipad img { width: 300px; } }
