/* The project's own pages (home, handleiding, op je eigen site): one look for all of them. The viewer
   itself brings its own styles in its shadow root; nothing here reaches it. */
:root {
  color-scheme: light;
  --text: #16222e; --muted: #5b6b7a; --line: rgba(22, 34, 46, 0.12); --accent: #0b5cad;
  --soft: #f2f5f8; --bg: #fff; --sea: #1d4e79;
}
* { box-sizing: border-box; }
body { margin: 0; font: 16px/1.6 system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--bg); }
a { color: var(--accent); }
img { max-width: 100%; height: auto; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 13.5px; }
pre { margin: 0 0 16px; padding: 12px 14px; overflow: auto; background: var(--soft); border: 1px solid var(--line); border-radius: 10px; }
p { margin: 0 0 14px; }
h1 { font-size: 30px; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 21px; margin: 40px 0 10px; }
h3 { font-size: 17px; margin: 26px 0 8px; }
ul, ol { margin: 0 0 14px; padding-left: 22px; }
li { margin-bottom: 4px; }
table { border-collapse: collapse; width: 100%; margin: 0 0 16px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 7px 10px; border-bottom: 1px solid var(--line); }
th { font-size: 13px; color: var(--muted); font-weight: 600; }
kbd { font: 12.5px ui-monospace, Menlo, monospace; padding: 1px 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; background: var(--soft); }

/* the bar along the top of every page */
.site-head { border-bottom: 1px solid var(--line); background: #fbfcfd; }
.site-head nav { max-width: 1040px; margin: 0 auto; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.site-head .brand { font-weight: 700; color: var(--text); text-decoration: none; margin-right: auto; display: flex; align-items: center; gap: 8px; }
.site-head .brand img { width: 28px; height: 28px; border-radius: 7px; }
.site-head a:not(.brand) { text-decoration: none; font-size: 15px; }
.site-head a[aria-current="page"] { font-weight: 600; color: var(--text); }

main { max-width: 1040px; margin: 0 auto; padding: 32px 16px 72px; }
.narrow { max-width: 760px; }
.lead { font-size: 18px; color: var(--muted); max-width: 700px; }
.caption { margin: 6px 0 18px; color: var(--muted); font-size: 14px; }
.buttons { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 8px; }
.button { display: inline-block; padding: 9px 16px; border-radius: 9px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15px; }
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.shot { display: block; margin: 8px 0 4px; border: 1px solid var(--line); border-radius: 10px; }
.shot.phone { max-width: 300px; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin: 14px 0 8px; }
.card { display: block; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; color: var(--text); }
.card b { display: block; color: var(--accent); margin-bottom: 2px; }
.card span { font-size: 14.5px; color: var(--muted); }
.note { padding: 10px 14px; border-left: 3px solid var(--accent); background: var(--soft); border-radius: 0 8px 8px 0; font-size: 15px; }
.legend { counter-reset: n; list-style: none; padding: 0; }
.legend li { counter-increment: n; position: relative; padding-left: 34px; margin-bottom: 8px; }
.legend li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 24px; height: 24px; border-radius: 50%;
  background: #d9480f; color: #fff; font: 700 13px/24px system-ui, sans-serif; text-align: center; }

/* home: on your phone, the steps beside the icon the app will have */
.install { display: grid; grid-template-columns: 1fr 200px; gap: 28px; align-items: start; }
.steps { padding-left: 22px; }
.steps li { margin-bottom: 10px; }
.app-icon { margin: 6px 0 0; text-align: center; }
.app-icon #icoon svg { display: block; width: 160px; height: 160px; margin: 0 auto; border-radius: 22%; box-shadow: 0 6px 20px rgba(22, 34, 46, 0.22); }
.app-icon figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }

/* the viewer on a page: the element it fills needs a height */
.viewer { width: 100%; height: 520px; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }

/* handleiding: the pages beside a list of them */
.manual { display: grid; grid-template-columns: 220px 1fr; gap: 36px; align-items: start; }
.manual-nav { position: sticky; top: 16px; font-size: 15px; }
.manual-nav ol { list-style: none; padding: 0; margin: 0; }
.manual-nav li { margin: 0; }
.manual-nav a { display: block; padding: 6px 10px; border-radius: 7px; text-decoration: none; }
.manual-nav a[aria-current="page"] { background: var(--soft); color: var(--text); font-weight: 600; }
.manual-body { min-width: 0; }
.next { display: flex; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }

@media (max-width: 760px) {
  h1 { font-size: 25px; }
  main { padding-top: 22px; }
  .viewer { height: 440px; }
  .manual { grid-template-columns: 1fr; gap: 14px; }
  .install { grid-template-columns: 1fr; gap: 8px; }
  .app-icon { order: -1; }
  .manual-nav { position: static; }
  .manual-nav ol { display: flex; flex-wrap: wrap; gap: 4px; }
}
