/* ==========================================================================
   VibeTool brand layer "Wayfinding Board" (same system as app.vibetool.org)
   Navy from the logo outline, cream enamel panels, one orange action colour,
   teal for the cool half. Loaded after vt-premium.css and vt-tools-fix.css, so it
   re-tokens and flattens them without touching any tool page.
   ========================================================================== */
@font-face { font-family: 'Anek Latin'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/anek/anek-latin-latin.woff2') format('woff2'); 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: 'Anek Latin'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/anek/anek-latin-ext.woff2') format('woff2'); 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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Anek Bangla'; font-style: normal; font-weight: 400 800; font-display: swap; src: url('../fonts/anek/anek-bangla-bengali.woff2') format('woff2'); unicode-range: U+0951-0952, U+0964-0965, U+0980-09FE, U+1CD0, U+1CD2, U+1CD5-1CD6, U+1CD8, U+1CE1, U+1CEA, U+1CED, U+1CF2, U+1CF5-1CF7, U+200C-200D, U+20B9, U+25CC, U+A8F1, U+11DF0-11DF1; }

:root {
    --font-sans: 'Anek Latin', 'Anek Bangla', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: var(--font-sans);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

    --ink-50: #f4f5f9; --ink-100: #e8eaf1; --ink-200: #d3d7e3; --ink-300: #b3b9cc; --ink-400: #8c94ad;
    --ink-500: #5b6481; --ink-600: #454d68; --ink-700: #333a54; --ink-800: #262d46; --ink-900: #1f263e; --ink-950: #141830;

    --p-50: #fff6f1; --p-100: #fcebe2; --p-200: #f8d7c7; --p-300: #f2b9a0; --p-400: #e99a7a; --p-500: #de7d57;
    --p-600: #b84a33; --p-700: #983b29; --p-800: #7a3022; --p-900: #5e251b; --p-950: #35130d;
    /* the old orange "secondary" ramp becomes the logo teal */
    --s-100: #d9eaed; --s-300: #92bbb8; --s-400: #6a9ba3; --s-500: #487886; --s-600: #3a6370;
    --shadow-sm: none; --shadow-xl: none;
}
html.dark {
    --page: var(--ink-900);
    --surface: var(--ink-800);
    --surface-2: #1a2038;
    --line: rgb(255 255 255 / .13);
    --line-strong: rgb(255 255 255 / .24);
    --fg: #fdf8e3;
    --fg-muted: var(--ink-300);
    --fg-subtle: #98a0b8;
}
html { font-size: 17px; }
body.vt { font-size: 1.0625rem; }
body.vt h1, body.vt h2, body.vt h3, body.vt h4, body.vt h5 { font-family: var(--font-sans); font-weight: 800; letter-spacing: -.015em; }
body.vt .serif, body.vt em.serif { font-family: var(--font-sans); font-style: normal; }

/* no decorative backgrounds */
.vt-aurora, .vt-grid-bg { display: none !important; }
.vt-aurora span { animation: none !important; }
.vt-marquee-track, .notice-track { animation: none !important; flex-wrap: wrap; width: auto; }

/* flat surfaces: cards, panels, tools */
html.dark .vt-card, html.dark .vt-tool, html.dark body.vt .panel, html.dark body.vt .box, html.dark body.vt .well { background: var(--surface); }
.vt-card, .vt-tool, body.vt .panel, body.vt .box, body.vt .well { box-shadow: none; border-radius: .75rem; }
.vt-card:hover, .vt-tool:hover { transform: none; box-shadow: none; border-color: var(--ink-900); }
html.dark .vt-card:hover, html.dark .vt-tool:hover { border-color: #fdf8e3; }

/* action colour: orange with navy text, no gradient, no shine sweep */
body.vt .btn-primary, body.vt .vt-btn-primary, .vt-btn.primary {
    background: var(--p-500); background-image: none; color: var(--ink-900) !important;
    border: 2px solid var(--ink-900); border-radius: .5rem; box-shadow: none; font-weight: 700;
}
body.vt .btn-primary:hover, body.vt .vt-btn-primary:hover { background: var(--p-400); }
html.dark body.vt .btn-primary, html.dark body.vt .vt-btn-primary { border-color: var(--p-500); }
.vt-btn::after, .vt-btn::before, .notice-pill::before { display: none !important; }
body.vt .progress-bar, .vt-trial span:first-child, .vt-avatar, .vt-app-icon-fallback, .review-author-avatar { background: var(--p-500) !important; background-image: none !important; color: var(--ink-900) !important; }
#vibe-review-chatbot-launcher { background: var(--ink-900) !important; box-shadow: none !important; border: 2px solid var(--p-500) !important; }

/* hero bands and callouts */
.vt-hero, .vt-band, .vt-cta, [class*="vt-hero"] { background-image: none !important; }
.vt-band, .vt-cta { background: #fdf8e3 !important; color: var(--ink-900) !important; border: 2px solid var(--ink-900); border-radius: .75rem; }
html.dark .vt-band, html.dark .vt-cta { background: #fdf8e3 !important; }

/* notice bar and badges: flat brand colours, a static row */
.notice-bar { background: var(--ink-950) !important; background-image: none !important; }
.notice-bar::after { display: none; }
.notice-pill, .notice-badge-solid, .vt-m-cta, .vt-modal .vt-m-plain {
    background: var(--n1, var(--p-600)) !important; background-image: none !important; box-shadow: none !important; color: var(--nt, #fff) !important;
}
[data-notice-tpl] { --n1: var(--ink-800); --n2: var(--ink-800); --nt: #fdf8e3; }
[data-notice-tpl="sky"], [data-notice-tpl="ocean"] { --n1: #2f505b; --n2: #2f505b; }
[data-notice-tpl="sunset"], [data-notice-tpl="rose"], [data-notice-tpl="aurora"], [data-notice-tpl="fire"] { --n1: #b84a33; --n2: #b84a33; --nt: #fff; }

/* pills and badges: proper padding, one border style */
body.vt .label, body.vt .badge { padding: .3em .7em; border-radius: .4rem; font-weight: 700; background-image: none; }

/* gradient decoration from older tool-page blocks */
[style*="linear-gradient(135deg, rgba(244"], [style*="linear-gradient(135deg, #f43f5e"] { background-image: none !important; background-color: var(--surface) !important; }

/* partner promo banner: flat panel, orange action */
.aixpic-promo-banner, html.dark .aixpic-promo-banner { background: var(--surface) !important; background-image: none !important; border: 2px solid var(--ink-900) !important; box-shadow: none !important; }
html.dark .aixpic-promo-banner { border-color: var(--line-strong) !important; }
.aixpic-promo-banner:hover { transform: none !important; box-shadow: none !important; }
.aixpic-promo-btn, .aixpic-promo-btn:hover { background: var(--p-500) !important; background-image: none !important; color: var(--ink-900) !important; box-shadow: none !important; border: 2px solid var(--ink-900); transform: none !important; }
.vt-user-menu a.vt-danger { color: var(--p-700) !important; }
html.dark .vt-user-menu a.vt-danger { color: var(--p-300) !important; }
