/* ==========================================================================
   Swarmind – design systém (2026-09-26)
   Tmavé pozadí, limetkový akcent, nadpisy Bricolage Grotesque, text Geist.
   Chat má navíc chat.css.
   ========================================================================== */

:root {
    --bg: #0b0c0b;
    --bg-2: #0f110f;
    --surface: #131513;
    --surface-2: #191c19;
    --surface-3: #212521;
    --line: #232823;
    --line-2: #303630;
    --text: #eef2e8;
    --text-2: #c6cbbf;
    --muted: #979d90;
    --dim: #6b7166;
    --accent: #b8f23a;
    --accent-2: #cdf76a;
    --accent-ink: #0b0c0b;
    --accent-soft: rgba(184, 242, 58, .12);
    --accent-line: rgba(184, 242, 58, .42);
    --good: #b8f23a;
    --good-soft: rgba(184, 242, 58, .14);
    --warn: #f3c969;
    --bad: #ff7b6b;

    --r-lg: 28px;
    --r: 20px;
    --r-sm: 14px;
    --wrap: 1260px;
    --nav-max: 1480px;
    --gutter: clamp(16px, 4vw, 40px);
    --section: clamp(96px, 13vw, 180px);

    --display: "Bricolage Grotesque", "Geist", ui-sans-serif, system-ui, sans-serif;
    --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body {
    margin: 0; background: var(--bg); color: var(--text);
    font: 400 16px/1.6 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
code, pre, .mono { font-family: var(--mono); }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.icon { width: 18px; height: 18px; flex: none; }
.spin { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding-top: var(--section); position: relative; }
.section.tight { padding-top: clamp(64px, 8vw, 100px); }

/* ---------------------------------------------------------------- typografie */
.label {
    display: inline-flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent);
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.label.dark { color: var(--accent-ink); }
.label.dark::before { box-shadow: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.035em; margin: 0; }
.sec-head { max-width: 900px; }
.sec-head.center { margin: 0 auto; text-align: center; }
.sec-head h2, .h2 { margin-top: 20px; font-size: clamp(40px, 6vw, 84px); line-height: .98; text-wrap: balance; }
.sec-head h2 span, .h2 span { color: var(--dim); }
.lede { margin: 24px 0 0; max-width: 560px; font-size: clamp(17px, 1.4vw, 19px); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }

/* ---------------------------------------------------------------- tlačítka */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px; white-space: nowrap;
    height: 50px; padding: 0 24px; border-radius: 999px; font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
    transition: background .2s, border-color .2s, color .2s, transform .25s var(--ease), box-shadow .25s;
}
.btn .icon { width: 17px; height: 17px; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 0 0 0 var(--accent-soft); }
.btn-primary:hover { background: var(--accent-2); box-shadow: 0 0 0 6px var(--accent-soft); }
.btn-ghost { border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: var(--text); font-weight: 500; }
.btn-ghost:hover { border-color: #4a524a; background: rgba(255, 255, 255, .05); }
.btn-dark { background: var(--accent-ink); color: var(--accent); }
.btn-dark:hover { background: #1b1f1b; }
.btn-outline-dark { border: 1.5px solid rgba(11, 12, 11, .35); color: var(--accent-ink); font-weight: 600; }
.btn-outline-dark:hover { background: rgba(11, 12, 11, .08); }
.btn-sm { height: 40px; padding: 0 17px; font-size: 14px; }
.btn[aria-disabled="true"], .btn.disabled, .btn:disabled { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.icon-link {
    position: relative; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 999px;
    color: var(--muted); transition: color .2s, background .2s;
}
.icon-link:hover { color: var(--text); background: rgba(255, 255, 255, .06); }
.icon-link[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.link-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; }
.link-btn:hover { color: var(--text); }
.link-btn.danger:hover { color: var(--bad); }
.text-link { color: var(--text); border-bottom: 1px solid var(--line-2); }
.text-link:hover { color: var(--accent); border-color: var(--accent-line); }
.icon-btn { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; color: var(--muted); }
.icon-btn:hover { background: rgba(255, 255, 255, .06); color: var(--text); }
.icon-btn .icon { width: 16px; height: 16px; }
.icon-dex {
    display: inline-block; width: 18px; height: 18px; background: currentColor;
    -webkit-mask: url(/static/images/dexscreener-mask.png) center / contain no-repeat; mask: url(/static/images/dexscreener-mask.png) center / contain no-repeat; mask-mode: luminance;
}
.tag { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--surface-3); color: var(--text-2); font-size: 12.5px; font-weight: 500; white-space: nowrap; }
.tag.accent { background: var(--accent-soft); color: var(--accent); }
.tag.good { background: var(--good-soft); color: var(--good); }
.tag .icon { width: 13px; height: 13px; }
.kbd { font: 500 11px var(--mono); padding: 2px 6px; border: 1px solid var(--line-2); border-radius: 6px; color: var(--text-2); }

/* ---------------------------------------------------------------- posuvníky */
* { scrollbar-width: thin; scrollbar-color: rgba(184, 242, 58, .22) transparent; }
*:hover { scrollbar-color: rgba(184, 242, 58, .4) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; background: transparent; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(184, 242, 58, .22); border-radius: 999px; border: 3px solid transparent; background-clip: padding-box; }
::-webkit-scrollbar-thumb:hover { background-color: rgba(184, 242, 58, .45); }
::-webkit-scrollbar-corner { background: transparent; }

/* ---------------------------------------------------------------- plovoucí navigace */
.site-nav { position: fixed; top: 14px; left: 0; right: 0; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav-pill {
    pointer-events: auto; max-width: var(--nav-max); margin: 0 auto; height: 62px; padding: 0 8px 0 14px; display: flex; align-items: center; gap: 18px;
    border-radius: 999px; border: 1px solid rgba(255, 255, 255, .07); background: rgba(19, 21, 19, .72);
    backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); box-shadow: 0 12px 40px rgba(0, 0, 0, .35);
    transition: background .3s, border-color .3s;
}
.site-nav.scrolled .nav-pill { background: rgba(19, 21, 19, .9); border-color: var(--line-2); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 22px rgba(184, 242, 58, .35); }
.brand-mark img { width: 72%; height: 72%; }
.brand-name { font-family: var(--display); font-weight: 700; font-size: 21px; letter-spacing: -0.04em; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 10px; }
.nav-links > a { padding: 9px 14px; border-radius: 999px; color: var(--muted); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: color .2s, background .2s; }
.nav-links > a:hover { color: var(--text); }
.nav-links > a.active { color: var(--accent-ink); background: var(--accent); }
.nav-links-socials { display: none; }
.nav-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-socials { display: flex; }
.nav-socials .icon-link { width: 34px; height: 34px; }
.nav-socials .icon, .nav-socials .icon-dex { width: 16px; height: 16px; }
.nav-toggle { display: none; }
.alert-count { position: absolute; top: 4px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 10px/16px var(--mono); text-align: center; }
.account-menu { position: relative; }
.account-btn { gap: 8px; }
.account-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.account-tier { font-weight: 600; }
.account-meta { font: 500 12px var(--mono); color: var(--muted); }
.account-btn .chevron { width: 15px; height: 15px; color: var(--muted); transition: transform .2s; }
.account-menu.open .chevron { transform: rotate(180deg); }
.account-dropdown {
    position: absolute; top: calc(100% + 14px); right: 0; width: 280px; padding: 8px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line-2);
    box-shadow: 0 30px 70px rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s;
}
.account-menu.open .account-dropdown { opacity: 1; visibility: visible; transform: none; }
.account-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 6px; padding: 12px 14px; border-radius: 14px; background: var(--accent); color: var(--accent-ink); }
.account-wallet { font: 600 13px var(--mono); }
.account-balance { font-size: 13px; opacity: .75; }
.account-dropdown a, .account-dropdown button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; font-size: 14px; color: var(--text-2); text-align: left; }
.account-dropdown a:hover, .account-dropdown button:hover { background: rgba(255, 255, 255, .05); color: var(--text); }
.account-dropdown .icon { width: 16px; height: 16px; color: var(--muted); }
.account-dropdown .danger:hover, .account-dropdown .danger:hover .icon { color: var(--bad); }

/* ---------------------------------------------------------------- CA pill */
.ca-pill { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 6px 0 16px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255, 255, 255, .03); }
.ca-label { font: 700 11px var(--mono); letter-spacing: .14em; color: var(--accent); }
.ca-value { font: 500 14px var(--mono); color: var(--text-2); }
.ca-value.soon { font-family: var(--sans); color: var(--muted); padding-right: 10px; }
.ca-copy { width: 32px; height: 32px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); }
.ca-copy:hover { background: rgba(255, 255, 255, .08); color: var(--text); }
.ca-copy .icon { width: 15px; height: 15px; }
.ca-pill.dark { border-color: rgba(11, 12, 11, .3); background: rgba(11, 12, 11, .06); }
.ca-pill.dark .ca-label, .ca-pill.dark .ca-value, .ca-pill.dark .ca-copy { color: var(--accent-ink); }
.ca-pill.dark .ca-copy:hover { background: rgba(11, 12, 11, .1); }

/* ---------------------------------------------------------------- hero */
.hero { position: relative; padding-top: clamp(150px, 20vh, 210px); overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 50%; top: -260px; width: 1200px; height: 900px; transform: translateX(-50%); z-index: 0; pointer-events: none;
    background: radial-gradient(closest-side, rgba(184, 242, 58, .11), transparent 70%); }
.swarm-canvas { position: absolute; inset: 0 0 auto; width: 100%; height: 100vh; min-height: 760px; z-index: 1; pointer-events: none;
    mask-image: linear-gradient(180deg, #000 60%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 60%, transparent); }
.swarm-canvas.small { height: 100%; min-height: 0; mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(60% 70% at 50% 50%, #000, transparent); }
.hero > .wrap { position: relative; z-index: 2; }
.hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; height: 36px; padding: 0 14px 0 12px; border-radius: 999px; border: 1px solid var(--line-2);
    background: rgba(19, 21, 19, .7); font-size: 13.5px; font-weight: 500; color: var(--text-2); transition: border-color .2s;
}
.hero-badge:hover { border-color: var(--accent-line); }
.hero-badge .icon { width: 14px; height: 14px; color: var(--accent); }
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(184, 242, 58, .6); } 70% { box-shadow: 0 0 0 10px rgba(184, 242, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(184, 242, 58, 0); } }
.hero-title { margin-top: 30px; font-size: clamp(52px, 10.2vw, 148px); line-height: .92; letter-spacing: -0.05em; font-weight: 800; }
.hero-title span { color: var(--accent); }
.hero-lede { margin: 30px auto 0; max-width: 640px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.55; color: var(--muted); }
.hero-ask {
    margin-top: 38px; width: 100%; max-width: 680px; display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 22px; border-radius: 999px;
    background: rgba(19, 21, 19, .9); border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); transition: border-color .25s, box-shadow .25s;
}
.hero-ask:focus-within { border-color: var(--accent-line); box-shadow: 0 0 0 6px var(--accent-soft), 0 20px 60px rgba(0, 0, 0, .45); }
.hero-ask > .icon { color: var(--accent); width: 20px; height: 20px; }
.hero-ask input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; color: var(--text); font: 400 16.5px var(--sans); }
.hero-ask input::placeholder { color: var(--dim); }
.hero-chips { margin-top: 18px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-chips a { height: 34px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line); background: rgba(19, 21, 19, .6); font-size: 13.5px; color: var(--muted); transition: color .2s, border-color .2s; }
.hero-chips a:hover { color: var(--text); border-color: var(--accent-line); }
.hero-note { margin: 22px 0 0; font: 400 12.5px var(--mono); letter-spacing: .06em; color: var(--dim); }

/* živá ukázka debaty */
.debate { margin-top: clamp(64px, 9vw, 110px); padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(25, 28, 25, .92), rgba(15, 17, 15, .92));
    border: 1px solid var(--line); box-shadow: 0 40px 120px rgba(0, 0, 0, .5); position: relative; z-index: 2; }
.debate-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.debate-q { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -0.02em; }
.debate-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 16px; }
.debate-answers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.answer { display: grid; grid-template-columns: 30px 1fr auto; gap: 12px; align-items: start; padding: 16px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line);
    transition: opacity .3s var(--ease), transform .3s var(--ease), border-color .3s; }
.answer img { width: 26px; height: 26px; object-fit: contain; }
.answer strong { display: block; font-size: 14.5px; font-weight: 600; }
.answer p { margin: 4px 0 0; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.answer-pct { font: 700 16px var(--mono); color: var(--accent); }
.debate-verdict { padding: 22px; border-radius: var(--r); background: var(--accent-soft); border: 1px solid var(--accent-line); display: flex; flex-direction: column; justify-content: center; gap: 8px;
    transition: opacity .35s var(--ease), transform .35s var(--ease); }
.debate-verdict .big-ring { margin-bottom: 10px; }
.verdict-title { font-family: var(--display); font-size: 22px; letter-spacing: -0.02em; }
.debate-verdict p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.split-note { margin-top: 6px; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--text-2); }
.split-note .icon { color: var(--accent); width: 17px; height: 17px; margin-top: 1px; }
.split-note b { color: var(--accent); font-weight: 600; }
.debate.animating .answer:not(.shown) { opacity: .15; transform: translateY(8px); }
.debate.animating .debate-verdict:not(.shown) { opacity: .15; transform: scale(.97); }
.answer.shown { border-color: var(--line-2); }

/* velký kruh */
.big-ring { --pct: 0; position: relative; width: 120px; height: 120px; flex: none; }
.big-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.big-ring circle { fill: none; stroke-width: 9; }
.big-ring .track { stroke: rgba(255, 255, 255, .08); }
.big-ring .fill { stroke: var(--accent); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: calc(326.7 * (1 - var(--pct) / 100)); transition: stroke-dashoffset .8s var(--ease), stroke .4s; }
.big-ring > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.big-ring b { font: 700 26px var(--display); letter-spacing: -0.03em; }
.big-ring span { font: 500 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }

/* ---------------------------------------------------------------- pás s modely */
.marquee { margin-top: clamp(72px, 9vw, 120px); padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 44px; width: max-content; animation: marquee 50s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 22px; font-weight: 600; letter-spacing: -0.02em; color: var(--text-2); white-space: nowrap; }
.marquee-item img { width: 26px; height: 26px; object-fit: contain; }
.marquee-item.soon { color: var(--dim); }
.marquee-item.soon img { opacity: .5; }
.marquee-item em { font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-style: normal; border: 1px solid var(--accent-line); border-radius: 999px; padding: 2px 8px; }

/* ---------------------------------------------------------------- 3 kroky */
.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.step { position: relative; padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .4s var(--ease); }
.step:hover { border-color: var(--accent-line); transform: translateY(-4px); }
.step-num { font: 800 120px/0.8 var(--display); letter-spacing: -0.06em; color: transparent; -webkit-text-stroke: 1.5px var(--line-2); position: absolute; right: 22px; top: 26px; transition: -webkit-text-stroke-color .3s; }
.step:hover .step-num { -webkit-text-stroke-color: var(--accent-line); }
.step h3 { font-size: 28px; margin-top: 70px; }
.step p { margin: 12px 0 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.step-visual { margin-top: auto; padding-top: 28px; }
.mini-input { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 8px 0 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 14px; color: var(--text-2); }
.mini-input i { width: 32px; height: 32px; border-radius: 50%; background: var(--accent); }
.mini-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.mini-cols span { display: flex; flex-direction: column; gap: 6px; padding: 10px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.mini-cols img { width: 18px; height: 18px; object-fit: contain; }
.mini-cols i { height: 5px; border-radius: 3px; background: var(--surface-3); }
.mini-cols i + i { width: 60%; }
.mini-verdict { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 16px; background: var(--accent); color: var(--accent-ink); }
.mini-verdict b { font: 800 30px var(--display); letter-spacing: -0.04em; }
.mini-verdict span { font-weight: 600; font-size: 15px; }

/* ---------------------------------------------------------------- škála verdiktu */
.verdict-scale { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.scale-tabs { margin-top: 34px; display: inline-flex; padding: 5px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); gap: 4px; }
.scale-tabs button { height: 42px; padding: 0 18px; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--muted); transition: background .25s, color .25s; }
.scale-tabs button:hover { color: var(--text); }
.scale-tabs button.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.scale-card { display: flex; gap: 30px; align-items: center; padding: clamp(24px, 4vw, 44px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); transition: border-color .4s; }
.scale-card .big-ring { width: 150px; height: 150px; }
.scale-card .big-ring b { font-size: 32px; }
.scale-card strong { display: block; font-family: var(--display); font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -0.03em; }
.scale-card p { margin: 6px 0 0; color: var(--muted); }
#scale-range { font: 500 13px var(--mono); letter-spacing: .06em; color: var(--accent); }
.scale-text { font-size: 16px; line-height: 1.6; }
.scale-card[data-state="partial"] { border-color: rgba(243, 201, 105, .4); }
.scale-card[data-state="partial"] .fill { stroke: var(--warn); }
.scale-card[data-state="partial"] #scale-range { color: var(--warn); }
.scale-card[data-state="split"] { border-color: rgba(255, 123, 107, .4); }
.scale-card[data-state="split"] .fill { stroke: var(--bad); }
.scale-card[data-state="split"] #scale-range { color: var(--bad); }

/* ---------------------------------------------------------------- bento */
.bento { margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { padding: 28px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 22px; min-height: 250px; transition: border-color .3s; }
.tile:hover { border-color: var(--line-2); }
.tile-wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
.tile h3 { font-size: 24px; }
.tile p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.tile > .btn { align-self: flex-start; margin-top: auto; }
.tile-visual { margin-top: auto; }
.tile-wide .tile-visual { margin-top: 0; }
.sources { display: flex; flex-direction: column; gap: 8px; }
.sources div { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); font-size: 14px; }
.sources b { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 12px var(--mono); }
.sources em { font: 400 12px var(--mono); color: var(--dim); font-style: normal; }
.files { display: flex; flex-wrap: wrap; gap: 8px; }
.files span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line-2); font: 500 13px var(--mono); color: var(--text-2); }
.files .icon { width: 15px; height: 15px; color: var(--accent); }
.memory { display: flex; gap: 8px; }
.memory i { flex: 1; height: 44px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--line); }
.memory i.on { background: var(--accent-soft); border-color: var(--accent-line); }
.share { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font: 500 13.5px var(--mono); color: var(--text-2); }
.share .icon { color: var(--accent); width: 16px; height: 16px; }
.tile-dark { background: linear-gradient(135deg, rgba(184, 242, 58, .1), var(--surface) 60%); border-color: var(--accent-line); }
.tg { display: flex; flex-direction: column; gap: 8px; }
.tg i { font-style: normal; max-width: 85%; padding: 12px 16px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
.tg .me { align-self: flex-end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; font-weight: 500; }
.tg .bot { background: var(--surface-2); border: 1px solid var(--line-2); color: var(--text-2); border-bottom-left-radius: 6px; }
.tg .bot b { display: block; color: var(--accent); font-weight: 600; margin-bottom: 3px; }

/* ---------------------------------------------------------------- token (limetková sekce) */
.token-band { margin-top: var(--section); padding: clamp(64px, 9vw, 120px) 0; background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; }
.token-band::before { content: ""; position: absolute; inset: 0; opacity: .12; pointer-events: none;
    background-image: radial-gradient(var(--accent-ink) 1.2px, transparent 1.3px); background-size: 22px 22px; mask-image: linear-gradient(180deg, #000, transparent 55%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 55%); }
.token-band .wrap { position: relative; }
.token-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.token-top h2 { margin-top: 20px; font-size: clamp(46px, 7vw, 100px); line-height: .92; letter-spacing: -0.05em; font-weight: 800; }
.token-side p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(11, 12, 11, .75); }
.token-side .ca-pill { margin-top: 22px; }
.token-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.tier-table { margin-top: clamp(48px, 6vw, 72px); border-top: 2px solid var(--accent-ink); }
.tier-row { display: grid; grid-template-columns: 1.3fr 1.1fr .9fr .9fr 1.4fr; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid rgba(11, 12, 11, .18); font-size: 16px; }
.tier-row.head { font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(11, 12, 11, .6); padding: 14px 4px; }
.t-name { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -0.03em; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.t-name em { font: 600 11px var(--mono); font-style: normal; letter-spacing: .08em; text-transform: uppercase; background: var(--accent-ink); color: var(--accent); padding: 4px 9px; border-radius: 999px; }
.t-bar { height: 10px; border-radius: 99px; background: rgba(11, 12, 11, .12); overflow: hidden; }
.t-bar i { display: block; height: 100%; border-radius: inherit; background: var(--accent-ink); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease); }
.tier-table.in .t-bar i { transform: scaleX(1); }
.tier-row.hot { background: rgba(11, 12, 11, .06); }
.burn-panel { margin-top: 40px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--accent-ink); color: var(--text); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 40px; }
.burn-intro h3 { display: flex; align-items: center; gap: 10px; font-size: 26px; }
.burn-intro h3 .icon { color: var(--accent); width: 22px; height: 22px; }
.burn-intro p { margin: 10px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.burn-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; align-self: start; }
.burn-stats div { padding: 16px; border-radius: 16px; background: var(--surface-2); }
.burn-stats b { display: block; font: 700 28px var(--display); letter-spacing: -0.03em; color: var(--accent); }
.burn-stats span { font-size: 13px; color: var(--muted); }
.burn-feed { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; }
.burn-feed li { display: grid; grid-template-columns: 18px 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14px; }
.burn-feed li .icon { width: 15px; height: 15px; color: var(--accent); }
.burn-feed .bf-wallet, .burn-feed .bf-amount { font-family: var(--mono); color: var(--text-2); }
.burn-feed a { font-size: 12.5px; color: var(--dim); }
.burn-feed a:hover { color: var(--text); }
.burn-feed li.empty { display: block; color: var(--dim); }

/* ---------------------------------------------------------------- vývojáři */
.dev { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
.checks { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; align-items: center; gap: 12px; font-size: 15.5px; color: var(--text-2); }
.checks .icon { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); stroke-width: 3; }
.terminal { border-radius: var(--r-lg); background: #070807; border: 1px solid var(--line-2); overflow: hidden; box-shadow: 0 40px 100px rgba(0, 0, 0, .5); }
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--line-2); }
.terminal-bar span { margin-left: 10px; font: 400 12.5px var(--mono); color: var(--dim); }
.terminal pre { margin: 0; padding: 24px; min-height: 330px; font: 400 13.5px/1.75 var(--mono); color: var(--text-2); white-space: pre-wrap; word-break: break-word; }
.t-p { color: var(--accent); }
.t-k { color: #a9c7ff; }
.t-s { color: var(--accent); }
.t-n { color: var(--warn); }
.t-dim { color: var(--dim); }
.t-caret { display: inline-block; width: 9px; height: 17px; vertical-align: -3px; background: var(--accent); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.t-out { display: block; transition: opacity .5s; }
.terminal.typing .t-out { opacity: 0; }

/* ---------------------------------------------------------------- soukromí */
.privacy { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.privacy > div { padding: 26px; display: flex; flex-direction: column; gap: 6px; border-left: 1px solid var(--line); }
.privacy > div:first-child { border-left: 0; }
.privacy .icon { width: 24px; height: 24px; color: var(--accent); margin-bottom: 10px; }
.privacy strong { font-size: 16px; font-weight: 600; }
.privacy span { font-size: 14px; color: var(--muted); }

/* ---------------------------------------------------------------- agenti */
.agents { margin-top: 56px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.agent-card { padding: 30px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; transition: border-color .3s; }
.agent-card:hover { border-color: var(--accent-line); }
.agent-top { display: flex; justify-content: space-between; align-items: center; }
.agent-icon { width: 48px; height: 48px; border-radius: 15px; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; }
.agent-icon .icon { width: 22px; height: 22px; }
.agent-card h3 { font-size: 28px; }
.agent-card p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.agent-card p code { font-size: .9em; color: var(--accent); background: var(--surface-2); border-radius: 6px; padding: 1px 6px; }
.agent-card .code-block pre { font-size: 12.5px; white-space: pre; overflow-x: auto; }
.agent-card .text-link { margin-top: auto; align-self: flex-start; font-size: 14.5px; }
.flow402 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 18px; border-radius: var(--r); background: #070807; border: 1px solid var(--line-2); }
.flow402 span { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 999px; background: var(--surface-2); font: 500 12.5px var(--mono); color: var(--text-2); }
.flow402 span b { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-3); font-size: 11px; }
.flow402 span.hot { background: var(--accent-soft); color: var(--accent); }
.flow402 span.hot b { background: var(--accent); color: var(--accent-ink); }
.flow402 i { width: 14px; height: 1px; background: var(--line-2); }

/* ---------------------------------------------------------------- soukromí */
.privacy-band { padding: clamp(28px, 5vw, 64px); border-radius: var(--r-lg); border: 1px solid var(--line); position: relative; overflow: hidden;
    background: radial-gradient(70% 90% at 100% 0%, rgba(184, 242, 58, .1), transparent 60%), var(--surface); }
.privacy-head h2 { margin-top: 20px; font-size: clamp(38px, 5.4vw, 76px); line-height: .98; }
.privacy-head h2 span { color: var(--accent); }
.privacy-grid { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.privacy-grid div { padding: 22px; border-radius: var(--r); background: rgba(11, 12, 11, .6); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.privacy-grid .icon { width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); margin-bottom: 10px; }
.privacy-grid strong { font: 700 18px var(--display); letter-spacing: -0.02em; }
.privacy-grid span { font-size: 14.5px; line-height: 1.55; color: var(--muted); }
@media (max-width: 1040px) { .agents { grid-template-columns: 1fr; } .privacy-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .privacy-grid { grid-template-columns: 1fr; } .flow402 i { display: none; } }

/* ---------------------------------------------------------------- FAQ */
.faq-list { margin: 56px auto 0; max-width: 860px; }
.faq-item { border-radius: var(--r); transition: background .3s; }
.faq-item + .faq-item { margin-top: 8px; }
.faq-item.open { background: var(--surface); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; text-align: left; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em;
    border-radius: var(--r); border: 1px solid var(--line); transition: border-color .2s; }
.faq-item.open .faq-q { border-color: transparent; }
.faq-q:hover { border-color: var(--line-2); }
.faq-q .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--surface-2); color: var(--muted); transition: transform .35s var(--ease), background .2s, color .2s; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); background: var(--accent); color: var(--accent-ink); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s var(--ease); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p, .faq-a ul { margin: 0; padding: 0 24px 24px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }
.faq-a ul { padding-left: 44px; }
.faq-a li + li { margin-top: 6px; }
.faq-a strong { color: var(--text-2); font-weight: 600; }
.faq-a a { color: var(--accent); }

/* ---------------------------------------------------------------- závěrečná výzva */
.final-cta { position: relative; margin-top: var(--section); padding: clamp(80px, 12vw, 160px) 0; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final-cta .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.final-cta h2 { font-size: clamp(48px, 8vw, 120px); line-height: .92; letter-spacing: -0.05em; font-weight: 800; }
.final-cta h2 span { color: var(--accent); }

/* ---------------------------------------------------------------- patička */
.site-footer { padding: clamp(64px, 8vw, 100px) 0 36px; border-top: 1px solid var(--line); overflow: hidden; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.footer-claim { margin: 0; font: 700 34px/1.05 var(--display); letter-spacing: -0.035em; }
.footer-claim span { color: var(--accent); }
.footer-socials { margin: 22px 0 0 -8px; display: flex; gap: 4px; }
.footer-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.footer-cols h4 { margin: 0 0 14px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); }
.footer-cols a { display: block; padding: 5px 0; font-size: 15px; color: var(--text-2); transition: color .2s; }
.footer-cols a:hover { color: var(--accent); }
.footer-cols a[aria-disabled="true"] { opacity: .4; pointer-events: none; }
.footer-wordmark { margin-top: clamp(48px, 7vw, 90px); font: 800 clamp(80px, 19vw, 280px)/.8 var(--display); letter-spacing: -0.065em; text-align: center; white-space: nowrap;
    color: transparent; -webkit-text-stroke: 1.5px var(--line-2); user-select: none; }
.footer-bottom { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.disclaimer { margin: 0; max-width: 720px; font-size: 13px; line-height: 1.6; color: var(--dim); }
.footer-bottom .mono { font-size: 12.5px; color: var(--dim); white-space: nowrap; }

/* ---------------------------------------------------------------- verdikt (chat, sdílení) */
.quorum-card { --g: var(--accent); }
.quorum-card.verdict-partial { --g: var(--warn); }
.quorum-card.verdict-split { --g: var(--bad); }
.quorum-head { display: flex; align-items: center; gap: 20px; padding: 20px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--line); }
.quorum-gauge { flex: none; position: relative; width: 84px; height: 84px; border-radius: 50%; background: conic-gradient(var(--g) calc(var(--pct) * 1%), var(--surface-3) 0); }
.quorum-gauge::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--surface-2); }
.quorum-gauge span { position: absolute; inset: 0; display: grid; place-items: center; font: 700 20px var(--display); }
.quorum-verdict { display: block; font: 700 26px var(--display); letter-spacing: -0.03em; color: var(--g); }
.quorum-sub { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.quorum-card .md { margin-top: 20px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.quorum-card .md p { margin: 0 0 .8em; }
.quorum-card .md strong { color: var(--text); }
.quorum-agree, .quorum-split { margin-top: 22px; }
.quorum-agree h3, .quorum-split h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.quorum-agree h3 .icon, .quorum-split h3 .icon { width: 16px; height: 16px; color: var(--accent); }
.quorum-agree ul { margin: 0; padding-left: 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.quorum-agree li + li { margin-top: 5px; }
.split-item { padding: 16px 18px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); }
.split-item + .split-item { margin-top: 8px; }
.split-item strong { display: block; font-size: 15.5px; font-weight: 600; margin-bottom: 8px; }
.split-item p { margin: 6px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.split-models { display: inline-block; margin-right: 6px; font: 600 11.5px var(--mono); color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 2px 9px; }
.quorum-none, .quorum-note { display: flex; align-items: flex-start; gap: 8px; margin: 18px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.quorum-none .icon { color: var(--accent); width: 16px; height: 16px; margin-top: 2px; }
.quorum-note .icon { color: var(--dim); width: 16px; height: 16px; margin-top: 2px; }
a.cite { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; margin: 0 1px; border-radius: 5px; background: var(--accent-soft);
    color: var(--accent) !important; border: 0 !important; font: 700 10.5px var(--mono); vertical-align: 2px; text-decoration: none; }
a.cite:hover { background: var(--accent); color: var(--accent-ink) !important; }

/* ---------------------------------------------------------------- modaly, notifikace */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(5, 6, 5, .74); backdrop-filter: blur(8px); }
.modal-content { width: 100%; max-width: 660px; max-height: calc(100vh - 40px); overflow: auto; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: 0 40px 120px rgba(0, 0, 0, .6); }
.modal-content.wide { max-width: 860px; }
.modal-head { position: sticky; top: 0; z-index: 1; display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 26px 28px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 12px 0 0; font-size: 32px; }
.modal-body { padding: 24px 28px; }
.modal-foot { position: sticky; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 28px; background: var(--surface); border-top: 1px solid var(--line); }
.modal-note { margin: 0; font-size: 13px; color: var(--dim); }
.changelog-body { padding: 8px 28px 28px; }
.release { padding: 20px 0; border-bottom: 1px solid var(--line); }
.release:last-child { border-bottom: 0; }
.release-meta { display: flex; align-items: center; gap: 10px; }
.release-version { font: 700 15px var(--display); }
.release-tag { font-size: 12px; font-weight: 600; color: var(--accent-ink); background: var(--accent); border-radius: 999px; padding: 3px 9px; }
.release time { margin-left: auto; font: 400 12.5px var(--mono); color: var(--dim); }
.release ul { margin: 12px 0 0; padding-left: 18px; font-size: 14.5px; line-height: 1.6; color: var(--muted); }
.release li + li { margin-top: 4px; }
.keys-body { padding: 22px 28px; }
.keys-note, .keys-login-hint { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-sm); background: var(--surface-2); border: 1px solid var(--line); }
.keys-note .icon, .keys-login-hint .icon { color: var(--accent); margin-top: 2px; }
.keys-note p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.keys-note strong { color: var(--text-2); font-weight: 600; }
.keys-login-hint { margin-top: 12px; align-items: center; font-size: 14px; }
.keys-login-hint .btn { margin-left: auto; }
.keys-list { margin-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.key-row { padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface-2); }
.key-row.saved { border-color: var(--accent-line); }
.key-title { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.key-status { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 500; color: var(--accent); }
.key-status .icon { width: 14px; height: 14px; }
.key-models { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); }
.key-saved { margin-top: 12px; display: flex; align-items: center; gap: 10px; font: 400 13px var(--mono); color: var(--text-2); }
.key-form { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.key-input { flex: 1 1 240px; display: flex; align-items: center; height: 42px; padding: 0 6px 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); }
.key-input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; color: var(--text); font: 400 13.5px var(--mono); }
.key-get { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.key-get:hover { color: var(--text); }
.key-get .icon { width: 14px; height: 14px; }
.buy-btn.small { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 14px; font-weight: 600; }
.buy-btn.small:hover { background: var(--accent-2); }
.keys-footer { padding: 16px 28px 22px; border-top: 1px solid var(--line); }
.notification { position: fixed; left: 50%; bottom: 24px; z-index: 200; display: flex; align-items: center; gap: 10px; max-width: min(460px, calc(100vw - 32px)); padding: 12px 18px; border-radius: 999px;
    background: var(--surface-2); border: 1px solid var(--line-2); box-shadow: 0 20px 60px rgba(0, 0, 0, .5); font-size: 14px; transform: translateX(-50%); transition: opacity .3s, transform .35s var(--ease); }
.notification.hidden { opacity: 0; transform: translate(-50%, 12px); pointer-events: none; }
.notification .icon { color: var(--accent); }
.notification.error .icon { color: var(--bad); }

/* ---------------------------------------------------------------- potvrzovací okno */
.confirm-modal { animation: fade-in .18s ease; }
.confirm-modal.closing { opacity: 0; transition: opacity .18s; }
@keyframes fade-in { from { opacity: 0; } }
.confirm-card { max-width: 440px; padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; animation: pop-in .3s var(--ease); }
@keyframes pop-in { from { opacity: 0; transform: translateY(10px) scale(.97); } }
.confirm-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.confirm-icon.danger { background: rgba(255, 123, 107, .12); color: var(--bad); }
.confirm-icon .icon { width: 26px; height: 26px; }
.confirm-card h2 { margin-top: 20px; font-size: 26px; }
.confirm-card p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; color: var(--muted); }
.confirm-actions { margin-top: 26px; width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.confirm-actions .btn { width: 100%; }
.btn-danger { background: var(--bad); color: #1a0806; }
.btn-danger:hover { background: #ff9486; box-shadow: 0 0 0 6px rgba(255, 123, 107, .15); }

/* ---------------------------------------------------------------- modal s klíči */
#keys-modal .modal-content { max-width: 720px; }
.keys-perks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.keys-perks div { padding: 16px; border-radius: var(--r-sm); background: var(--surface-2); display: flex; flex-direction: column; gap: 3px; }
.keys-perks .icon { width: 20px; height: 20px; color: var(--accent); margin-bottom: 8px; }
.keys-perks strong { font-size: 14.5px; font-weight: 600; }
.keys-perks span { font-size: 12.5px; color: var(--muted); line-height: 1.4; }
.keys-summary { margin: 4px 2px 2px; font-size: 13px; color: var(--muted); }
.keys-summary b { color: var(--accent); font-family: var(--mono); }
.key-row { padding: 0; border-radius: var(--r); overflow: hidden; transition: border-color .2s, background .2s; }
.key-row.open { border-color: var(--accent-line); }
.key-head { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 14px; padding: 14px 14px 14px 16px; }
.key-logo { width: 44px; height: 44px; border-radius: 13px; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; }
.key-logo img { width: 24px; height: 24px; object-fit: contain; }
.key-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.key-meta strong { font-size: 15.5px; font-weight: 600; }
.key-models { margin: 0; font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.key-status { height: 30px; padding: 0 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.key-status .icon { width: 15px; height: 15px; }
.key-add { height: 34px; padding: 0 14px; font-size: 13.5px; }
.key-row.open .key-add { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.key-row.open .key-add .icon { transform: rotate(45deg); }
.key-add .icon { transition: transform .25s var(--ease); }
.key-form { display: none; margin: 0; padding: 0 16px 16px; }
.key-row.open .key-form { display: flex; animation: pop-in .3s var(--ease); }
.key-get { width: 100%; }
.key-saved { margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.key-saved .icon { width: 15px; height: 15px; color: var(--accent); }
.key-saved code { flex: 1; font-size: 13px; color: var(--text-2); }
.key-saved .link-btn { font-size: 13px; }
.key-saved .link-btn .icon { color: inherit; }
@media (max-width: 720px) {
    .keys-perks { grid-template-columns: 1fr; }
    .confirm-actions { grid-template-columns: 1fr; }
    .key-head { grid-template-columns: 40px 1fr; }
    .key-head > :last-child { grid-column: 1 / -1; justify-self: start; }
}

/* ---------------------------------------------------------------- dokumentace */
.docs-hero { padding-top: 150px; }
.docs-hero h1 { margin-top: 20px; font-size: clamp(46px, 7vw, 96px); line-height: .94; letter-spacing: -0.05em; font-weight: 800; }
.docs-hero h1 span { color: var(--accent); }
.docs-hero .lede { max-width: 680px; }
.quick-start { margin-top: 44px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.3fr); gap: 12px; }
.qs { position: relative; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; transition: border-color .2s; }
a.qs:hover { border-color: var(--accent-line); }
.qs-n { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 700 14px var(--mono); margin-bottom: 12px; }
.qs strong { font-size: 16px; font-weight: 600; }
.qs span { font-size: 14px; color: var(--muted); line-height: 1.45; }
.qs.base { justify-content: center; background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.qs.base span { color: rgba(11, 12, 11, .65); font: 600 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; }
.qs.base code { font: 600 16px var(--mono); word-break: break-all; }
.qs.base .icon-btn { position: absolute; top: 12px; right: 12px; color: var(--accent-ink); }
.docs-tabs { position: sticky; top: 90px; z-index: 20; margin-top: 56px; overscroll-behavior-x: contain; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 6px; border-radius: 999px; background: rgba(19, 21, 19, .9);
    border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.docs-tabs::-webkit-scrollbar { display: none; }
.docs-tabs a { flex: none; height: 38px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: color .2s, background .2s; }
.docs-tabs a:hover { color: var(--text); }
.docs-tabs a.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.docs-tabs a.active .method { background: rgba(11, 12, 11, .15); color: var(--accent-ink); }
.doc-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); padding: 72px 0 0; align-items: start; }
.doc-row.full { grid-template-columns: 1fr; }
.doc-text h2 { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: clamp(30px, 3vw, 40px); }
.doc-text h3 { margin: 30px 0 12px; font-size: 19px; }
.doc-text p { margin: 14px 0 0; font-size: 16px; line-height: 1.7; color: var(--muted); }
.doc-code { position: sticky; top: 160px; display: flex; flex-direction: column; gap: 12px; }
.doc-row code:not(pre code), .docs-hero .lede code { font-size: .88em; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }
.doc-text a:not(.btn) { color: var(--accent); }
.method { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 999px; font: 700 11px var(--mono); letter-spacing: .06em; }
.method.post { background: var(--accent); color: var(--accent-ink); }
.method.get { background: var(--surface-3); color: var(--text); }
.code-block { border-radius: var(--r); background: #070807; border: 1px solid var(--line-2); overflow: hidden; }
.code-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--line); font: 400 12.5px var(--mono); color: var(--dim); }
.code-block pre { margin: 0; padding: 18px 20px; overflow-x: auto; font: 400 13px/1.75 var(--mono); color: var(--text-2); }
.c-k { color: var(--accent); }
.c-s { color: #a9c7ff; }
.c-v { color: var(--accent); }
.c-n { color: var(--warn); }
.c-m { color: var(--dim); }
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); }
.doc-row .table-wrap { margin-top: 22px; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.data-table th { text-align: left; padding: 14px 18px; font: 500 11.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); border-bottom: 1px solid var(--line); white-space: nowrap; }
.data-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); color: var(--text-2); vertical-align: top; line-height: 1.55; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table td.mono, .data-table td.type { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; }
.data-table .icon.ok { width: 16px; height: 16px; color: var(--accent); }
.data-table .dim { color: var(--dim); }
.data-table td.empty { text-align: center; color: var(--dim); padding: 26px; }
.data-table td a { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 13px; color: var(--text-2); }
.data-table td a:hover { color: var(--accent); }
.data-table td a .icon { width: 13px; height: 13px; }
.data-table .right { text-align: right; }
.params td:first-child { white-space: nowrap; }
.model-cell { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; }
.model-cell img { width: 20px; height: 20px; object-fit: contain; }
.tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }
.tab { height: 34px; padding: 0 16px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.tab:hover { color: var(--text); }
.tab.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.verdict-list { margin-top: 22px; display: grid; gap: 10px; }
.verdict-item { display: grid; grid-template-columns: 110px 70px 1fr; gap: 16px; align-items: center; padding: 16px 18px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.verdict-item strong { font: 700 15px var(--mono); color: var(--text); }
.roadmap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.roadmap div { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.roadmap .icon { width: 22px; height: 22px; color: var(--accent); margin: 12px 0 6px; }
.roadmap strong { font-size: 16px; }
.roadmap span:not(.tag) { font-size: 14px; color: var(--muted); }
.roadmap .tag { align-self: flex-start; }

/* ---------------------------------------------------------------- dashboard */
.dash-shell { padding-top: 120px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 28px; align-items: start; }
.dash-nav { position: sticky; top: 110px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.dash-nav a, .dash-nav button { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; color: var(--muted); text-align: left; transition: background .2s, color .2s; }
.dash-nav a:hover, .dash-nav button:hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.dash-nav a.active { background: var(--accent); color: var(--accent-ink); font-weight: 600; }
.dash-nav .icon { width: 17px; height: 17px; }
.dash-nav-wallet { margin: 4px 4px 10px; padding: 14px; border-radius: 16px; background: var(--surface-2); display: flex; flex-direction: column; gap: 8px; }
.dash-nav-wallet .tag { align-self: flex-start; }
.dash-nav-wallet .btn { height: 36px; justify-content: flex-start; padding: 0 12px; font-size: 13px; }
.dash-main { min-width: 0; }
.dash-gate { min-height: calc(100vh - 380px); display: grid; place-items: center; padding-top: 120px; }
.gate-card { width: 100%; max-width: 760px; padding: clamp(28px, 5vw, 60px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); text-align: center; display: flex; flex-direction: column; align-items: center; }
.gate-card h1 { margin-top: 18px; font-size: clamp(36px, 5vw, 64px); line-height: .98; letter-spacing: -0.045em; }
.gate-card .lede { margin-left: auto; margin-right: auto; }
.gate-card .btn-row { justify-content: center; }
.gate-mark { width: 84px; height: 84px; border-radius: 26px; background: var(--accent); display: grid; place-items: center; box-shadow: 0 0 60px rgba(184, 242, 58, .35); margin-bottom: 18px; }
.gate-mark img { width: 72%; }
.balance-hero { position: relative; padding: clamp(26px, 4vw, 44px); border-radius: var(--r-lg); background: var(--accent); color: var(--accent-ink); overflow: hidden; }
.balance-hero::after { content: ""; position: absolute; right: -40px; top: -40px; width: 320px; height: 320px; opacity: .14; background: url(/static/images/swarmind.svg) center / contain no-repeat; }
.balance-hero > * { position: relative; z-index: 1; }
.balance-hero .label { color: var(--accent-ink); }
.balance-hero .label::before { box-shadow: none; }
.balance-value { display: block; margin-top: 18px; font: 800 clamp(44px, 6vw, 82px)/.95 var(--display); letter-spacing: -0.05em; }
.balance-sub { display: block; margin-top: 8px; font-size: 16px; opacity: .7; }
.ladder { margin-top: 30px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ladder-step { display: flex; flex-direction: column; gap: 4px; }
.ladder-bar { position: relative; height: 10px; border-radius: 99px; background: rgba(11, 12, 11, .14); overflow: hidden; margin-bottom: 8px; }
.ladder-bar::after { content: ""; position: absolute; inset: 0; width: calc(var(--fill, 0) * 100%); border-radius: inherit; background: var(--accent-ink); transition: width 1.2s var(--ease); }
.ladder-step strong { font: 700 16px var(--display); opacity: .55; }
.ladder-step span:last-child { font: 500 12px var(--mono); opacity: .55; }
.ladder-step.done strong, .ladder-step.done span:last-child { opacity: 1; }
.ladder-step.current strong { text-decoration: underline; text-underline-offset: 4px; }
.next-tier { margin-top: 22px; display: flex; align-items: center; gap: 14px; font-size: 14px; font-weight: 500; }
.next-tier .meter { flex: 0 0 140px; background: rgba(11, 12, 11, .14); }
.next-tier .meter span { background: var(--accent-ink); }
.meter { height: 8px; border-radius: 99px; background: var(--surface-3); overflow: hidden; }
.meter span { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--accent); transition: width 1s var(--ease); }
.dash-cards { margin-top: 14px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.dcard { padding: 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.dcard-label { display: flex; align-items: center; gap: 8px; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dcard-label .icon { width: 15px; height: 15px; color: var(--accent); }
.dcard-num { font: 800 54px/.9 var(--display); letter-spacing: -0.05em; }
.dcard-num small { font: 500 16px var(--sans); letter-spacing: 0; color: var(--muted); margin-left: 6px; }
.dcard .meter { margin-top: auto; }
.dcard .stat-sub { font-size: 13.5px; color: var(--muted); }
.dcard.credits { border-color: var(--accent-line); background: linear-gradient(160deg, rgba(184, 242, 58, .1), var(--surface) 60%); }
.dcard.credits .dcard-num { color: var(--accent); }
.dcard.credits .btn { margin-top: auto; align-self: flex-start; }
.reset-line { margin: 14px 4px 0; display: flex; align-items: center; gap: 8px; font: 400 12.5px var(--mono); color: var(--dim); }
.reset-line .icon { width: 14px; height: 14px; }
.dash-block { padding-top: 64px; }
.dash-block-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.dash-block-head h2 { margin-top: 16px; font-size: clamp(32px, 3.6vw, 48px); line-height: 1; }
.dash-block-head h2 span { color: var(--dim); }
.dash-block-head p { margin: 0; max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.dash-block .keys-note { margin-top: 24px; }
.burn-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 14px; }
.burn-grid.disabled { opacity: .45; pointer-events: none; filter: saturate(.5); }
.burn-packs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.pack { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px; text-align: left; border-radius: var(--r); background: var(--surface); border: 1.5px solid var(--line);
    cursor: pointer; font: inherit; color: inherit; transition: border-color .2s, background .2s, transform .25s var(--ease); }
.pack:hover { border-color: var(--line-2); transform: translateY(-2px); }
.pack.selected { border-color: var(--accent); background: var(--accent-soft); }
.pack.selected::after { content: ""; position: absolute; top: 18px; right: 18px; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.pack-flames { display: flex; gap: 2px; margin-bottom: 14px; color: var(--dim); }
.pack.selected .pack-flames { color: var(--accent); }
.pack-flames .icon { width: 18px; height: 18px; }
.pack-tokens { font: 700 22px var(--display); letter-spacing: -0.03em; }
.pack-credits { font: 600 14px var(--mono); color: var(--accent); }
.pack-hint { font-size: 13px; color: var(--dim); }
.pack.custom input { margin-top: 10px; width: 100%; height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font: 400 14px var(--mono); outline: 0; }
.pack.custom input:focus { border-color: var(--accent-line); }
.receipt { padding: 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; }
.receipt-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--muted); }
.receipt-row strong { font: 700 22px var(--display); color: var(--text); letter-spacing: -0.03em; }
.receipt-row.big strong { font-size: clamp(30px, 2.8vw, 40px); color: var(--accent); }
.receipt-row.muted { margin-top: 16px; padding-top: 16px; border-top: 1px dashed var(--line-2); font-size: 13px; color: var(--dim); }
.receipt-arrow { display: flex; align-items: center; gap: 10px; margin: 14px 0; color: var(--accent); }
.receipt-arrow span { flex: 1; height: 1px; background: var(--line-2); }
.receipt-arrow .icon { width: 18px; height: 18px; transform: rotate(90deg); }
.burn-confirm { position: relative; margin: 18px 0 6px; display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.burn-confirm input { position: absolute; opacity: 0; pointer-events: none; }
.burn-confirm .check { width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); display: grid; place-items: center; transition: background .15s, border-color .15s; }
.burn-confirm .check .icon { width: 14px; height: 14px; stroke-width: 3; color: var(--accent-ink); opacity: 0; }
.burn-confirm input:checked + .check { background: var(--accent); border-color: var(--accent); }
.burn-confirm input:checked + .check .icon { opacity: 1; }
.burn-confirm input:focus-visible + .check { box-shadow: 0 0 0 3px var(--accent-soft); }
.burn-btn { width: 100%; margin-top: 10px; }
.burn-status { margin-top: 10px; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); font-size: 14px; line-height: 1.45; background: var(--surface-3); color: var(--text-2); }
.burn-status .icon { width: 16px; height: 16px; margin-top: 2px; flex: none; }
.burn-status.info .icon { color: var(--accent); }
.burn-status.success { background: var(--good-soft); color: var(--accent); }
.burn-status.error { background: rgba(255, 123, 107, .1); color: var(--bad); }
.dash-block > .table-wrap { margin-top: 14px; }
.table-title { display: flex; align-items: center; gap: 8px; padding: 16px 18px 4px; font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.table-title .icon { width: 15px; height: 15px; color: var(--accent); }
.api-grid { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 14px; align-items: start; }
.api-keys { padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.api-keys .table-wrap { margin-top: 16px; }
.key-create { display: flex; gap: 10px; }
.key-create input { flex: 1; min-width: 0; height: 46px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--bg); color: var(--text); font-size: 14.5px; outline: 0; }
.key-create input:focus { border-color: var(--accent-line); }
.key-create .btn { height: 46px; }
.new-key { margin-top: 14px; padding: 16px; border-radius: var(--r-sm); border: 1px solid var(--accent-line); background: var(--accent-soft); }
.new-key-head { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--text-2); }
.new-key-head .icon { width: 16px; height: 16px; color: var(--accent); }
.new-key-value { margin-top: 10px; display: flex; align-items: center; gap: 10px; padding: 10px 8px 10px 14px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line-2); }
.new-key-value code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 13.5px; color: var(--text); }
.dash-byok { margin-top: 14px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; gap: 20px; }
.dash-byok .icon.big { width: 44px; height: 44px; padding: 11px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); flex: none; }
.dash-byok h3 { font-size: 20px; }
.dash-byok p { margin: 4px 0 0; font-size: 14.5px; color: var(--muted); }
.dash-byok .btn { margin-left: auto; flex: none; }

/* ---------------------------------------------------------------- veřejná stránka sdílení */
.share-page { padding-top: 140px; max-width: 980px; }
.share-head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.share-question { margin-top: 22px; font-size: clamp(34px, 5vw, 68px); line-height: 1; letter-spacing: -0.045em; text-wrap: balance; }
.share-models { margin-top: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.share-models span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; color: var(--text-2); }
.share-models img { width: 18px; height: 18px; object-fit: contain; }
.share-verdict { margin-top: 44px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.share-answers { margin-top: 14px; display: flex; flex-direction: column; gap: 12px; }
.share-answer { padding: 24px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; grid-template-columns: 44px 1fr; gap: 18px; }
.share-answer .avatar { width: 44px; height: 44px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line-2); display: grid; place-items: center; }
.share-answer .avatar img { width: 24px; height: 24px; object-fit: contain; }
.share-answer h3 { font-size: 18px; }
.share-answer .md { margin-top: 8px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.share-answer .md p { margin: 0 0 .7em; }
.share-answer .md p:last-child { margin: 0; }
.share-answer .md strong { color: var(--text); }
.share-answer .md ul, .share-answer .md ol { padding-left: 20px; }
.share-sources { margin-top: 14px; padding: 22px 26px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.share-sources h3 { display: flex; align-items: center; gap: 8px; font: 500 12.5px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text-2); }
.share-sources h3 .icon { width: 16px; height: 16px; color: var(--accent); }
.share-sources ol { margin: 14px 0 0; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; color: var(--dim); font-size: 14.5px; }
.share-sources a { color: var(--text-2); }
.share-sources a:hover { color: var(--accent); }
.share-sources li span { margin-left: 8px; font: 400 12px var(--mono); color: var(--dim); }
.share-cta { margin-top: 14px; padding: clamp(32px, 5vw, 56px); border-radius: var(--r-lg); background: var(--accent); color: var(--accent-ink); text-align: center; display: flex; flex-direction: column; align-items: center; }
.share-cta h2 { font-size: clamp(38px, 5vw, 64px); line-height: .95; letter-spacing: -0.045em; font-weight: 800; }
.share-cta .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- 404 */
.notfound { position: relative; min-height: 88vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.notfound .swarm-canvas { height: 100%; min-height: 0; }
.notfound .wrap { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; }
.notfound-code { font: 800 clamp(120px, 24vw, 300px)/.8 var(--display); letter-spacing: -0.07em; color: transparent; -webkit-text-stroke: 2px var(--accent); }
.notfound h1 { margin-top: 30px; font-size: clamp(32px, 4.4vw, 56px); letter-spacing: -0.04em; }
.notfound h1 span { color: var(--accent); }
.notfound .btn-row { justify-content: center; }

/* ---------------------------------------------------------------- animace při rolování */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .marquee-track { animation: none; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* ---------------------------------------------------------------- responzivita */
@media (max-width: 1180px) {
    .nav-socials { display: none; }
    .quick-start { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1040px) {
    .account-meta { display: none; }
    .nav-links { position: fixed; top: 88px; left: var(--gutter); right: var(--gutter); margin: 0; padding: 12px; flex-direction: column; align-items: stretch; gap: 2px;
        border-radius: var(--r-lg); background: rgba(19, 21, 19, .97); border: 1px solid var(--line-2); box-shadow: 0 30px 70px rgba(0, 0, 0, .5);
        opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; pointer-events: auto; }
    .site-nav.open .nav-links { opacity: 1; visibility: visible; transform: none; }
    .nav-links > a { padding: 14px 16px; font-size: 17px; }
    .nav-links-socials { display: flex; gap: 4px; padding: 8px 8px 0; }
    .nav-actions { margin-left: auto; }
    .nav-toggle { display: inline-flex; }
    .debate-grid, .verdict-scale, .dev, .token-top, .burn-panel, .footer-grid, .doc-row, .api-grid, .burn-grid { grid-template-columns: 1fr; }
    .doc-code { position: static; }
    .steps, .bento { grid-template-columns: 1fr 1fr; }
    .tile-wide { grid-column: 1 / -1; }
    .privacy { grid-template-columns: 1fr 1fr; }
    .privacy > div:nth-child(3) { border-left: 0; }
    .privacy > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
    .dash-shell { grid-template-columns: 1fr; padding-top: 104px; }
    .dash-nav { position: static; flex-direction: row; flex-wrap: wrap; }
    .dash-nav-wallet { display: none; }
    .dash-cards { grid-template-columns: 1fr 1fr; }
    .dash-cards .credits { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
    .site-nav { top: 10px; }
    .nav-pill { height: 56px; }
    .nav-links { top: 76px; }
    .nav-cta, #login-button span { display: none; }
    #login-button { width: 40px; padding: 0; }
    .brand-name { font-size: 19px; }
    .hero { padding-top: 124px; }
    .hero-ask { padding-left: 16px; }
    .hero-ask .btn { padding: 0 16px; }
    .debate-answers, .steps, .bento, .quick-start, .roadmap, .dash-cards, .burn-packs, .ladder, .burn-stats { grid-template-columns: 1fr; }
    .tile-wide { display: flex; }
    .privacy { grid-template-columns: 1fr; }
    .privacy > div { border-left: 0; border-top: 1px solid var(--line); }
    .privacy > div:first-child { border-top: 0; }
    .scale-card { flex-direction: column; align-items: flex-start; }
    .scale-tabs button { padding: 0 12px; font-size: 13.5px; }
    .tier-row { grid-template-columns: 1fr 1fr; row-gap: 6px; }
    .tier-row.head { display: none; }
    .tier-row > span:nth-child(3)::before { content: "Premium "; opacity: .6; }
    .tier-row > span:nth-child(4)::before { content: "Standard "; opacity: .6; }
    .t-bar { grid-column: 1 / -1; }
    .footer-cols { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; }
    .burn-feed li { grid-template-columns: 18px 1fr auto; }
    .burn-feed li a { display: none; }
    .verdict-item { grid-template-columns: auto 1fr; }
    .verdict-item span:last-child { grid-column: 1 / -1; }
    .dash-byok { flex-direction: column; align-items: flex-start; }
    .dash-byok .btn { margin-left: 0; }
    .key-create { flex-direction: column; }
    .share-answer { grid-template-columns: 1fr; }
    .modal-head, .modal-body, .modal-foot, .keys-body, .changelog-body, .keys-footer { padding-left: 18px; padding-right: 18px; }
    .modal-foot { flex-direction: column; align-items: stretch; }
}
