/* Placeholder site, per DESIGN pages.html section 10 and DESIGN-SYSTEM, plus the user's redesign 2026-11-30:
   calm wave background (bg.svg), free-floating plate, header glued to the top, footer glued to the bottom, LIGHT look.
   Copy tokens.css (app/web/app) and the fonts folder (app/web/public/fonts) next to these files to preview or deploy.
   NO inline style attributes anywhere: the page CSP (style-src 'self') ignores them. All styling lives in this file.
   Layout rule: fluid. Page padding scales with the viewport (clamp); header and footer use the full width with that padding; the plate is capped for reading. */
:root{color-scheme:light;--pad:clamp(1.25rem,4vw,3rem)}
*{box-sizing:border-box}
html{scroll-padding-top:6rem}
body{margin:0;background:var(--bg);color:var(--t2);font-family:var(--font);font-size:1.0625rem;line-height:1.5;letter-spacing:var(--ls);min-height:100vh;min-height:100dvh;display:grid;grid-template-rows:auto 1fr auto;overflow-wrap:anywhere}
/* The wave background: fixed behind everything, cover-fitted, never takes focus or clicks. Invisible rhombi that wave-lit lights up and turns off (see make-bg.mjs). */
body::before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:url("bg.svg") center / cover no-repeat}
:focus-visible{outline:2px solid var(--t1);outline-offset:3px}
a{color:var(--t1);text-underline-offset:3px;text-decoration-thickness:1.5px}

/* Header: glued to the top, solid so the pattern never runs under the logo */
.top{position:sticky;top:0;z-index:10;background:var(--bg)}
/* No line under the header: the page colour fades into the pattern instead */
.top::after{content:"";position:absolute;left:0;right:0;top:100%;height:clamp(1rem,3vh,2rem);background:linear-gradient(var(--bg),transparent);pointer-events:none}
.top-in{width:100%;padding:var(--s2) var(--pad);min-height:64px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:var(--s3)}
.top-l{justify-self:start}.top-r{justify-self:end}
.logo{display:inline-flex;align-items:center;min-height:44px}
.logo img{display:block;height:clamp(26px,7vw,32px);width:auto;max-width:100%}
/* Back is the design system secondary button: ink outline, hard offset shadow, press shift */
.back{white-space:nowrap;display:inline-flex;align-items:center;gap:var(--s2);min-height:46px;padding:0 var(--s5) 0 var(--s3);font:600 1rem/1.2 var(--font);color:var(--t1);text-decoration:none;position:relative;border-radius:var(--rad);background:var(--surface);box-shadow:inset 0 0 0 var(--bw) var(--bc),var(--sh) var(--sh) 0 var(--c-read);transition:transform var(--d-fast),box-shadow var(--d-fast),background-color var(--d-fast)}
.back:hover{background:var(--bg)}
.back:active{transform:translate(var(--press),var(--press))}
.back svg{flex:none}

/* Stage: the free-floating block, centred in the space between header and footer */
.stage{width:100%;padding:clamp(1.25rem,3.5vh,3rem) var(--pad);display:grid;place-items:center}
.stage.top-aligned{place-items:start center}
.plate{background:var(--surface);box-shadow:var(--ring);padding:clamp(1.5rem,5vw,2.5rem);border-radius:var(--rad);display:grid;gap:clamp(1rem,2.4vh,1.5rem);width:min(100%,36rem)}
.plate.wide-doc{width:min(100%,48rem)}
.plate h2{font:700 1.25rem/1.75rem var(--font);color:var(--t1);margin:0}
.plate p{margin:0}
.stack{display:grid;gap:clamp(1rem,2.4vh,1.5rem)}
.intro{display:grid;gap:var(--s3)}
.head{font:700 clamp(1.5rem,1.2rem + 1.6vw,2rem)/1.2 var(--font);letter-spacing:-.02em;color:var(--t1);margin:0}
.lead{font-size:1.0625rem;line-height:1.6;color:var(--t2);margin:0;max-width:46ch}
/* Marker highlight for the important parts (the colour is the brand yellow, a soft band under the lower half of the text) */
.hl{color:var(--t1);font-weight:700;text-decoration:none;background:linear-gradient(transparent 58%,color-mix(in oklab,var(--c-check) 70%,transparent) 58%);padding:0 .12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
a.hl{text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1.5px}
.sub{font:600 .9375rem/1.4rem var(--font);color:var(--t1);margin:0}
.micro{font:.75rem/1rem var(--mono);letter-spacing:.04em;color:var(--t2);margin:0}
.lbl{display:block;font:600 .9375rem/1.4rem var(--font);color:var(--t1);margin-bottom:var(--s2)}
.fld{display:block;width:100%;min-height:48px;padding:0 var(--s4);font:400 1rem var(--font);color:var(--t1);background:var(--bg);border:0;box-shadow:inset 0 0 0 var(--bw) var(--bc);border-radius:var(--rad)}
.cons{position:relative;display:grid;grid-template-columns:28px 1fr;gap:var(--s4);align-items:start;padding:var(--s4);background:var(--bg);box-shadow:inset 0 0 0 1px var(--line-strong);font-size:.9375rem;line-height:1.55;color:var(--t2);cursor:pointer}
.cons:hover{box-shadow:inset 0 0 0 var(--bw) var(--bc)}
.cons input{position:absolute;opacity:0;width:28px;height:28px;margin:0;left:var(--s4);top:var(--s4);cursor:pointer}
/* Our box: square, 2px ink border, hard offset shadow like the buttons; checked = filled ink with a tick */
.box{position:relative;width:28px;height:28px;background:var(--surface);box-shadow:inset 0 0 0 var(--bw) var(--bc),var(--sh) var(--sh) 0 var(--c-read);transition:background-color var(--d-fast)}
.cons input:checked+.box{background:var(--pri)}
.cons input:checked+.box::after{content:"";position:absolute;left:9px;top:3px;width:8px;height:15px;border:solid var(--on);border-width:0 3px 3px 0;transform:rotate(45deg)}
.cons input:focus-visible+.box{outline:2px solid var(--t1);outline-offset:4px}
.cons input[aria-invalid=true]+.box{box-shadow:inset 0 0 0 3px var(--err-text),var(--sh) var(--sh) 0 var(--c-read)}
.txt{padding-top:2px}
.actions{padding-top:var(--s2)}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 28px;font:600 1rem/1.2 var(--font);border:0;cursor:pointer;position:relative;color:var(--t1);border-radius:var(--rad);transition:transform var(--d-fast),box-shadow var(--d-fast),background-color var(--d-fast)}
.btn.p{background:var(--pri);color:var(--on);box-shadow:var(--sh) var(--sh) 0 var(--c-prac)}
.btn.p:hover{background:var(--pri-h)}
.btn:active{transform:translate(var(--press),var(--press))}
a.btn{text-decoration:none}
.btn:disabled{cursor:progress;background:var(--cloth);color:var(--t2);box-shadow:inset 0 0 0 2px var(--line-strong);transform:none}
[hidden]{display:none!important}
.hp{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.err{color:var(--err-text);margin:var(--s2) 0 0;font:600 .9375rem/1.4rem var(--font)}
.err:empty{display:none}
.fld[aria-invalid=true]{box-shadow:inset 0 0 0 2px var(--err-text)}

/* Footer: always at the bottom (last grid row), solid. Left: links and copyright. Right: the McNeel notice. Stacks on narrow screens. */
.foot{position:relative;z-index:10;background:var(--bg);font-size:.8125rem;line-height:1.3rem;color:var(--t2)}
.foot-in{width:100%;padding:var(--s5) var(--pad);display:grid;grid-template-columns:minmax(0,1fr);gap:var(--s4) var(--s7);align-items:start}
/* No line above the footer: the pattern fades out into the page colour */
.foot::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:clamp(1rem,3vh,2rem);background:linear-gradient(transparent,var(--bg));pointer-events:none}
.foot p{margin:0}
.foot-l{display:grid;gap:var(--s2)}
.foot-links{display:flex;flex-wrap:wrap;gap:0 var(--s5)}
.foot-links a{display:inline-flex;align-items:center;min-height:44px;font:600 .9375rem var(--font);color:var(--t1);text-underline-offset:3px}
@media (min-width:48rem){.foot-in{grid-template-columns:auto minmax(0,1fr);align-items:end}.foot-r{text-align:right;justify-self:end;max-width:78ch;padding-bottom:var(--s2)}}

/* The footer stays on screen while the page scrolls, but only where the window is big enough that it cannot cover the form: tall and wide windows. On small windows it sits at the end of the page. */
@media (min-height:46rem) and (min-width:48rem){.foot{position:sticky;bottom:0}}

/* Phones: a compact footer, because it stays on screen */
@media (max-width:47.99rem){.foot-in{padding-block:var(--s3);gap:var(--s2)}.foot{font-size:.75rem;line-height:1.1rem}.foot-links a{min-height:40px}.foot-l{gap:0}}

/* Notice pages */
.doc{font:700 clamp(1.5rem,1.2rem + 1.5vw,2rem)/1.2 var(--font);color:var(--t1);margin:0}
.upd{font:.8125rem var(--mono);color:var(--t2);margin:0}
.doc-body{display:grid;gap:var(--s4)}
.doc-body h2{font:700 1.25rem/1.75rem var(--font);color:var(--t1);margin:var(--s5) 0 0}
.doc-body p{margin:0;line-height:1.7;max-width:68ch}
address{font-style:normal;color:var(--t2);line-height:1.7;margin:0}
@media (prefers-reduced-motion:reduce){*{transition:none!important;animation:none!important}}
mark.hl{background-color:transparent}
