/* The entry screen (gate.js). While it is up nothing else on the page is shown or reachable by keyboard. */
:root[data-gate="on"] body > header, :root[data-gate="on"] body > main, :root[data-gate="on"] body > footer { display: none; }
:root:not([data-gate="on"]) .gate { display: none; }
.gate { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: var(--s-5); background: var(--c-bg); }
.gate-card { max-width: 34rem; background: var(--c-surface); color: var(--c-ink); border: 2px solid var(--c-line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--sh-2); text-align: center; }
.gate-card h1 { margin: 0 0 var(--s-4); font-size: var(--t-xl); font-weight: var(--w-heavy); }
.gate-card p { margin: 0 0 var(--s-5); font-size: var(--t-md); line-height: 1.5; }
.gate-actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; justify-content: center; margin-bottom: var(--s-5); }
.gate-actions button { background: var(--c-leaf); color: var(--c-on-accent); border: 0; border-radius: var(--r-pill); padding: var(--s-3) var(--s-5); min-height: 48px; font-weight: var(--w-heavy); cursor: pointer; }
.gate-actions a { color: var(--c-ink); font-weight: var(--w-bold); padding: var(--s-3) var(--s-4); min-height: 48px; display: inline-flex; align-items: center; }
.gate-actions button:focus-visible, .gate-actions a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 3px; }
.gate-card .gate-small { margin: 0; font-size: var(--t-sm); color: var(--c-ink-2); }
footer p { margin: 0 0 var(--s-2); }
footer .about-line { color: var(--c-ink); }
