/* Beta access and team login: aligned to the approved pages (3 Nov 2026). The sentence to complete stays; the page sits in one
   white card with the hairline and the four corner squares, the footer carries Privacy and Terms, small text is ink-2 (AA). */
:root{--fr:#d6d6db;--fr-nd:#b9bac0;--hair:#d6d6db}
.g-card{position:relative;margin:12px;min-height:calc(100vh - 24px);min-height:calc(100dvh - 24px);display:flex;flex-direction:column;background:#fdfdfd}
.g-card::before{content:"";position:absolute;inset:0;border:1px solid var(--fr);pointer-events:none;z-index:2}
.g-card::after{content:"";position:absolute;inset:-5px;pointer-events:none;z-index:3;background:
  linear-gradient(#fff,#fff) left 1px top 1px/7px 7px no-repeat,linear-gradient(#fff,#fff) right 1px top 1px/7px 7px no-repeat,
  linear-gradient(#fff,#fff) left 1px bottom 1px/7px 7px no-repeat,linear-gradient(#fff,#fff) right 1px bottom 1px/7px 7px no-repeat,
  linear-gradient(var(--fr-nd),var(--fr-nd)) left top/9px 9px no-repeat,linear-gradient(var(--fr-nd),var(--fr-nd)) right top/9px 9px no-repeat,
  linear-gradient(var(--fr-nd),var(--fr-nd)) left bottom/9px 9px no-repeat,linear-gradient(var(--fr-nd),var(--fr-nd)) right bottom/9px 9px no-repeat}
.g-card .g-hd,.g-card .g-ft{width:100%}
.g-card .sx{flex:1;width:100%;min-height:0}
@media (max-width:900px){.g-card{margin:10px;min-height:calc(100dvh - 20px)}}

/* the header: the mark, as on the approved pages */
.g-mk{font:500 19px var(--text)}
/* the foot: copyright left, Privacy and Terms right, each a 44 px target */
.g-ft{align-items:center}
.g-fl{display:flex;gap:6px}
.g-fl a{display:inline-flex;align-items:center;min-height:44px;padding:0 10px;font:400 13px var(--text);letter-spacing:0;text-transform:none;color:var(--ink-2);text-decoration:none}
.g-fl a:hover{color:var(--ink);text-decoration:underline;text-underline-offset:3px}
@media (max-width:900px){.g-ft{justify-content:center;flex-direction:column;gap:0}}

/* small text: sans and ink-2 instead of mono */
.sx-msg{font:400 14px/1.5 var(--text);color:var(--ink)}
.sx-key{font:400 13px var(--text);color:var(--ink-2)}
.sx-fine{color:var(--ink-2)}
.sx-alt button{padding:12px 2px;margin:-12px 0}
/* the button: the approved pill */
.go{font:500 16px/1 var(--text)}

/* one screen at 900 px: the footer is as low as the card allows (its links keep 44 px of target) and the sentence starts a little higher */
.g-ft{padding-top:0;padding-bottom:4px}
.g-fl a{margin-block:-10px}
.g-card .sx{padding-top:clamp(24px,7vh,84px);padding-bottom:clamp(24px,4vh,56px)}

/* 21 Nov 2026 (Leo): as on the maintenance page, the mark sits OUTSIDE the card, top left, and the card holds only the
   sentence; the copyright sits under the card. Privacy and Terms are out (behind the preview gate they loop back to
   maintenance). Card height uses svh, which does not change while a phone's browser bars slide in and out. */
.g-hd.g-out{max-width:none;height:64px;margin:0;padding:0 24px}
.g-hd.g-out .g-mk{gap:10px;letter-spacing:-.02em}
.g-ft.g-out{max-width:none;justify-content:center;min-height:56px;padding:0 16px;margin:0;font:400 13px/1.4 var(--text);letter-spacing:0;text-transform:none;color:var(--ink-2)}
.g-card{margin:0 12px;min-height:calc(100vh - 64px - 56px);min-height:calc(100svh - 64px - 56px)}
@media (max-width:900px){
  .g-hd.g-out{padding:0 16px}
  .g-card{margin:0 10px;min-height:calc(100svh - 64px - 56px)}
}
