/* sagestage.co.uk — the help pages. One stylesheet, no build, no fetch beyond
   this folder. Soft-Daylight-flavoured: calm, plain, readable from a staffroom
   sofa. */
:root {
  --ink: #22303c; --ink-soft: #5b6b7b; --accent: #0f766e;
  --bg: #f4f7f6; --panel: #ffffff; --line: rgba(34, 48, 60, 0.14);
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 16px/1.55 -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--accent); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px 60px; }
header {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  padding: 18px 0; border-bottom: 1.5px solid var(--line); margin-bottom: 26px;
}
.brand { font-weight: 700; font-size: 18px; text-decoration: none; color: var(--ink); }
.brand span { color: var(--accent); }
nav { display: flex; gap: 6px; flex-wrap: wrap; }
nav a {
  text-decoration: none; color: var(--ink-soft); font-weight: 600; font-size: 14.5px;
  padding: 7px 14px; border-radius: 999px;
}
nav a.here { background: var(--accent); color: #fff; }
nav a:hover:not(.here) { background: rgba(15, 118, 110, 0.1); }
.get { margin-left: auto; font-size: 14.5px; font-weight: 600; }
h1 { font-size: 26px; margin: 0 0 6px; }
.sub { color: var(--ink-soft); margin: 0 0 22px; }
.whatsnew {
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 10px 16px; font-size: 14.5px; color: var(--ink-soft); margin: 0 0 22px;
}
.whatsnew b { color: var(--ink); }
#filter {
  width: 100%; font: inherit; padding: 11px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--panel); margin: 0 0 8px;
}
#filter:focus { outline: 2px solid var(--accent); border-color: transparent; }
.hint { font-size: 13px; color: var(--ink-soft); margin: 0 0 20px; }
h2.cat { font-size: 15px; text-transform: uppercase; letter-spacing: 0.5px; color: var(--ink-soft); margin: 26px 0 10px; }
.entry {
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin: 0 0 10px; scroll-margin-top: 20px;
}
.entry h3 { font-size: 16px; margin: 0; }
.entry h3 a { color: inherit; text-decoration: none; }
.entry h3 a:hover { color: var(--accent); }
.entry .anchor { color: var(--ink-soft); font-weight: 400; font-size: 12.5px; margin-left: 6px; }
.entry p { margin: 5px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.entry .inclass { font-size: 13px; margin-top: 7px; }
.entry .inclass b { color: var(--accent); font-weight: 600; }
details {
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 12px 16px; margin: 0 0 10px;
}
details[open] { border-color: rgba(15, 118, 110, 0.4); }
summary { font-weight: 700; font-size: 15.5px; cursor: pointer; }
details p { color: var(--ink-soft); font-size: 14.5px; }
.dpia {
  background: #eef7f4; border: 1.5px solid rgba(15, 118, 110, 0.4); border-radius: 12px;
  padding: 16px 18px; margin: 22px 0;
}
.dpia p { font-size: 15px; margin: 8px 0 0; }
footer { margin-top: 40px; padding-top: 16px; border-top: 1.5px solid var(--line); font-size: 13px; color: var(--ink-soft); }

/* landing-page extras (sagestage.app) */
h1 { font-size: 34px; line-height: 1.15; margin: 18px 0 14px; }
.lede { font-size: 17px; color: var(--ink-soft); max-width: 640px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin: 26px 0 10px; }
.cta { display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  font-weight: 700; padding: 13px 22px; border-radius: 999px; }
.cta:hover { filter: brightness(1.07); }
.cta.ghost { background: var(--panel); color: var(--accent); border: 1.5px solid var(--accent); }
.smallprint { font-size: 13.5px; color: var(--ink-soft); max-width: 640px; margin: 6px 0; }
.signup { font-size: 14.5px; margin: 14px 0; }
h2 { font-size: 20px; margin: 34px 0 12px; }
.threes { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.threes > div { background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.threes b { font-size: 15.5px; }
.threes p { font-size: 14px; color: var(--ink-soft); margin: 6px 0 0; }

/* the three lesson doors */
.threes > a { display: block; text-decoration: none; color: inherit;
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.threes > a:hover { border-color: var(--accent); }
.threes > a b { font-size: 15.5px; }
.threes > a p { font-size: 14px; color: var(--ink-soft); margin: 6px 0 8px; }
.threes .go { font-size: 13px; font-weight: 700; color: var(--accent); }

/* the join page — warmer than the rest, because it is where someone decides */
.join-hero { display: flex; gap: 20px; align-items: flex-start; margin: 20px 0 26px; flex-wrap: wrap; }
.join-face { flex: none; width: 88px; height: 88px; }

.join-hero h1 { margin: 0 0 8px; }
.join-form {
  background: var(--panel); border: 1.5px solid var(--line); border-radius: 12px;
  padding: 22px 24px; max-width: 640px;
}
.join-label { font-weight: 700; font-size: 14.5px; display: block; margin: 0 0 8px; }
.join-input {
  width: 100%; font: inherit; padding: 12px 16px; border-radius: 10px;
  border: 1.5px solid var(--line); background: #fff; box-sizing: border-box;
}
.join-input:focus { outline: 2px solid var(--accent); border-color: transparent; }
.join-check {
  display: flex; gap: 11px; align-items: flex-start; padding: 11px 13px; margin: 0 0 8px;
  border: 1.5px solid var(--line); border-radius: 10px; cursor: pointer; font-size: 14px;
  color: var(--ink-soft); line-height: 1.45;
}
.join-check:hover { border-color: var(--accent); }
.join-check input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: var(--accent); }
.join-check b { color: var(--ink); }
.join-submit { border: none; font: inherit; font-weight: 700; cursor: pointer; margin-top: 14px; }
.join-print { margin: 14px 0 0; }
.join-alt { font-size: 14px; color: var(--ink-soft); margin: 20px 0 0; max-width: 640px; }

/* social row — inline SVG, no third-party badges, no scripts */
.socials { display: flex; gap: 14px; margin: 26px 0 0; }
.socials a { color: var(--ink-soft); display: inline-flex; }
.socials a:hover { color: var(--accent); }
.socials svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.join-error { color: #b3261e; font-size: 14px; margin: 10px 0 0; }
.join-done { background: #eef7f4; border: 1.5px solid rgba(15,118,110,0.4); border-radius: 12px; padding: 20px 24px; max-width: 640px; }
.join-done h2 { margin: 0 0 8px; }
.join-done p { color: var(--ink-soft); font-size: 15px; }
