/* Hallmark · custom app: supplied GarlicSaves dark surfaces and indigo accent. */
:root {
  --bg: #07090e;
  --surface: #0c0f16;
  --field: #12161f;
  --text: #e2e5eb;
  --muted: #a7afc0;
  --accent: #818cf8;
  --action: #4a4ccb;
  --hover: #5153d3;
  --line: #69758c;
  --secondary-hover: #242a36;
  --disabled: #282b3a;
  --error: #ff98ab;
  --selection: #343671;
  --font: 'Bricolage Grotesque', system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}
@font-face { font-family: 'Bricolage Grotesque'; src: url('/static/bricolage.woff2') format('woff2'); font-style: normal; font-weight: 400 800; font-display: swap; }
* { box-sizing: border-box; }
html { overflow-x: clip; background: var(--bg); color-scheme: dark; }
body { overflow-x: clip; margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.55; min-height: 100svh; display: flex; flex-direction: column; scrollbar-color: var(--line) var(--bg); }
::selection { background: var(--selection); color: var(--text); }
a { color: var(--accent); text-underline-offset: .23em; }
a, button, input { -webkit-tap-highlight-color: var(--selection); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.topbar, footer { width: min(100% - 48px, 1120px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.topbar { padding-block: 24px; }
.topbar > span, footer { color: var(--muted); font-size: 15px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; font-size: 20px; color: var(--text); text-decoration: none; }
.auth-layout { width: min(100% - 48px, 1120px); margin-inline: auto; flex: 1; display: grid; place-items: center; padding-block: 64px 96px; }
.auth-form { width: min(100%, 440px); min-width: 0; }
h1 { font-size: clamp(2.2rem, 5vw, 3rem); line-height: 1.1; font-weight: 650; letter-spacing: -.025em; overflow-wrap: break-word; min-width: 0; margin: 0 0 24px; text-wrap: balance; }
h2 { font-size: 22px; margin: 32px 0 12px; overflow-wrap: anywhere; min-width: 0; }
p { margin: 0 0 24px; }
form { margin-top: 32px; }
label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 16px; }
input { display: block; width: 100%; min-width: 0; min-height: 52px; border: 1px solid var(--line); border-radius: 8px; background: var(--field); color: var(--text); font: inherit; padding: 12px 16px; caret-color: var(--accent); }
input::placeholder { color: var(--muted); opacity: 1; }
input[aria-invalid='true'] { border-color: var(--error); }
button { width: 100%; min-height: 52px; margin-top: 20px; padding: 12px 20px; border: 0; border-radius: 8px; font: inherit; font-weight: 600; background: var(--action); color: var(--text); cursor: pointer; transition: background-color 140ms var(--ease), transform 140ms var(--ease); }
button:active { transform: scale(.98); }
button:disabled { background: var(--disabled); color: var(--muted); cursor: wait; }
.secondary { background: var(--field); border: 1px solid var(--line); }
.note { color: var(--muted); font-size: 15px; margin-top: 20px; }
.error { color: var(--error); margin-top: 12px; }
.account { overflow-wrap: anywhere; color: var(--accent); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; }
footer { padding-block: 24px; }
footer a { min-height: 44px; display: inline-flex; align-items: center; }
.skip { position: absolute; transform: translateY(-200%); margin: 12px; background: var(--surface); padding: 12px; z-index: 2; }
.skip:focus { transform: none; }
.honeypot { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); }
.privacy { max-width: 65ch; width: 100%; }
[hidden] { display: none !important; }
@media (hover: hover) and (pointer: fine) { button:not(:disabled):hover { background: var(--hover); } a:hover { color: var(--text); } .secondary:not(:disabled):hover { background: var(--secondary-hover); } }
@media (max-width: 480px) { .topbar, footer, .auth-layout { width: calc(100% - 40px); } .topbar { align-items: flex-start; gap: 12px; } .topbar > span { max-width: 95px; text-align: right; } .auth-layout { padding-block: 40px 64px; } }
@media (prefers-reduced-motion: reduce) { button { transition: none; } button:active { transform: none; } }
