/* The sign-in page — the one screen anyone can open. Same business look as
   the console (DESIGN.md, app.css): a light page, one white panel with a
   thin border, Inter, and the indigo action. The tokens below are copies of
   app.css's Light ones, so this page does not have to load the whole
   console's stylesheet before sign-in. Light only: it is seen for a few
   seconds, before any choice of theme exists. */
@font-face { font-family: 'Inter'; src: url('vendor/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; src: url('vendor/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
:root {
  color-scheme: light;
  --bg: #F6F7F9; --panel: #FFFFFF; --panel-2: #F9FAFB; --panel-3: #F1F3F6;
  --ink: #0F1728; --ink-2: #414B5E; --ink-3: #5A6476;
  --line: #ECEEF2; --line-2: #D0D5DD; --line-3: #A3ABB8; --edge: #7C8595; --edge-glass: #E3E6EB;
  --gold: #4F46E5; --gold-bg: rgba(79,70,229,.08); --gold-ink: #4338CA; --on-gold: #FFFFFF; --focus: #4F46E5;
  --brick-ink: #B42318; --sage: #067647;
  --shadow-1: 0 1px 2px rgba(16,24,40,.05);
  --ui: 'Inter', 'Segoe UI Variable Text', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --field: 8px; --r2: 10px;
  --ease: cubic-bezier(.2,0,0,1);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { background: var(--bg); color: var(--ink); font: 400 15px/1.5 var(--ui); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.shell { width: 100%; max-width: 420px; margin: 0 auto; padding: 56px 16px 32px; display: flex; flex-direction: column; gap: 22px; min-height: 100vh; }
.brand { display: flex; align-items: center; gap: 10px; }
.mark { width: 28px; height: 28px; border-radius: 8px; background: var(--gold) url("icon.svg") center / 100% no-repeat; }
.word { font: 600 15px/1.2 var(--ui); letter-spacing: -0.01em; }
.panel { background: var(--panel); border: 1px solid var(--edge-glass); border-radius: var(--r2); padding: 24px; box-shadow: var(--shadow-1); }
h1 { font: 600 24px/1.2 var(--ui); letter-spacing: -0.02em; margin: 0 0 6px; text-wrap: balance; }
.lede { color: var(--ink-2); margin: 0 0 20px; }
.tabs { display: flex; gap: 2px; padding: 3px; border-radius: var(--field); background: var(--panel-3); border: 1px solid var(--line); margin-bottom: 20px; }
.tabs button { flex: 1; min-height: 38px; border: 0; border-radius: 6px; background: transparent; color: var(--ink-2); font: 500 13.5px/1 var(--ui); cursor: pointer; transition: background-color .12s var(--ease), color .12s var(--ease); }
.tabs button:hover { color: var(--ink); }
.tabs button[aria-selected="true"] { background: var(--gold-bg); color: var(--gold-ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold-ink); }
.form { display: flex; flex-direction: column; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font: 500 13.5px/1.3 var(--ui); color: var(--ink-2); }
.field input, .field select { width: 100%; min-height: 44px; padding: 8px 12px; border-radius: var(--field); border: 1px solid var(--edge);
  background: var(--panel); color: var(--ink); font: 400 16px/1.3 var(--ui); transition: border-color .12s var(--ease); }
.field input:focus, .field select:focus { border-color: var(--gold); }
.field input:focus-visible, .field select:focus-visible, .btn:focus-visible, .tabs button:focus-visible, .link:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hint { font-style: normal; font-size: 13px; color: var(--ink-3); }
.note { margin: 0; color: var(--brick-ink); }
.note:empty { display: none; }
.note.ok { color: var(--sage); }
.btn { min-height: 46px; padding: 8px 16px; border-radius: 8px; border: 1px solid transparent; font: 600 15px/1 var(--ui); cursor: pointer; transition: background-color .12s var(--ease); }
.btn.primary { background: var(--gold); color: var(--on-gold); box-shadow: var(--shadow-1); }
.btn.primary:hover { background: color-mix(in srgb, var(--gold) 88%, var(--ink)); }
.btn.primary:active { background: color-mix(in srgb, var(--gold) 80%, var(--ink)); }
.btn[disabled] { opacity: .6; cursor: progress; }
.small { margin: 0; color: var(--ink-3); font-size: 13.5px; }
.foot { margin-top: auto; text-align: center; }
.link { background: none; border: 0; color: var(--ink-3); font: 400 14px/1.4 var(--ui); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; padding: 8px; }
.link:hover { color: var(--ink-2); }
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ===== Altitude: genesis ===== */
/* "What does your business do?" and "Where do you sell?" on the sign-up
   page: native radios drawn as plain choice tiles, so the arrow keys move
   between them and a screen reader hears one question. The chosen one wears
   the action colour; the radio itself stays in the page, only out of sight. */
fieldset.field { margin: 0; padding: 0; border: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 6px; font: 500 13.5px/1.3 var(--ui); color: var(--ink-2); }
.pick-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.pick-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pick { position: relative; display: block; min-width: 0; }
.pick input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.pick span { display: flex; align-items: center; min-height: 44px; padding: 9px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink); font: 500 14px/1.25 var(--ui); cursor: pointer; overflow-wrap: anywhere; transition: border-color .12s var(--ease), background-color .12s var(--ease); }
.pick span:hover { border-color: var(--line-3); background: var(--panel-2); }
.pick input:checked + span { border-color: var(--gold); background: var(--gold-bg); box-shadow: inset 0 0 0 1px var(--gold); }
.pick input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
@media (max-width: 380px) { .pick-grid.three { grid-template-columns: 1fr; } }
