/* jadeos.ai's account pages (sign up, sign in, cancelling a reset, the lost page) and its two reading pages (privacy,
   terms): the jade.os brand (black, ivory,
   orange, the J1 mark; Hanken Grotesk ExtraBold for headings, Martian Mono for labels) on the app's dotted grid. The
   landing page has its own sheet, home.css. */
:root {
  --black: #070708;
  --ink: #0e0e10;
  --card: #141417;
  --line: rgba(244, 244, 241, 0.10);
  --line-2: rgba(244, 244, 241, 0.18);
  --ivory: #f4f4f1;
  --gray: #a1a1a9;
  --dim: #83838b;
  --orange: #ff6a1a;
  --orange-soft: rgba(255, 106, 26, 0.14);
  /* The ink of words on an orange fill: dark in both looks. */
  --on-orange: #070708;
  --display: 'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Martian Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--black);
  color: var(--ivory);
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
h1 { margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
p { margin: 0; }
.lead { font-size: clamp(18px, 2vw, 21px); color: var(--gray); max-width: 640px; }

/* ---- The wordmark ---- */
.wordmark {
  display: inline-flex;
  align-items: baseline;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  white-space: nowrap;
}
.wordmark .dot {
  position: relative;
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin: 0 0.1em;
  /* J1's own dot: square, with its corner (1.35 of 7.5); the crown left the wordmark with J1 (brand\j1\README.md) */
  border-radius: 18%;
  background: var(--orange);
}
/* The mark's tile is J1, the round hook (Miguel, 2026-10-14 16:05 and 16:06): the drawing is the whole tile, its own black
   square with the master's corner (15 of 64); on the dark look a faint edge, so the black tile shows on black
   (brand\j1\README.md). */
.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 23%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
}
[data-theme='light'] .tile { box-shadow: none; }
.tile .j1 { display: block; width: 100%; height: 100%; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--orange); color: var(--on-orange); }
.btn-primary:hover { background: #ff7d38; }
.btn-ghost { border-color: var(--line-2); color: var(--ivory); background: transparent; }
.btn-ghost:hover { border-color: rgba(244, 244, 241, 0.4); }
.btn[disabled] { opacity: 0.55; cursor: progress; }

/* ---- Top bar ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 7, 8, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.topbar .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand .wordmark { font-size: 26px; }
.topbar nav { display: flex; gap: 26px; margin-left: auto; }
.topbar nav a { text-decoration: none; color: var(--gray); font-size: 15px; font-weight: 600; }
.topbar nav a:hover { color: var(--ivory); }
.topbar .btn { min-height: 40px; padding: 0 18px; font-size: 14px; }
.topbar nav + .btn { margin-left: 0; }

/* ---- Account pages: sign up, sign in ---- */
.door { position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.door .topbar { position: relative; z-index: 1; }
/* The card sits in the middle of the room under the bar, and a card taller than the window starts at its top. */
.door main { position: relative; z-index: 1; flex-grow: 1; display: flex; align-items: flex-start; justify-content: center; padding: 48px 20px; }
.door .panel { margin-block: auto; }
.door-dots { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.panel { width: 100%; max-width: 460px; display: flex; flex-direction: column; gap: 26px; padding: 36px 32px; border-radius: 24px; background: var(--ink); border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.panel h1 { font-size: 34px; letter-spacing: -0.03em; }
.panel .lead { font-size: 16px; }
.progress-steps { display: flex; gap: 8px; }
.progress-steps li { list-style: none; flex: 1; display: flex; flex-direction: column; gap: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.progress-steps li::before { content: ''; height: 3px; border-radius: 3px; background: var(--line-2); }
.progress-steps li[data-state='done'], .progress-steps li[data-state='now'] { color: var(--ivory); }
.progress-steps li[data-state='done']::before, .progress-steps li[data-state='now']::before { background: var(--orange); }
.progress-steps { margin: 0; padding: 0; }
form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input[type='email'], .field input[type='password'], .field input[type='text'] {
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid var(--line-2);
  background: var(--black);
  font-size: 16px;
}
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--orange-soft); }
.field .hint { font-size: 13px; color: var(--dim); }
.pw { position: relative; }
.pw input { width: 100%; padding-right: 76px !important; }
.pw button { position: absolute; right: 8px; top: 8px; height: 36px; padding: 0 12px; border-radius: 10px; border: 0; background: var(--card); color: var(--gray); font-size: 13px; font-weight: 600; cursor: pointer; }
.code-input { font-family: var(--mono) !important; font-size: 26px !important; letter-spacing: 0.5em; text-align: center; }
.error { display: none; padding: 12px 14px; border-radius: 12px; background: rgba(255, 106, 26, 0.10); border: 1px solid rgba(255, 106, 26, 0.35); color: #ffd2bb; font-size: 14px; }
.error.show { display: block; }
.alt { font-size: 14px; color: var(--gray); text-align: center; }
.note { font-size: 14px; color: var(--gray); }
.note:empty { display: none; }
/* An email address can be one long word: it breaks anywhere rather than run off a phone's screen. */
[data-email] { overflow-wrap: anywhere; }
.alt a, .alt button { color: var(--ivory); font-weight: 600; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.step-view[hidden], .btn[hidden], .status-card[hidden], .pk-signin[hidden] { display: none; }
.step-view { display: flex; flex-direction: column; gap: 22px; }
/* Sign in with a passkey, over the password (a browser that signed in before, on an account with one) */
.pk-signin { display: flex; flex-direction: column; gap: 14px; }
.pk-or, .providers-or { font-size: 14px; color: var(--gray); text-align: center; }
/* Sign in with Google and with Apple (the words approved 2026-10-11, the buttons first on the card his word of 20:16,
   the cards with both logos his of 2026-10-12 08:20). Each button follows its company's own rules, read at the
   source 2026-10-11. Both are one size, as tall as the card's own button,
   so neither is smaller than another sign-in button; capsule corners (both allow them).
   Google (developers.google.com/identity/branding-guidelines, updated 2026-07-07): light theme "Fill #FFFFFF, Stroke
   #747775 1px inside, Font #1F1F1F", dark theme "Fill #131314, Stroke #8E918F, Font #E3E3E3", "Google Sans Medium
   14/20", "12px left padding before the Google logo, 10px right padding after the Google logo, 12px right padding
   after the Sign in with Google text"; here scaled as one piece from its 40 px button to 48 (17/24, 14, 12, 14).
   Apple (Human Interface Guidelines, Sign in with Apple): white "on dark backgrounds", black "on white or light-color
   backgrounds"; "Prefer the system font for the title"; "the title's font size would be 43% of the button's height";
   logo and title "must be either black or white"; at least 140 by 30.
   The logos are each company's own file, unchanged (his yes to fetch them, 2026-10-12). Google allows only its own
   "G" from its download, and its download holds no "G" by itself, only its ready-made buttons: so the slot shows
   Google's own icon button (160 px, the "G" its middle half) through a window the size of the "G", 44 px of picture
   behind 22 px of slot, the light file on the white button and the dark file on the dark one. Apple allows "only the
   logo artwork downloaded from Apple Design Resources": its "Left-aligned, Medium" logo files, black for the white
   button and white for the black one, placed by its rules ("Match the height of the logo file to the height of the
   button", "Don't crop the logo file", "Don't add vertical padding"). */
.providers { display: flex; flex-direction: column; gap: 12px; }
.providers[hidden], .btn-provider[hidden], #auth-prove-form[hidden] { display: none; }
/* On an account page, under a step's own line: the provider again, for an account with no password. */
.again { display: flex; flex-direction: column; gap: 12px; max-width: 420px; margin-top: 12px; }
.btn-provider { display: flex; align-items: center; justify-content: center; width: 100%; height: 48px; margin: 0; border: 1px solid transparent; border-radius: 999px; cursor: pointer; transition: transform 0.15s ease; }
.btn-provider:active { transform: scale(0.98); }
.btn-provider[disabled] { opacity: 0.55; cursor: progress; }
.logo-slot { flex-shrink: 0; }
.btn-google { gap: 12px; padding: 0 14px; background: #ffffff; border-color: #747775; color: #1f1f1f; font: 500 17px/24px 'Google Sans', Roboto, Arial, sans-serif; }
.btn-google .logo-slot { width: 22px; height: 22px; background: url('/assets/google-g-light.png') 50% 50% / 44px 44px no-repeat; }
/* (Apple's logo file, 31 by 44 with Apple's own margins in it: as tall as the button from its top edge to its foot,
   whole, nothing added over or under it, and no gap of ours between it and the title) */
.btn-apple { gap: 0; padding: 0 14px; background: #ffffff; color: #000000; font: 500 21px/1 -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Segoe UI', system-ui, sans-serif; }
.btn-apple .logo-slot { width: calc(48px * 31 / 44); height: 48px; margin: -1px 0; background: url('/assets/apple-logo-black.svg') 50% 50% / auto 100% no-repeat; }
[data-theme='light'] .btn-google { background: #131314; border-color: #8e918f; color: #e3e3e3; }
[data-theme='light'] .btn-google .logo-slot { background-image: url('/assets/google-g-dark.png'); }
[data-theme='light'] .btn-apple .logo-slot { background-image: url('/assets/apple-logo-white.svg'); }
[data-theme='light'] .btn-apple { background: #000000; color: #ffffff; }
.done-mark { display: flex; justify-content: center; }
.done-mark .tile { width: 72px; height: 72px; }
.status-card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 16px; background: var(--black); border: 1px solid var(--line); }
.status-card strong { font-size: 16px; }
.status-card span { font-size: 14px; color: var(--gray); }
/* a card's second button stands a little apart from its first ("Sign out everywhere" over "Not now": no mis-tap) */
.status-card .btn + .btn { margin-top: 6px; }
.center { text-align: center; align-items: center; }

/* The line under the sign-up button: what making an account agrees to, each word a link. */
.agree { font-size: 13px; line-height: 1.5; color: var(--gray); text-align: center; text-wrap: balance; }
.agree a { color: var(--ivory); text-decoration: underline; text-underline-offset: 3px; }
/* The foot: the way to the privacy page and the terms. On an account page it lies over the room under the card, so the
   card stays in the middle; the desktop app shows no foot (its pages are the app's, not the website's). */
.legal-foot { position: relative; z-index: 1; display: flex; justify-content: center; gap: 26px; padding: 0 20px 28px; font-size: 13px; }
.legal-foot a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gray); text-decoration: none; }
.legal-foot a:hover { color: var(--ivory); }
.door .legal-foot { position: absolute; left: 0; right: 0; bottom: 0; padding: 0 20px; }
.in-app .legal-foot { display: none; }

/* ---- Reading pages: privacy and terms. The same bar and ground, and one wide card of plain words. ---- */
.read-page { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.read-page main { position: relative; z-index: 1; flex-grow: 1; display: flex; justify-content: center; align-items: flex-start; padding: 56px 20px 36px; }
.read { max-width: 760px; gap: 0; padding: 44px 44px 48px; }
.read h1 { font-size: 40px; }
.effective { margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; color: var(--dim); }
.read h2 { margin: 34px 0 10px; font-size: 19px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; }
.read p, .read li, .read address { font-size: 16px; line-height: 1.65; }
.effective + p, .effective + ol { margin-top: 24px; }
.read h1 + p:not(.effective) { margin-top: 16px; } /* a help page: no "Effective" line under its heading */
.read p + p, .read ul + p, .read p + ul, .read p + ol { margin-top: 12px; }
.read ul, .read ol { margin-bottom: 0; padding-left: 22px; }
.read li + li { margin-top: 8px; }
.read li::marker { color: var(--orange); font-weight: 700; }
.read a { text-decoration: underline; text-underline-offset: 3px; }
.read address { font-style: normal; }

/* ---- Small screens ---- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .topbar nav { display: none; }
  .topbar .btn { margin-left: auto; }
  .panel { padding: 28px 20px; }
  .read-page main { padding: 28px 12px 24px; }
  .read h1 { font-size: 32px; }
}
/* A short window (the desktop app's smallest is 600 px tall): less room around the card, so it fits without scrolling. */
@media (max-height: 700px) {
  .door main { padding: 24px 20px; }
  /* (in a browser the foot still needs its room under the card) */
  html:not(.in-app) .door main { padding-bottom: 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* ---- Inside the desktop app (Miguel, 2026-10-02, on the sign-in page in the app: "i dont think the hom plans and get
   early access should be here"). The shell marks every page it shows with "in-app" on the root, draws its own top bar
   with the mark over the page, and says how tall that bar is (--app-bar): the door pages then show nothing of the
   website's bar. The dotted grid is the same as in a browser. ---- */
.in-app body { padding-top: var(--app-bar, 0px); }
.in-app .topbar { display: none; }

/* ---- The light look, for the account pages (sign in, sign up, cancelling a reset, the dashboard): theme.js picks it
   (the visitor's pick, else the website's dark; inside the desktop app the device's, as the app does), and these are
   the same colors as the app's light look (app.css). ---- */
:root[data-theme='light'] {
  --black: #f2f2ee;
  --ink: #fafaf8;
  --card: #ffffff;
  --line: rgba(20, 20, 23, 0.10);
  --line-2: rgba(20, 20, 23, 0.20);
  --ivory: #141417;
  --gray: #5c5c64;
  --dim: #66666e;
  --orange-soft: rgba(255, 106, 26, 0.12);
  color-scheme: light;
}
[data-theme='light'] .topbar { background: rgba(242, 242, 238, 0.82); }
[data-theme='light'] .btn-ghost:hover { border-color: rgba(20, 20, 23, 0.4); }
[data-theme='light'] .panel { box-shadow: 0 30px 80px rgba(20, 20, 23, 0.12); }
[data-theme='light'] .error { color: #8f3708; }
[data-theme='light'] :focus-visible { outline-color: #b0400a; }
/* a list's marks (the terms' item numbers) are read like words: the site's orange is too pale on this look's white */
[data-theme='light'] .read li::marker { color: #b0400a; }

/* ---- Get early access and Sign in in the new look (Miguel, 2026-10-14 18:42, "yes looks great": the web design board,
   version 64; HQ projects/hq-app/product/signup-signin-2026-10-14.md). Only the look changed: every view, step, word and
   hook is the live pages', so this is all under .auth, the two pages' own class, and no other page changes. The home
   page's frame (a rounded panel on the page's ground) and its nav pill; J1 over the heading; each view's heading and
   line centred over its card; Get early access's steps across the card's top; the one orange button the one that
   sends. The board's colours, by look. The logo by the logo system (2026-10-14 20:14): the tile 30 and the name 16 on
   desktop and phone, the gap a third of the tile, the name in Hanken Grotesk 700 at -0.01em, its period the font's own
   in orange. The build points of 18:41: every word and focus ring at WCAG AA in both looks (the orange ink #b0400a for
   a ring on the light look's light grounds, the board's orange on its dark nav), the site's words on the look switch.
   Google's and Apple's buttons are drawn above, by their own rules, untouched. ---- */
html:has(> body.auth) { background: #060606; }
:root[data-theme='light']:has(> body.auth) { background: #fbfbf9; }
.auth {
  --ground: #121212;
  --text: #f4f4f1;
  --dim: #a1a1a9;
  --faint: #8a8a92;
  --chip: #1e1e1e;
  --chip-hover: #282828;
  --main: #f4f4f1;
  --main-text: #141417;
  --nav: #1c1c1c;
  --nav-btn: #2a2a2a;
  --tile: #1a1a1a;
  --field: #0f0f0f;
  --edge: rgba(255, 255, 255, 0.10);
  --shadow: 0 34px 80px rgba(0, 0, 0, 0.6);
  --ring: #ff6a1a;
  --ok: #5ad19a;
  min-height: calc(100vh - 32px);
  min-height: calc(100svh - 32px);
  margin: 16px;
  border-radius: 28px;
  background: var(--ground);
  color: var(--text);
  font-size: 16px;
}
[data-theme='light'] .auth {
  --ground: #f1f0ec;
  --text: #141417;
  --dim: #5c5c64;
  --faint: #66666e;
  --chip: #e6e5e0;
  --chip-hover: #dcdbd5;
  --main: #171717;
  --main-text: #f4f4f1;
  --nav: #171717;
  --nav-btn: #2b2b2b;
  --tile: #ffffff;
  --field: #ffffff;
  --edge: rgba(20, 20, 23, 0.14);
  --shadow: 0 28px 64px rgba(20, 20, 23, 0.14);
  --ring: #b0400a;
  --ok: #11744b;
}
/* (the dots near the pointer, site.js, rise over the frame only; the board's frame has no dots of its own) */
.auth .door-dots { clip-path: inset(16px round 28px); }

/* the nav pill */
.auth .topbar { position: relative; z-index: 1; display: flex; justify-content: center; padding: 24px 24px 0; border: 0; background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.auth .topbar .wrap { display: flex; align-items: center; gap: 26px; width: auto; max-width: 100%; height: 52px; margin: 0; padding: 0 9px 0 10px; border-radius: 16px;
  background: var(--nav); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28); color: #f4f4f1; }
.auth .brand { gap: 10px; color: #f4f4f1; }
.auth .brand .tile { width: 30px; height: 30px; }
.auth .brand .wordmark { display: inline; font-size: 16px; font-weight: 700; letter-spacing: -0.01em; line-height: 1; }
.auth .wordmark .dot { display: inline; width: auto; height: auto; margin: 0; border-radius: 0; background: none; color: #ff6a1a; }
.auth .topbar nav { display: flex; gap: 22px; margin: 0; }
.auth .topbar nav a { color: #a1a1a9; font-size: 13.5px; font-weight: 400; }
.auth .topbar nav a:hover { color: #f4f4f1; }
.auth .topbar .btn { width: auto; height: 34px; min-height: 0; margin: 0; padding: 0 14px; border: 1px solid transparent; border-radius: 11px; background: #f4f4f1; color: #141417; font-size: 13px; font-weight: 600; }
.auth .topbar .btn:hover { background: #ffffff; }
.auth .look { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 34px; height: 34px; padding: 0; border: 1px solid transparent; border-radius: 11px;
  background: var(--nav-btn); color: #f4f4f1; cursor: pointer; }
.auth .look:hover { background: #363636; }
.auth .look svg { width: 16px; height: 16px; }
/* the switch shows the look that is on, the moon while it is dark and the sun while it is light, as the home page and
   Your account show it and as look.js means (review-1 S2, the manager's pick under his delegation of 14:32; the board
   drew the other) */
.auth .look .sun, [data-theme='light'] .auth .look .moon { display: none; }
[data-theme='light'] .auth .look .sun { display: block; }
/* (the ring on the pill's dark ground, in either look) */
[data-theme='light'] .auth .topbar :focus-visible { outline-color: #ff6a1a; }

/* the room under the pill: the column in its middle (the foot lies over the bottom of the room, as before) */
html:not(.in-app) .auth.door main { padding: 62px 24px 46px; }
.auth.door .panel { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; width: 100%; max-width: 460px; padding: 0; border: 0; border-radius: 0;
  background: none; box-shadow: none; }
[data-theme='light'] .auth.door .panel { box-shadow: none; }
/* a view's pieces take their places in the column: J1, the heading, its line, the card (Get early access's steps over
   its top), and what leads to the other page under it (the view on show shares the column's rows, as a subgrid) */
.auth .step-view:not([hidden]) { display: grid; grid-row: 1 / 6; grid-column: 1; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; gap: 0; }
.auth .auth-mark, .auth .step-view > .done-mark { grid-row: 1; grid-column: 1; display: flex; justify-content: center; }
.auth .auth-mark .tile { width: 56px; height: 56px; }
.auth .done-mark .tile { width: 64px; height: 64px; }
.auth .panel:has(> [data-view='waitlist']:not([hidden])) > .auth-mark { display: none; }
.auth .step-view > h1, .auth.door .panel > h1 { grid-row: 2; margin: 22px 0 0; font-size: 48px; font-weight: 700; letter-spacing: -0.04em; line-height: 1.02; text-align: center; }
.auth .step-view > .lead, .auth.door .panel > .lead { grid-row: 3; max-width: 400px; margin: 12px auto 0; font-size: 15.5px; line-height: 1.55; color: var(--dim); text-align: center; text-wrap: balance; }
.auth .lead strong, .auth .lead [data-email] { color: var(--text); font-weight: 600; }
.auth .step-view > .card, .auth.door .panel > .card, .auth .progress-steps { grid-row: 4; grid-column: 1; }
.auth .step-view > .alt { grid-row: 5; margin-top: 16px; }
.auth .step-view > .alt a { font-weight: 600; }
.auth .panel > [data-not-kept] { grid-row: 6; grid-column: 1; margin-top: 16px; font-size: 13px; color: var(--dim); text-align: center; }

/* the card */
.auth .card { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; padding: 24px; border-radius: 24px; background: var(--tile); box-shadow: var(--shadow); text-align: left; }
/* (the hand-off to the app shows no card until it has something to say) */
.auth [data-view='app'] > .card:not(:has(.error.show, [data-app-again]:not([hidden]))) { display: none; }
/* Get early access's three steps, a bar across the card's top: the step you are on in orange (on the list, the last
   one), the ones done in the words' colour */
.auth[data-page='start'] .card { padding-top: 71px; }
.auth .progress-steps { z-index: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; align-self: start; margin: 50px 24px 0; padding: 0; }
.auth .progress-steps li { display: block; height: 27px; padding-top: 9px; border-top: 3px solid var(--chip); font-family: var(--mono); font-size: 9.5px; line-height: 15px;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); text-align: left; white-space: nowrap; overflow: hidden; }
.auth .progress-steps li::before { content: none; }
.auth .progress-steps li[data-state='now'], .auth .progress-steps li[data-state='done']:last-child { border-top-color: #ff6a1a; color: var(--text); }
.auth .progress-steps li[data-state='done']:not(:last-child) { border-top-color: var(--text); color: var(--dim); }

/* Google and Apple, then "or" */
.auth .providers, .auth .pk-signin { gap: 12px; }
.auth .providers-or, .auth .pk-or { margin-top: 6px; font-size: 13.5px; color: var(--faint); text-align: center; }

/* the form */
.auth form { gap: 14px; }
.auth .field { gap: 7px; }
.auth .field label { font-size: 13px; font-weight: 600; }
.auth .field input[type='email'], .auth .field input[type='password'], .auth .field input[type='text'] { height: 48px; padding: 0 14px; border: 1px solid transparent; border-radius: 14px;
  background: var(--field); box-shadow: inset 0 0 0 1px var(--edge); color: var(--text); font-size: 16px; }
.auth .field input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--ring); }
.auth .pw button { top: 6px; right: 6px; height: 36px; padding: 0 12px; border-radius: 10px; background: var(--chip); color: var(--text); font-size: 12.5px; font-weight: 600; }
.auth .field .hint { font-size: 12.5px; color: var(--faint); }
.auth .code-input { font-size: 20px !important; letter-spacing: 0.4em; }
.auth .error { padding: 11px 14px; font-size: 13.5px; line-height: 1.45; text-align: left; }

/* the buttons: the one that sends orange; the others the quiet chip, or the main ivory one where it leads on */
.auth .panel .btn { width: 100%; min-height: 48px; padding: 0 20px; border: 1px solid transparent; font-size: 15.5px; font-weight: 700; }
.auth .panel .btn-primary, .auth #signin-form button[type='submit'] { background: #ff6a1a; color: #070708; }
.auth #signin-form button[type='submit'] { box-shadow: none; font-size: 15.5px; font-weight: 700; }
.auth .panel .btn-primary:hover, .auth #signin-form button[type='submit']:hover { background: #ff7d38; }
.auth .panel .btn-ghost { background: var(--chip); box-shadow: inset 0 0 0 1px var(--edge); color: var(--text); font-size: 15px; font-weight: 600; }
.auth .panel .btn-ghost:hover { background: var(--chip-hover); }
.auth .panel a.btn-ghost, .auth .panel .btn[data-reset-signin] { background: var(--main); box-shadow: none; color: var(--main-text); font-size: 15px; font-weight: 600; }
.auth .panel a.btn-ghost:hover, .auth .panel .btn[data-reset-signin]:hover { background: var(--main); opacity: 0.92; }
/* "Sign in with your passkey": quiet, with the board's key, so Google's, Apple's and the orange button stay the strongest
   (its class is the script's, site.js pkOffer) */
.auth .panel .pk-signin .btn { background: var(--chip); box-shadow: inset 0 0 0 1px var(--edge); color: var(--text); font-size: 15px; font-weight: 600; }
.auth .panel .pk-signin .btn:hover { background: var(--chip-hover); }
.auth .panel .pk-signin .btn::before { content: ''; flex-shrink: 0; width: 18px; height: 18px; background: #ff6a1a;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8M16 7l2 2M14 9l2 2'/%3E%3C/svg%3E") 50% 50% / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15' r='4'/%3E%3Cpath d='M11 12l8-8M16 7l2 2M14 9l2 2'/%3E%3C/svg%3E") 50% 50% / contain no-repeat; }
.auth form > .btn { margin-top: 4px; }
/* a second button right under the first */
.auth .card > .btn + .btn { margin-top: -6px; }

/* the lines on the card */
.auth .card .note { font-size: 13.5px; line-height: 1.55; color: var(--dim); }
.auth [data-view='app-passkey'] .note { font-size: 12.5px; color: var(--faint); }
.auth .alt { font-size: 13.5px; color: var(--dim); text-align: center; }
.auth .alt a, .auth .alt button { color: var(--text); font-weight: 400; }
.auth .agree { font-size: 12.5px; line-height: 1.55; color: var(--faint); }
.auth .agree a { color: var(--text); }
.auth .status-card { gap: 6px; padding: 16px 18px; border: 1px solid transparent; border-radius: 16px; background: var(--field); box-shadow: inset 0 0 0 1px var(--edge); text-align: left; }
.auth .status-card strong { font-size: 15px; }
.auth .status-card span { font-size: 13.5px; color: var(--dim); }
.auth .status-card .btn { margin-top: 6px; }

/* the foot */
.auth .legal-foot { bottom: 2px; gap: 22px; font-size: 12.5px; }
.auth .legal-foot a { color: var(--faint); }
.auth .legal-foot a:hover { color: var(--text); }

/* a phone: the frame 8 px in, the pill across it with J1 and the name, the other page's button and the switch */
@media (max-width: 760px) {
  .auth { min-height: calc(100vh - 16px); min-height: calc(100svh - 16px); margin: 8px; border-radius: 24px; }
  .auth .door-dots { clip-path: inset(8px round 24px); }
  .auth .topbar { padding: 12px 12px 0; }
  .auth .topbar .wrap { width: 100%; gap: 6px; height: 50px; }
  .auth .topbar nav { display: none; }
  .auth .topbar .btn { margin-left: auto; }
  html:not(.in-app) .auth.door main { padding: 34px 20px 72px; }
  .auth.door .panel { margin-block: 0 auto; }
  .auth .step-view > h1 { font-size: 38px; }
  .auth .card { padding: 20px 18px; }
  .auth[data-page='start'] .card { padding-top: 67px; }
  .auth .progress-steps { margin: 46px 18px 0; }
}

/* inside the desktop app: its own window and bar with the mark, so no frame, no J1 over the heading, and less room
   round the column, so the sign-in fits its smallest window (900 by 600) */
.in-app .auth { min-height: 100vh; min-height: 100svh; margin: 0; border-radius: 0; }
.in-app .auth .door-dots { clip-path: none; }
.in-app .auth .topbar { display: none; }
.in-app .auth main { padding: 12px 24px; }
.in-app .auth .auth-mark { display: none; }
.in-app .auth .step-view > h1 { margin-top: 0; font-size: 32px; }
.in-app .auth .step-view > .lead { margin-top: 8px; }
.in-app .auth .card { gap: 12px; margin-top: 16px; padding: 20px; }
.in-app .auth[data-page='start'] .card { padding-top: 67px; }
.in-app .auth .progress-steps { margin: 36px 20px 0; }
.in-app .auth form { gap: 10px; }
.in-app .auth .step-view > .alt { margin-top: 10px; }

/* Windows' high contrast (forced colors) draws no shadow and its own colours (review-1 M1): every field, button and card
   keeps an edge in the system's colours, and a field the keyboard is in keeps its ring (the 18-or-older box left sign-up
   2026-10-16) */
@media (forced-colors: active) {
  .auth .field input[type='email'], .auth .field input[type='password'], .auth .field input[type='text'] { border-color: CanvasText; }
  .auth .field input:focus { outline: 2px solid Highlight; outline-offset: 2px; }
  .auth .btn, .auth .look, .auth .status-card { border-color: ButtonText; }
  .auth .pw button { border: 1px solid ButtonText; }
  .auth .card, .auth .topbar .wrap { border: 1px solid CanvasText; }
  .auth .progress-steps li[data-state='now'], .auth .progress-steps li[data-state='done']:last-child { border-top-color: Highlight; }
}

/* ---- The small pages in the new look (Miguel, 2026-10-14 18:46, "looks great": the web design board, version 65; HQ
   projects/hq-app/product/small-pages-2026-10-14.md). Only the look changed: every word, view and behaviour is the live
   pages'. The card pages (the two cancel pages, Not found, Keep your account) are door pages and take the look above;
   here only what is theirs. The reading pages (Privacy, Terms, the help pages) wear .auth with .read-page: the frame and
   pill above, then a small line over the heading, the heading, "Effective" as a chip, the article whole in one card, and
   "On this page" beside it on a computer (folded into one row on a phone), the section on screen marked with the orange
   edge (toc.js). ---- */

/* Not found: the large orange 404 in J1's place (the orange ink on the light look's light ground, the build points of
   18:41) */
.auth .big404 { grid-row: 1; grid-column: 1; margin: 0; font-size: 96px; font-weight: 700; letter-spacing: -0.06em; line-height: 0.9; color: #ff6a1a; text-align: center; }
[data-theme='light'] .auth .big404 { color: #b0400a; }
/* a link in a line of the card pages: in the words' own colour */
.auth .card .note a, .auth .step-view > .lead a { color: var(--text); text-underline-offset: 3px; }

/* the reading pages: the room under the pill, the list beside the article */
.auth.read-page main { display: block; padding: 0 24px; }
.auth .doc { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 56px; justify-content: center; max-width: 1040px; margin: 56px auto 0; }
.auth .toc { position: sticky; top: 24px; align-self: start; display: flex; flex-direction: column; padding-top: 8px; }
.auth .toc-label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.auth .toc a, .auth .toc-fold nav a { margin: 12px 0 0 -13px; padding-left: 10px; font-size: 13.5px; line-height: 1.35; color: var(--dim); text-decoration: none; }
.auth .toc a:hover, .auth .toc-fold nav a:hover { color: var(--text); }
.auth .toc a[aria-current], .auth .toc-fold nav a[aria-current] { box-shadow: inset 3px 0 0 #ff6a1a; color: var(--text); font-weight: 600; }
/* (on the light look's light grounds the edge in the orange ink, as the light look's list marks: review-1 note 5) */
[data-theme='light'] .auth .toc a[aria-current], [data-theme='light'] .auth .toc-fold nav a[aria-current] { box-shadow: inset 3px 0 0 #b0400a; }
/* the article's column: the small line, the heading, its day, (on a phone the folded list), the card; the article shares
   the column's rows as a subgrid, so its heading and day stand over its card */
.auth .art { display: grid; grid-template-columns: minmax(0, 1fr); align-content: start; }
.auth .eyebrow { grid-row: 1; grid-column: 1; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.auth .read { display: grid; grid-row: 2 / 6; grid-column: 1; grid-template-columns: minmax(0, 1fr); grid-template-rows: subgrid; gap: 0; max-width: none; padding: 0; border: 0;
  border-radius: 0; background: none; box-shadow: none; }
[data-theme='light'] .auth .read { box-shadow: none; }
.auth .read h1 { grid-row: 1; margin: 16px 0 0; font-size: 52px; font-weight: 700; letter-spacing: -0.045em; line-height: 1; }
.auth .read .effective { grid-row: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px; height: 30px; margin: 18px 0 0; padding: 0 13px; border-radius: 999px;
  background: var(--chip); font-size: 11.5px; letter-spacing: 0.04em; color: var(--dim); }
.auth .read .effective::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); }
.auth .read .body { grid-row: 4; margin-top: 30px; padding: 36px 40px 40px; border-radius: 24px; background: var(--tile); box-shadow: var(--shadow); }
.auth .read .body > p:first-child { margin-top: 0; font-size: 17px; line-height: 1.65; color: var(--text); }
.auth .read .body h2 { margin: 34px 0 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; scroll-margin-top: 24px; }
.auth .read .body p, .auth .read .body li, .auth .read .body address { font-size: 16px; line-height: 1.7; color: var(--dim); }
.auth .read .body li[id] { scroll-margin-top: 24px; }
.auth .read .body li strong { color: var(--text); }
.auth .read .body a { color: var(--text); }
.auth .toc-fold { display: none; z-index: 1; grid-row: 4; grid-column: 1; margin-top: 18px; border-radius: 16px; background: var(--tile); }
.auth .toc-fold summary { display: flex; justify-content: space-between; padding: 14px 16px; border-radius: 16px; font-size: 13.5px; font-weight: 600; cursor: pointer; list-style: none; }
.auth .toc-fold summary::-webkit-details-marker { display: none; }
.auth .toc-fold summary::after { content: '+'; color: var(--dim); }
.auth .toc-fold[open] summary::after { content: '\2212'; }
.auth .toc-fold nav { display: flex; flex-direction: column; padding: 0 16px 16px 19px; }
.auth .toc-fold nav a:first-child { margin-top: 0; }
.auth.read-page .legal-foot { padding: 40px 20px 24px; }

/* below a computer's width: one column, and the list folded into its row (over the article's box, which shares its
   rows, so a tap reaches it) */
@media (max-width: 999.98px) {
  .auth .doc { grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 720px; margin-top: 32px; }
  .auth .toc { display: none; }
  .auth .toc-fold { display: block; }
}
@media (max-width: 760px) {
  .auth.read-page main { padding: 0 20px; }
  .auth .read h1 { font-size: 40px; }
  .auth .read .body { padding: 24px 20px 28px; }
  .auth.door .panel > h1 { font-size: 38px; }
  .auth .big404 { font-size: 80px; }
}

/* Windows' high contrast on the reading pages (review-1 S2): the article's card and the folded list keep their edge, and
   the section on screen is marked by a line of its own (forced colors draws no shadow), the words not moved */
@media (forced-colors: active) {
  .auth .read .body, .auth .toc-fold { border: 1px solid CanvasText; }
  .auth .toc a[aria-current], .auth .toc-fold nav a[aria-current] { border-left: 3px solid Highlight; padding-left: 7px; }
}

/* Jade Digital Labs' website signature (Miguel's design, 2026-11-01; HQ clients/jdl-runbook.md section 4): "Built by",
   "jade" with its orange dot, DIGITAL / LABS in the mono, an arrow; jadeos.ai's own two looks for its colours. */
.jdl-sig { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; }
.jdl-by { font-size: 14px; color: var(--gray); }
.jdl-word { font-family: 'Hanken Grotesk', system-ui, sans-serif; font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -0.05em; color: var(--ivory); }
.jdl-dot { display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.06em; border-radius: 50%; background: #f47b20; }
.jdl-dl { display: flex; flex-direction: column; font-family: 'Martian Mono', ui-monospace, Menlo, Consolas, monospace; font-size: 9px; font-weight: 500; line-height: 1.35; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ivory); }
.jdl-arrow { width: 18px; height: 18px; fill: none; stroke: var(--gray); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.2s; }
.jdl-sig:hover .jdl-arrow, .jdl-sig:focus-visible .jdl-arrow { transform: translate(2px, -2px); stroke: var(--ivory); }
@media (prefers-reduced-motion: reduce) { .jdl-arrow { transition: none; } .jdl-sig:hover .jdl-arrow, .jdl-sig:focus-visible .jdl-arrow { transform: none; } }
/* The legal foot as his mock-up has it: "© 2026", Privacy and Terms, the signature at the row's right end; on a phone the
   signature on a row of its own under them, and the sign-in pages leave the room it takes under their card. */
.legal-foot { flex-wrap: wrap; align-items: center; column-gap: 26px; }
.legal-c { display: inline-flex; align-items: center; min-height: 44px; color: var(--gray); }
.auth .legal-foot .legal-c { color: var(--faint); }
@media (min-width: 761px) {
  .legal-foot { justify-content: flex-start; }
  .legal-foot .jdl-sig { margin-left: auto; }
}
/* (On a phone a line break of its own puts the signature on the next row, so its link stays its own width.) */
@media (max-width: 760px) {
  .legal-foot, .auth .legal-foot, .dash .legal-foot { row-gap: 0; justify-content: center; }
  .legal-foot::before { content: ''; flex-basis: 100%; order: 1; }
  .legal-foot .jdl-sig { order: 2; }
  html:not(.in-app) .auth.door main { padding-bottom: 112px; }
}
