/* Hallmark · shape: Single Card (by request) · genre: modern-minimal · theme: Cobalt with Geist Mono throughout by request (deal 2/3, seed sndbox-brand-placeholder-product-c955·664a3bd9·2026-10-30·r0), dark only, accent Saudi green #006C35 by request · job: sign up · draw: 18add5
 * hero: centred text and form on the field, no panel · nav: none, no name or mark on the page by request · footer: none · imagery: none · signature: a page-wide glyph field that wakes and scrambles under the cursor, over near-black
 * axes: dark/mono/cool · posture: restrained · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H2 E2 S3 R2 V2 · weakest: V, no product to show yet, the glyph field carries the page */
/* waive 85: the founder asked for one card and no scroll; the anatomy sections wait for the product */
@import url("./tokens.css");
@import url("./base.css");

:root { --container: 1240px; --nav-h: 72px; }
body { background: var(--color-paper); }
main { position: relative; z-index: var(--z-base); }
.field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
html:not(.has-field) body { background-image: radial-gradient(var(--color-glyph-1) 1px, transparent 1.2px); background-size: var(--cell-w) var(--cell-h); }

.skip { position: absolute; left: var(--space-md); top: -100px; z-index: var(--z-modal); background: var(--color-paper); color: var(--color-ink); padding: var(--space-xs) var(--space-md); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); }
.skip:focus-visible { top: var(--space-md); }

/* keys */
.key { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 var(--space-lg); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink); font: 500 var(--text-md)/1 var(--font-display); text-decoration: none; white-space: nowrap; cursor: pointer; box-shadow: var(--shadow-key); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), background-color var(--dur-micro) var(--ease-out); }
.key:hover { transform: translateY(-1px); }
.key:active { transform: translateY(3px); box-shadow: var(--shadow-key-press); }
.key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.key:disabled { background: var(--color-paper-3); border-color: var(--color-rule); color: var(--color-muted); box-shadow: none; cursor: not-allowed; transform: none; }
.key--primary { background: var(--color-accent); border-color: var(--color-accent-edge); color: var(--color-accent-ink); box-shadow: var(--shadow-key-accent); }
.key--primary:hover { background: color-mix(in oklab, var(--color-accent) 86%, var(--color-accent-ink)); }


/* stage */
.stage { min-height: 100svh; display: grid; place-items: center; align-content: center; gap: var(--space-lg); padding: var(--space-xl) var(--gutter); }
.card { position: relative; width: min(100%, 680px); display: grid; gap: var(--space-lg); justify-items: center; text-align: center; padding: var(--space-xl) var(--space-md); }
.card h1 { font-size: clamp(1.6rem, 3vw + 0.5rem, 2.6rem); font-weight: 600; line-height: 1.08; max-width: 20ch; }
.card .lead { color: var(--color-ink-2); max-width: 40ch; font-size: var(--text-md); line-height: 1.6; }
.card__form { position: relative; width: 100%; display: grid; justify-items: center; margin-top: var(--space-xs); }
.card__status { position: absolute; top: calc(100% + var(--space-sm)); left: 0; right: 0; text-align: center; font-family: var(--font-body); color: var(--color-ink-2); font-size: var(--text-sm); }
.card__status.is-error { color: var(--color-error); }
.card__status.is-done { color: var(--color-accent-text); }


@media (max-width: 30rem) {
    }
@media (max-height: 640px) {
  .stage { padding-block: var(--space-md); gap: var(--space-sm); }
  .card { gap: var(--space-md); padding: var(--space-md) var(--space-sm); }
    .card h1 { font-size: 1.6rem; }
  }
.card__status:empty { visibility: hidden; }

/* prompt */
.prompt { width: min(100%, 520px); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; column-gap: 1ch; row-gap: var(--space-sm); font-family: var(--font-body); font-size: var(--text-md); }
.prompt__sign { color: var(--color-accent-text); }
.prompt__cmd { color: var(--color-muted); }
.prompt__input { flex: 1 1 22ch; min-width: 0; max-width: 28ch; padding: var(--space-2xs) 0; border: 0; background: transparent; color: var(--color-ink); font: inherit; caret-color: var(--color-accent-text); text-align: left; }
.prompt__input::placeholder { color: color-mix(in oklab, var(--color-muted) 70%, var(--color-paper)); }
.prompt__input:hover::placeholder { color: var(--color-muted); }
.prompt__input:focus-visible { outline: none; box-shadow: inset 0 -1px 0 var(--color-focus); }
.prompt:focus-within .prompt__sign { color: var(--color-focus); }
.prompt__input:disabled { color: var(--color-muted); cursor: not-allowed; }
.prompt__input[aria-invalid="true"] { color: var(--color-error); }
.prompt__key { min-height: 36px; padding: 0 var(--space-sm); border: var(--rule-hair) solid var(--color-rule-2); border-radius: var(--radius-input); background: var(--color-key-face); color: var(--color-ink-2); font: 500 var(--text-sm)/1 var(--font-body); cursor: pointer; box-shadow: 0 2px 0 0 var(--color-key-edge); transition: transform var(--dur-micro) var(--ease-out), box-shadow var(--dur-micro) var(--ease-out), color var(--dur-micro) var(--ease-out); }
.prompt__key:hover { color: var(--color-accent-text); transform: translateY(-1px); }
.prompt__key:active { transform: translateY(2px); box-shadow: var(--shadow-key-press); }
.prompt__key:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.prompt__key:disabled { color: var(--color-muted); box-shadow: none; transform: none; cursor: not-allowed; }
.prompt:focus-within .prompt__input:placeholder-shown + .prompt__key { color: var(--color-ink); }
.card__status::before { content: "> "; color: var(--color-muted); }
