/* Pages for adults (privacy, about, help): docs/domaner.md. Loaded after style.css, whose tokens and
   Fredoka faces they use. Tokens only, no colours of their own (test/pages.test.mjs). No JavaScript. */
html,body{height:auto}
body{background:var(--paper);color:var(--ink);overflow:auto;-webkit-user-select:text;user-select:text;font-size:var(--t-body);line-height:1.55}
.page{max-width:44rem;margin:0 auto;padding:1.5rem 1rem 3rem}
.top{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.top img{height:3rem;width:auto;display:block}
.top a{font-size:var(--t-small)}
h1{font-size:var(--t-title);line-height:1.1;margin:0 0 .6em}
h2{font-size:var(--t-lead);line-height:1.2;margin:1.8em 0 .5em}
p,ul,ol{margin:0 0 1em}
li{margin:.3em 0}
a{color:var(--pimD);text-underline-offset:.15em}
a:focus-visible{outline:4px solid var(--pim);outline-offset:3px;border-radius:4px}
.lede{font-size:var(--t-lead);font-weight:600;line-height:1.35}
.scroll{overflow-x:auto;margin:0 0 1em}
table{border-collapse:collapse;width:100%;font-size:var(--t-small)}
th,td{text-align:left;vertical-align:top;padding:.5em .6em .5em 0;border-bottom:2px solid var(--sky)}
th{font-weight:600}
dl{display:grid;grid-template-columns:max-content 1fr;gap:.3em 1.2em;margin:0 0 1em}
dt{font-weight:600}
dd{margin:0}
/* start page (app/start.html) */
.home{background:var(--sky)}
.brand{display:flex;align-items:center;gap:.6rem}
.brand .icon{height:3.6rem;width:auto;border-radius:var(--r-s)}
.brand .logo{height:3.2rem;width:auto}
/* The beta tag (docs/domaner.md): a pill next to the logo, on pages for adults only, never in the game.
   It says "unfinished", not "hurry", and goes at launch. */
.beta{display:inline-block;vertical-align:middle;background:var(--sun);color:var(--dark);font-size:var(--t-small);font-weight:700;line-height:1;padding:.35em .7em;border-radius:var(--r-pill)}
.hero{background:var(--paper);border-radius:var(--r-l);padding:2rem 1.25rem 1rem;margin:0 0 1rem;text-align:center}
/* smaller floor than --t-display so "Programmering" fits a 320 px phone */
.hero h1{font-size:clamp(2.1rem,7vw,4.5rem);line-height:1.02;letter-spacing:-.02em;text-wrap:balance}
.hero .lede{max-width:38ch;margin-left:auto;margin-right:auto;text-wrap:balance}
.hero .hint{font-size:var(--t-small);max-width:36ch;margin:0 auto 1em}
.steps,.promises{list-style:none;padding:0}
.steps li,.promises li,.note{background:var(--paper);border-radius:var(--r-m);padding:1rem 1.1rem;margin:0 0 .8rem}
.steps li{display:flex;gap:1rem;align-items:flex-start}
.steps strong,.promises strong{display:block;font-size:var(--t-lead);line-height:1.2;margin-bottom:.2em}
.promises{display:grid;grid-template-columns:repeat(auto-fit,minmax(16rem,1fr));gap:.8rem}
.promises li{margin:0}
.note{margin-top:2rem}
.note h2{margin-top:0}
/* the game's arrow cards: a white arrow with its ink outline (the outline carries the contrast, design spec 3.2) */
.chip{flex:none;width:2.6rem;height:2.6rem;padding:.3rem;border-radius:var(--r-s);border:3px solid var(--ink)}
.chip path{fill:var(--white);stroke:var(--ink);stroke-width:1.6;stroke-linejoin:round}
.chip.up{background:var(--up)}.chip.right{background:var(--right);transform:rotate(90deg)}.chip.down{background:var(--down);transform:rotate(180deg)}
.home h2{font-size:var(--t-title)}
.note h2{font-size:var(--t-lead)}
.home .foot{border-top-color:var(--paper)}
/* one big target, easy to reach with a tv remote */
.start{display:inline-block;margin:.5em 0;background:var(--go);color:var(--white);text-decoration:none;font-size:var(--t-title);font-weight:700;padding:.5em 1.2em;border-radius:var(--r-m);box-shadow:0 var(--press-m) 0 var(--goD)}
.start:active{transform:translateY(var(--press-m));box-shadow:0 0 0 var(--goD)}
.start:focus-visible{outline:6px solid var(--sun);outline-offset:4px}
.foot{margin-top:3rem;padding-top:1rem;border-top:2px solid var(--sky);font-size:var(--t-small)}
.foot p{margin:0 0 .5em}
.foot nav{display:flex;flex-wrap:wrap;gap:.4em 1.2em}
/* why page (app/varfor.html): the skills with their game example, pictures of the tv, numbered sources */
.skills{list-style:none;padding:0}
.skills>li{background:var(--white);border-radius:var(--r-m);padding:1rem 1.1rem;margin:0 0 .8rem}
.skills strong{display:block;font-size:var(--t-lead);line-height:1.2;margin-bottom:.3em}
.skills p{margin:0 0 .6em}
.ingame{font-weight:600}
.shot{margin:.4rem 0 .2rem}
.shot img{display:block;width:100%;height:auto;border-radius:var(--r-s);border:3px solid var(--ink)}
.promises+.shot{margin:.8rem 0 0}
.ref{font-size:.75em;font-weight:600;text-decoration:none;padding:0 .15em}
.sources{font-size:var(--t-small);padding-left:1.4em}
.sources li{margin:.5em 0;overflow-wrap:anywhere}
.sources li:target{background:var(--sunFade);border-radius:var(--r-s)}
