/* www.bizomate.com — from the Bizomate Website design (docs/website) and brand guidelines 1.2.
   Its own stylesheet: the website shares nothing with the product's app.css. */

:root {
    --ink: #14151C;
    --ink-2: #4A4C5C;
    --muted: #6B6D7C;
    --line: #E4E4E9;
    --line-soft: #F0F0F3;
    --line-violet: #E7E5F0;
    --violet: #7C3AED;
    --violet-dark: #6D28D9;
    --violet-soft: #F3EEFF;
    --teal: #0E7490;
    --bg: #FFFFFF;
    --bg-soft: #F7F7F9;
    --bg-tint: #F4F3F8;
    --amber-bg: #FFFBEB;
    --amber-line: #F2DFB6;
    --amber: #B45309;
    --grad: linear-gradient(135deg, #7C3AED 0%, #0E7490 100%);
    --font: Poppins, 'Segoe UI', system-ui, sans-serif;
    --wrap: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--violet-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.eyebrow { display: block; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }

/* buttons — one gradient per view (brand guidelines) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding: 0 20px; border-radius: 4px;
       font: 500 15px/1 var(--font); white-space: nowrap; cursor: pointer; border: 1px solid transparent; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--grad); color: #FFFFFF; box-shadow: 0 8px 20px rgba(124, 58, 237, .30); }
.btn-primary:hover { color: #FFFFFF; filter: brightness(.95); }
.btn-secondary { background: #FFFFFF; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { color: var(--ink); border-color: #C9C4DC; }
.btn-text { background: none; border: 0; padding: 0 6px; height: 40px; font: 500 14px var(--font); color: var(--violet); cursor: pointer; }

/* header */
.site-header { position: sticky; top: 0; z-index: 20; background: #FFFFFF; border-bottom: 1px solid var(--line-soft); }
.header-row { display: flex; align-items: center; gap: 40px; height: 72px; }
.brand img { width: 150px; height: auto; }
.header-nav { display: flex; align-items: center; gap: 30px; flex-grow: 1; }
.header-nav a, .header-link { font-size: 15px; color: var(--ink); }
.header-nav a.is-active { color: var(--violet); font-weight: 600; }
.header-link { font-weight: 500; }
.header-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.menu-button { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; color: var(--ink); cursor: pointer; }
.mobile-menu { display: flex; flex-direction: column; padding: 8px 16px 16px; border-top: 1px solid var(--line-soft); }
.mobile-menu[hidden] { display: none; }
.mobile-menu a { padding: 12px 0; font-size: 16px; color: var(--ink); border-bottom: 1px solid var(--line-soft); }

/* footer */
.site-footer { margin-top: 0; padding: 56px 0 36px; background: var(--bg-soft); border-top: 1px solid var(--line-soft); }
.footer-top { display: flex; gap: 64px; }
.footer-brand { display: flex; flex-direction: column; gap: 12px; width: 280px; font-size: 14px; color: var(--ink-2); }
.footer-brand img { width: 150px; height: auto; }
.footer-cols { display: flex; gap: 40px; flex-grow: 1; justify-content: flex-end; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: 11px; min-width: 160px; }
.footer-title { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.footer-col a, .footer-button { font: 400 14px var(--font); color: var(--ink-2); text-align: left; }
.footer-col a:hover, .footer-button:hover { color: var(--violet); }
.footer-button { background: none; border: 0; padding: 0; cursor: pointer; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-violet); font-size: 12.5px; color: var(--muted); }

/* legal pages (website board Policies) */
.legal-grid { display: flex; gap: 80px; padding: 64px 0 96px; }
.legal-nav { display: flex; flex-direction: column; gap: 14px; width: 240px; flex-shrink: 0; padding-top: 40px; }
.legal-nav a { font-size: 14px; color: var(--ink-2); }
.legal-nav a.is-active { color: var(--violet); font-weight: 600; }
.legal { max-width: 720px; color: var(--ink-2); font-size: 15.5px; line-height: 1.7; }
.legal .eyebrow { margin-bottom: 10px; }
.legal-title { margin: 0 0 6px; font-size: 36px; font-weight: 700; line-height: 1.15; color: var(--ink); text-wrap: balance; }
.legal-meta { margin: 0 0 28px; font-size: 13.5px; color: var(--muted); }
.legal h2 { margin: 32px 0 10px; font-size: 22px; font-weight: 700; line-height: 1.25; color: var(--ink); }
.legal h3 { margin: 20px 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.legal p, .legal li { margin: 0 0 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 12px; }
.legal-draft { margin: 0 0 24px; padding: 14px 16px; background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 8px; color: var(--ink); font-size: 14px; }

/* 404 and error */
.message-page { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 96px 0 120px; }
.message-page h1 { margin: 0; font-size: 36px; line-height: 1.15; }
.message-page p { margin: 0; color: var(--ink-2); font-size: 17px; }
.message-actions { display: flex; gap: 12px; margin-top: 12px; flex-wrap: wrap; }

/* cookie notice (website board Cookies) */
.cookie-notice { position: fixed; left: 50%; bottom: 24px; z-index: 30; transform: translateX(-50%); width: min(1200px, 100% - 32px);
                 display: flex; align-items: center; gap: 28px; padding: 20px 24px; background: #FFFFFF; border: 1px solid var(--line);
                 border-radius: 12px; box-shadow: 0 18px 44px rgba(20, 21, 28, .14); }
.cookie-notice[hidden] { display: none; }
.cookie-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cookie-text strong { font-size: 15px; font-weight: 600; }
.cookie-text p { margin: 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.cookie-buttons { display: flex; gap: 9px; flex-shrink: 0; }
.cookie-buttons .btn, .cookie-dialog .btn { height: 40px; padding: 0 16px; font-size: 14px; }

.cookie-dialog { width: min(560px, 100% - 32px); padding: 0; border: 0; border-radius: 12px; box-shadow: 0 30px 80px rgba(20, 21, 28, .28); }
.cookie-dialog::backdrop { background: rgba(20, 21, 28, .45); }
.cookie-dialog form { margin: 0; }
.cookie-dialog-head { padding: 20px 24px 4px; }
.cookie-dialog-head h2 { margin: 0 0 4px; font-size: 18px; font-weight: 600; }
.cookie-dialog-head p { margin: 0; font-size: 13.5px; color: var(--ink-2); }
.cookie-row { display: flex; gap: 16px; align-items: flex-start; margin: 0 24px; padding: 16px 0; border-top: 1px solid var(--line-soft); }
.cookie-row:first-of-type { border-top: 0; }
.cookie-row p { margin: 5px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--ink-2); }
.cookie-name { font-size: 15px; font-weight: 600; }
.cookie-name em { margin-left: 8px; font-style: normal; font-size: 12px; font-weight: 400; color: var(--muted); }
.cookie-dialog-buttons { display: flex; justify-content: flex-end; gap: 9px; padding: 14px 24px; background: #FDFDFE; border-top: 1px solid var(--line); flex-wrap: wrap; }

.switch { appearance: none; flex-shrink: 0; width: 38px; height: 22px; margin: 2px 0 0; border-radius: 11px; background: #D9D6E6; position: relative; cursor: pointer; transition: background .15s; }
.switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 9px; background: #FFFFFF; box-shadow: 0 1px 2px rgba(20, 21, 28, .2); transition: left .15s; }
.switch:checked { background: var(--violet); }
.switch:checked::after { left: 18px; }
.switch:disabled { opacity: .55; cursor: default; }

@media (prefers-reduced-motion: reduce) { .switch, .switch::after { transition: none; } }

/* phone */
@media (max-width: 960px) {
    .header-nav, .header-actions .header-link { display: none; }
    .header-row { gap: 12px; height: 60px; }
    .brand img { width: 118px; }
    .header-actions { gap: 10px; }
    .menu-button { display: inline-flex; align-items: center; justify-content: center; margin-left: 0; }
    .footer-top { flex-direction: column; gap: 26px; }
    .footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; justify-content: stretch; }
    .footer-col { min-width: 0; }
    .legal-grid { flex-direction: column; gap: 24px; padding: 36px 0 48px; }
    .legal-nav { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; width: auto; padding-top: 0; }
    .legal-title { font-size: 30px; }
    .legal h2 { font-size: 20px; }
    .cookie-notice { flex-direction: column; align-items: stretch; gap: 14px; padding: 18px 16px; bottom: 12px; }
    .cookie-buttons { flex-direction: column; }
    .cookie-buttons .btn { width: 100%; }
}
