/* watchintus.com: one stylesheet for the home page and the privacy page. Colours and display font of the channel's
   brand (ink, paper, accent). No inline style anywhere: the server's policy allows styles from this site only. */
@font-face {
  font-family: "Display";
  src: url("/fonts/archivo-black-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #1d1a16;
  --ink-2: #29251f;
  --paper: #fffaf0;
  --muted: #c9c0ae;
  --rule: #3a342b;
  --accent: #ffcf33;
  --measure: 38rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--ink);
  color: var(--paper);
  font: 1.0625rem/1.6 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

main {
  width: 100%;
  max-width: calc(var(--measure) + 2rem);
  margin: 0 auto;
  padding: 3.5rem 1rem 3rem;
}

a { color: var(--accent); text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

h1, h2, .word { font-family: "Display", ui-sans-serif, system-ui, sans-serif; font-weight: 400; letter-spacing: 0.01em; }
h1 { font-size: 2.25rem; line-height: 1.1; margin: 0 0 0.5rem; }
h2 { font-size: 1.2rem; margin: 2.25rem 0 0.5rem; color: var(--accent); }
p, ul { margin: 0 0 1rem; }
ul { padding-left: 1.25rem; }
li { margin-bottom: 0.4rem; }
code { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 0.92em; color: var(--muted); }

/* Home page: the mark, the word and the tagline. */
.head { display: flex; align-items: center; gap: 1.1rem; margin-bottom: 2rem; }
.head img { width: 4.5rem; height: 4.5rem; flex: none; }
.word { font-size: 3rem; line-height: 1; margin: 0; }
.tagline { margin: 0.35rem 0 0; color: var(--muted); font-size: 1.05rem; }

.lead { font-size: 1.15rem; }
.note { color: var(--muted); }

.channels { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: 0.5rem; }
.channels li { margin: 0; }
.channels a {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  padding: 0.75rem 1rem; border: 1px solid var(--rule); border-radius: 6px;
  background: var(--ink-2); color: var(--paper); text-decoration: none;
}
.channels a:hover { border-color: var(--accent); }
.channels .where { font-weight: 600; }
.channels .who { color: var(--muted); font-size: 0.95rem; }

.back { display: inline-flex; align-items: center; gap: 0.6rem; margin-bottom: 2rem; text-decoration: none; color: var(--paper); }
.back img { width: 2rem; height: 2rem; }
.back span { font-family: "Display", ui-sans-serif, system-ui, sans-serif; font-size: 1.3rem; }
.updated { color: var(--muted); margin-bottom: 2rem; }

footer {
  border-top: 1px solid var(--rule);
  padding: 1.25rem 1rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem 1.5rem;
  color: var(--muted); font-size: 0.9rem;
}
footer a { color: var(--muted); }

@media (max-width: 30rem) {
  main { padding-top: 2.25rem; }
  .word { font-size: 2.4rem; }
  .head img { width: 3.6rem; height: 3.6rem; }
  .channels a { flex-direction: column; gap: 0.1rem; }
}
