/* static/css/wordmark.css — the product's wordmark (UX-B8, Identity I; ruling 23).

   One definition for every surface that shows the mark and the name: the chat
   shell (the sidebar header and the phone top bar), base.html's header and the
   legacy pages that include partials/_app_header.html, the four auth pages
   and the marketing nav. The markup is templates/partials/_wordmark.html.

   Tokens only. The name is Figtree 800 at -.03em (tokens.css: --text-wordmark,
   --weight-wordmark, --tracking-wordmark; adopted here). The mark's first disc
   is currentColor, its second the accent token (the path's own fill), so the
   mark follows the text colour of whatever it sits on. The trailing "AI" is the
   accent-as-text role (AA on the page in both themes, UX-B2b §2). Under RTL
   the mark keeps its discs' order and the name stays a Latin word: nothing
   here mirrors. */

/* B21 s3 (CODE-13): this sheet is the `components` cascade layer; the order is declared once, in tokens.css. */
@layer components {


.wordmark {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-inline-size: 0;
    color: var(--color-foreground);
    font-family: var(--font-sans);
    font-size: var(--text-wordmark);
    font-weight: var(--weight-wordmark);
    letter-spacing: var(--tracking-wordmark);
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}

a.wordmark:hover,
a.wordmark:focus-visible {
    color: var(--color-foreground);
    text-decoration: none;
}

a.wordmark:focus-visible {
    outline: none;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 0 var(--ring-width) var(--ring-color);
}

.wordmark-mark {
    display: block;
    flex: 0 0 auto;
    inline-size: 24px;
    block-size: 24px;
}

/* The name: a Latin word, isolated so a Hebrew page never reorders it. */
.wordmark-name {
    direction: ltr;
    unicode-bidi: isolate;
}

.wordmark-ai {
    color: var(--color-primary-text);
}

/* Never mirrored (icons.css flips only .lc-mirror; the mark carries none). */
[dir="rtl"] .wordmark-mark {
    transform: none;
}

/* The larger cut for a page that leads with it (the auth cards). */
.wordmark-lg {
    gap: var(--space-2_5);
}

.wordmark-lg .wordmark-mark {
    inline-size: 30px;
    block-size: 30px;
}

} /* end @layer components */
