:root {
  --app-bg: #0b1017;
  --app-surface: #141b24;
  --app-surface-2: #19222d;
  --app-surface-3: #202b37;
  --app-border: rgba(224, 242, 254, .10);
  --app-border-strong: rgba(0, 217, 255, .28);
  --app-text: #edf8fc;
  --app-muted: #91a5b2;
  --app-cyan: #20d7f3;
  --app-green: #22c55e;
  --app-red: #ef4444;
  --app-amber: #fbbf24;
  --app-radius: 12px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --app-shadow: 0 22px 65px rgba(0,0,0,.22);
}

html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 15% 0%, rgba(0,217,255,.08), transparent 30rem),
    radial-gradient(circle at 90% 18%, rgba(52,211,153,.045), transparent 26rem),
    var(--app-bg);
  color: var(--app-text);
}
body::before {
  content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .18; z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000, transparent 75%);
}
main { min-height: 65vh; }
a { text-underline-offset: 3px; }

/* Globální navigace */
.app-navbar.navbar {
  position: sticky; top: 0; z-index: 1000; min-height: 72px; padding: .65rem clamp(1rem, 3vw, 3rem);
  border-bottom: 1px solid var(--app-border); background: rgba(11,16,23,.88); backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(0,0,0,.12);
}
.app-navbar .logo-link img { width: 190px; height: auto; }
.app-navbar .nav-links { gap: .2rem; align-items: center; }
.app-navbar .navbar-actions { gap: .5rem; }
.app-navbar .nav-links > a, .app-navbar .nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: .42rem; padding: .55rem .68rem; border-radius: 9px;
  color: var(--app-muted); font-size: .75rem; font-weight: 600; white-space: nowrap; text-decoration: none;
}
.app-navbar .nav-links > a i, .app-navbar .nav-dropdown-trigger > i:first-child { color: rgba(32,215,243,.65); }
.app-navbar .nav-links > a:hover, .app-navbar .nav-links > a.active, .app-navbar .nav-dropdown-trigger:hover {
  color: #fff; background: rgba(255,255,255,.055);
}
.app-navbar .nav-links > a.active { box-shadow: inset 0 -2px var(--app-cyan); }
.workspace-search-trigger, .nav-watchlist { display: inline-flex; align-items: center; justify-content: center; gap: .42rem; min-height: 44px; padding: .5rem .65rem; box-sizing: border-box; border: 1px solid var(--app-border); border-radius: 10px; background: transparent; color: var(--app-muted); font: inherit; font-size: .72rem; cursor: pointer; }
.workspace-search-trigger:hover, .workspace-search-trigger[aria-expanded="true"] { border-color: rgba(32,215,243,.34); background: rgba(32,215,243,.07); color: #fff; }
.workspace-search-trigger i { color: var(--app-cyan); }
.workspace-search-trigger kbd { padding: .12rem .3rem; border: 1px solid rgba(255,255,255,.11); border-radius: 5px; background: rgba(255,255,255,.045); color: var(--app-muted); font: inherit; font-size: .55rem; }
.nav-watchlist:hover, .nav-watchlist.active { border-color: rgba(251,191,36,.35); color: var(--app-amber); background: rgba(251,191,36,.055); }
.nav-watchlist b { display: grid; place-items: center; min-width: 18px; height: 18px; border-radius: 99px; background: rgba(251,191,36,.15); font-size: .62rem; }
.app-navbar .profile-icon,
.app-navbar .menu-toggle {
  width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; box-sizing: border-box;
  align-items: center; justify-content: center; border: 1px solid var(--app-border); border-radius: 10px;
  background: var(--app-surface-2); color: var(--app-cyan); box-shadow: none;
}
.app-navbar .profile-icon { transition: border-color .18s, background .18s, color .18s; }
.app-navbar .workspace-search-trigger > i,
.app-navbar .menu-toggle > i,
.app-navbar .profile-icon > i { width: 18px; font-size: 18px; line-height: 1; text-align: center; }
.app-navbar .profile-icon:hover, .app-navbar .profile-icon[aria-expanded="true"] { border-color: rgba(0,217,255,.34); background: rgba(0,217,255,.1); color: #fff; transform: none; }
.app-navbar .profile-icon span { font-size: .9rem; font-weight: 800; line-height: 1; }
.app-navbar .menu-toggle {
  line-height: 1;
}
.app-navbar .menu-toggle:hover, .app-navbar .menu-toggle[aria-expanded="true"] {
  border-color: rgba(0,217,255,.34); background: rgba(0,217,255,.1); color: #fff;
}
.app-navbar.nav-collapsed .nav-links {
  border-color: var(--app-border); background: rgba(20,27,36,.985); box-shadow: 0 22px 60px rgba(0,0,0,.42); backdrop-filter: blur(18px);
}
.app-navbar.nav-collapsed .nav-links > a, .app-navbar.nav-collapsed .nav-dropdown-trigger {
  width: 100%; box-sizing: border-box; justify-content: flex-start; margin: .12rem 0; padding: .7rem .75rem;
}
.app-navbar .profile-menu { width: 225px; padding: .45rem; border: 1px solid var(--app-border); border-radius: 13px; background: #141b24; box-shadow: var(--app-shadow); }
.app-navbar .profile-menu a { display: flex; align-items: center; gap: .6rem; padding: .62rem .7rem; border-radius: 8px; color: var(--app-muted); font-size: .76rem; }
.app-navbar .profile-menu a:hover { color: #fff; background: rgba(255,255,255,.05); }
.app-navbar .profile-menu a i { width: 1rem; color: var(--app-cyan); }
.profile-menu__user { display: flex !important; flex-direction: column; padding: .65rem .7rem !important; border-bottom: 1px solid var(--app-border); }
.profile-menu__user small { color: var(--app-muted); font-size: .62rem; }
.nav-menu-label { display: block; padding: .55rem .75rem .25rem; color: rgba(145,165,178,.62); font-size: .58rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app-navbar .nav-dropdown-menu { border: 1px solid var(--app-border); border-radius: 13px; background: #141b24; box-shadow: var(--app-shadow); }

/* Globální pracovní plocha: Command Palette + Watchlist Drawer */
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
body.workspace-overlay-open { overflow: hidden; }
.command-palette-layer, .watchlist-drawer-layer { position: fixed; inset: 0; z-index: 2200; }
.workspace-scrim { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: rgba(2,6,10,.7); opacity: 0; cursor: default; backdrop-filter: blur(5px); transition: opacity .18s ease; }
.command-palette-layer.is-open .workspace-scrim, .watchlist-drawer-layer.is-open .workspace-scrim { opacity: 1; }
.command-palette { position: relative; width: min(680px, calc(100% - 2rem)); max-height: min(680px, calc(100vh - 5rem)); margin: clamp(2.5rem, 10vh, 7rem) auto 0; overflow: hidden; border: 1px solid rgba(32,215,243,.24); border-radius: 18px; background: rgba(17,24,32,.985); box-shadow: 0 35px 100px rgba(0,0,0,.55), 0 0 55px rgba(32,215,243,.07); opacity: 0; transform: translateY(-12px) scale(.985); transition: opacity .16s ease, transform .16s ease; }
.command-palette-layer.is-open .command-palette { opacity: 1; transform: none; }
.command-palette__search { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: 1rem 1.1rem; border-bottom: 1px solid var(--app-border); }
.command-palette__search > i { color: var(--app-cyan); font-size: 1rem; }
.command-palette__search input { min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff !important; font-size: 1rem; }
.command-palette__search input::placeholder { color: rgba(145,165,178,.72); }
.command-palette kbd { display: inline-flex; min-width: 20px; min-height: 20px; align-items: center; justify-content: center; padding: 0 .3rem; border: 1px solid rgba(255,255,255,.11); border-radius: 5px; background: rgba(255,255,255,.04); color: var(--app-muted); font: inherit; font-size: .55rem; }
.command-palette__context { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 1rem .35rem; color: rgba(145,165,178,.7); font-size: .58rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.command-palette__context > span:last-child { display: flex; align-items: center; gap: .25rem; font-weight: 500; text-transform: none; }
.command-results { box-sizing: border-box; max-height: min(460px, calc(100vh - 16rem)); padding: .35rem .55rem .6rem; overflow-y: auto; overscroll-behavior: contain; }
.command-results, .watchlist-drawer__content { scrollbar-width: thin; scrollbar-color: rgba(145,165,178,.35) transparent; }
.command-results::-webkit-scrollbar, .watchlist-drawer__content::-webkit-scrollbar { width: 7px; }
.command-results::-webkit-scrollbar-thumb, .watchlist-drawer__content::-webkit-scrollbar-thumb { border-radius: 99px; background: rgba(145,165,178,.3); }
.command-result { display: grid; grid-template-columns: 36px minmax(0, 1fr) auto; gap: .75rem; align-items: center; width: 100%; box-sizing: border-box; padding: .7rem .75rem; border: 1px solid transparent; border-radius: 11px; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; cursor: pointer; }
.command-result:hover, .command-result.is-active { border-color: rgba(32,215,243,.13); background: rgba(32,215,243,.065); }
.command-result__icon { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(32,215,243,.075); color: var(--app-cyan); }
.command-result[data-result-type="ticker"] .command-result__icon { background: rgba(34,197,94,.08); color: var(--app-green); }
.command-result__copy { min-width: 0; }
.command-result__copy strong, .command-result__copy span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.command-result__copy strong { color: #fff; font-size: .76rem; }
.command-result__copy span { margin-top: .14rem; color: var(--app-muted); font-size: .62rem; }
.command-result__meta { max-width: 130px; overflow: hidden; color: rgba(145,165,178,.65); font-size: .55rem; text-overflow: ellipsis; white-space: nowrap; }
.command-palette__status { min-height: 0; padding: 0 1rem; color: var(--app-muted); font-size: .64rem; }
.command-palette__status:not(:empty) { padding-top: .75rem; padding-bottom: .75rem; }
.command-palette__footer { display: flex; justify-content: space-between; gap: 1rem; padding: .65rem 1rem; border-top: 1px solid var(--app-border); color: rgba(145,165,178,.62); font-size: .55rem; }
.command-palette__footer i { margin-right: .3rem; color: var(--app-green); }

.watchlist-drawer-layer { z-index: 2150; }
.watchlist-drawer { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; width: min(430px, 100%); height: 100%; box-sizing: border-box; border-left: 1px solid rgba(32,215,243,.19); background: #101720; box-shadow: -30px 0 90px rgba(0,0,0,.42); transform: translateX(102%); transition: transform .22s ease; }
.watchlist-drawer-layer.is-open .watchlist-drawer { transform: none; }
.watchlist-drawer__header { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.15rem; border-bottom: 1px solid var(--app-border); }
.watchlist-drawer__header h2 { margin: .18rem 0 0; color: #fff; font-size: 1.35rem; }
.workspace-icon-button { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid var(--app-border); border-radius: 10px; background: var(--app-surface-2); color: var(--app-muted); cursor: pointer; }
.workspace-icon-button:hover { border-color: rgba(239,68,68,.34); color: var(--app-red); }
.watchlist-drawer__summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; padding: .8rem 1rem; border-bottom: 1px solid var(--app-border); }
.watchlist-drawer__summary > div { min-width: 0; padding: .55rem .6rem; border-radius: 9px; background: rgba(255,255,255,.025); }
.watchlist-drawer__summary span, .watchlist-drawer__summary strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.watchlist-drawer__summary span { color: var(--app-muted); font-size: .54rem; }
.watchlist-drawer__summary strong { margin-top: .18rem; color: #fff; font-size: .78rem; }
.watchlist-drawer__content { flex: 1; padding: .8rem; overflow-y: auto; overscroll-behavior: contain; }
.workspace-loading, .workspace-empty { display: grid; place-items: center; align-content: center; min-height: 240px; padding: 2rem; color: var(--app-muted); text-align: center; }
.workspace-loading { gap: .7rem; font-size: .7rem; }.workspace-loading i { color: var(--app-cyan); font-size: 1.25rem; }
.workspace-empty__icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: .8rem; border-radius: 15px; background: rgba(251,191,36,.08); color: var(--app-amber); font-size: 1.2rem; }
.workspace-empty h3 { margin: 0 0 .4rem; color: #fff; font-size: 1rem; }.workspace-empty p { margin: 0; font-size: .68rem; line-height: 1.55; }
.drawer-stock { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 105px auto; gap: .65rem; align-items: center; margin-bottom: .55rem; padding: .75rem; border: 1px solid var(--app-border); border-radius: 13px; background: var(--app-surface); transition: border-color .15s, opacity .15s, transform .15s; }
.drawer-stock:hover { border-color: rgba(32,215,243,.2); }.drawer-stock.is-removing { opacity: 0; transform: translateX(12px); }
.drawer-stock__identity { min-width: 0; color: inherit; text-decoration: none; }
.drawer-stock__identity > span { color: var(--app-cyan); font-size: .7rem; font-weight: 800; }.drawer-stock__identity > strong { display: block; margin-top: .15rem; overflow: hidden; color: #fff; font-size: .67rem; text-overflow: ellipsis; white-space: nowrap; }
.drawer-stock__identity > small { display: block; margin-top: .25rem; color: var(--app-muted); font-size: .55rem; }
.drawer-stock__chart { display: grid; grid-template-rows: 32px auto; min-width: 0; text-align: right; }
.drawer-stock__chart svg { width: 100%; height: 32px; overflow: visible; }.drawer-stock__chart path { fill: none; stroke-width: 1.8; vector-effect: non-scaling-stroke; }
.drawer-stock__chart strong { font-size: .64rem; }.drawer-stock__chart small { color: var(--app-muted); font-size: .52rem; }
.drawer-stock__remove { width: 30px; height: 30px; flex-basis: 30px; border-radius: 8px; background: transparent; }
.watchlist-drawer__footer { display: grid; grid-template-columns: 1fr auto; gap: .55rem; padding: .85rem 1rem; border-top: 1px solid var(--app-border); background: rgba(11,16,23,.65); }
.watchlist-drawer__footer .app-button { min-width: 0; font-size: .66rem; white-space: nowrap; }

/* Univerzální layout */
.app-shell { width: min(1220px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(2rem, 5vw, 4.5rem) 0; }
.app-page-header { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 1.6rem; }
.app-page-header h1 { margin: .25rem 0 .45rem; color: #fff; font-size: clamp(2rem, 5vw, 3.35rem); line-height: 1.05; letter-spacing: -.035em; }
.app-page-header p { max-width: 680px; margin: 0; color: var(--app-muted); line-height: 1.65; }
.app-eyebrow { color: var(--app-cyan); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.app-button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .68rem 1rem; border: 1px solid var(--app-border); border-radius: 10px; color: #fff; background: transparent; text-decoration: none; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.app-button:hover { border-color: var(--app-border-strong); color: var(--app-cyan); }
.app-button--primary { border-color: transparent; background: var(--app-cyan); color: #071116; box-shadow: 0 10px 28px rgba(0,217,255,.16); }
.app-button--primary:hover { color: #071116; filter: brightness(1.08); transform: translateY(-1px); }

.section, .hero { width: min(1220px, calc(100% - 2rem)); margin-left: auto; margin-right: auto; }
.section-title, .hero h1 { color: #fff; letter-spacing: -.025em; }
.section-title::after { content: ''; display: block; width: 42px; height: 3px; margin: .65rem auto 0; border-radius: 99px; background: linear-gradient(90deg, var(--app-cyan), var(--app-green)); }
.feature, .feature.enhanced, .finance-chart-wrapper, .table-wrapper, .risk-slider-wrapper, .user-form, .subscription-card, .plan-card, .info-box {
  border: 1px solid var(--app-border); background: var(--app-surface); box-shadow: none;
}
.feature:hover { border-color: rgba(0,217,255,.2); box-shadow: 0 16px 45px rgba(0,0,0,.14); transform: translateY(-2px); }

/* Formuláře */
.form-page { max-width: 880px !important; }
.tool-page-header { max-width: 760px; margin: 0 auto 1rem; padding-top: clamp(1rem, 2.5vw, 2rem); text-align: center; }
.tool-page-header h1 { margin: .3rem 0 .45rem; color: #fff; font-size: clamp(2rem, 4vw, 2.65rem); line-height: 1.08; letter-spacing: -.04em; }
.tool-page-header p { margin: 0; color: var(--app-muted); line-height: 1.65; }
.app-form-card { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: .8rem; padding: 1.25rem; border: 1px solid var(--app-border); border-radius: 12px; background: var(--app-surface); text-align: left; }
.app-form-card > .risk-slider-wrapper, .app-form-card > button, .app-form-card > p { grid-column: 1 / -1; }
.app-form-card--compact { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; text-align: center; }
.app-form-card--compact input { width: 100%; max-width: none !important; }
.form-helper { max-width: 440px; margin: 0 auto; color: var(--app-muted) !important; font-size: .72rem; line-height: 1.55; }
.form-page > p { max-width: 720px; margin-left: auto; margin-right: auto; color: var(--app-muted); line-height: 1.65; }
.analysis-watchlist-link { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin: 0; padding: .75rem .85rem; border: 1px solid rgba(251,191,36,.2); border-radius: 10px; background: rgba(251,191,36,.035); color: var(--app-amber); text-decoration: none; text-align: left; }
.analysis-watchlist-link span { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: .1rem .55rem; }
.analysis-watchlist-link span > i { grid-row: 1 / 3; }
.analysis-watchlist-link small { color: var(--app-muted); font-size: .64rem; }
input:not([type="checkbox"]):not([type="range"]):not([type="radio"]), select, textarea, .ss-select {
  min-height: 46px; border: 1px solid var(--app-border) !important; border-radius: 10px !important;
  background: rgba(255,255,255,.035) !important; color: var(--app-text) !important; outline: none;
}
select, .ss-select { color-scheme: dark; }
select option, select optgroup, .ss-select option, .ss-select optgroup {
  background-color: #141b24 !important; color: #edf8fc !important;
}
select option:disabled, .ss-select option:disabled { color: #91a5b2 !important; }
@media (forced-colors: active) {
  select option, select optgroup, .ss-select option, .ss-select optgroup {
    background-color: Canvas !important; color: CanvasText !important;
  }
}
input:focus, select:focus, textarea:focus { border-color: rgba(0,217,255,.55) !important; box-shadow: 0 0 0 3px rgba(0,217,255,.08); }
label, .form-label { color: #dbeaf0; font-size: .78rem; font-weight: 700; }
.btn-submit, .subscription-button.select, .ss-btn {
  min-height: 44px; border: 0; border-radius: 9px; background: var(--app-cyan); color: #071116; font-weight: 800; box-shadow: 0 10px 25px rgba(0,217,255,.14);
}
.btn-submit:hover, .subscription-button.select:hover, .ss-btn:hover { filter: brightness(1.08); transform: translateY(-1px); }
.risk-slider-wrapper { padding: 1rem; border-radius: var(--app-radius); }
.risk-slider-labels span.active-label { color: var(--app-cyan); }
.risk-slider-labels span { min-height: 40px; display: grid; place-items: center; box-sizing: border-box; }
.tool-access-note { max-width: 520px; margin: 0 auto .75rem; padding: .85rem 1rem; border: 1px solid rgba(0,217,255,.2); border-radius: 10px; background: rgba(0,217,255,.045); text-align: center; }
.tool-access-note p { margin: 0 0 .65rem; color: #fff; font-size: .85rem; }
.tool-access-note p i { margin-right: .35rem; color: var(--app-cyan); }
.tool-access-note > div { display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; }
.tool-support-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .65rem; max-width: 520px; margin: .75rem auto; }
.tool-support-grid > :only-child { grid-column: 1 / -1; }
.ticker-help { border: 1px solid var(--app-border); border-radius: 10px; background: rgba(255,255,255,.02); text-align: left; }
.ticker-help summary { display: flex; align-items: center; min-height: 44px; gap: .4rem; padding: .6rem .8rem; color: var(--app-muted); font-size: .72rem; font-weight: 700; cursor: pointer; list-style: none; }
.ticker-help summary::-webkit-details-marker { display: none; }
.ticker-help summary i { color: var(--app-cyan); }
.ticker-help > div { padding: 0 .8rem .75rem; color: var(--app-muted); font-size: .7rem; line-height: 1.55; }
.ticker-help p { margin: 0 0 .4rem; }
.ticker-help a { color: #d8eaf0; }
.screener-form { grid-template-columns: repeat(3,minmax(0,1fr)); }
.screener-form > div:not(.screener-risk) select { width: 100%; }
.screener-risk { grid-column: 1 / -1; }
.screener-risk__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.screener-risk__head label { margin: 0; }
.screener-risk__head strong { color: #fff; font-size: .74rem; }
.screener-risk .risk-slider { margin: .65rem 0 .25rem; }
.screener-risk > p { margin: .45rem 0 0; color: var(--app-muted); font-size: .72rem; }
.screener-risk details { margin-top: .35rem; color: var(--app-muted); font-size: .68rem; }
.screener-risk details summary { min-height: 40px; display: inline-flex; align-items: center; color: #d8eaf0; cursor: pointer; }
.screener-risk details p { margin: 0 0 .2rem; }

/* Tabulky */
table { font-variant-numeric: tabular-nums; }
table.dataTable thead, .quick-analysis-table th { background: rgba(0,217,255,.075); }
table.dataTable th, table.dataTable td { border-color: rgba(255,255,255,.055); }
table.dataTable tbody tr { background: transparent; }
table.dataTable tbody tr:hover { background: rgba(0,217,255,.035); }
.table-wrapper { border-radius: 20px; box-shadow: var(--app-shadow); }
.metric-good, .green { color: var(--app-green) !important; }
.metric-bad, .red { color: var(--app-red) !important; }

/* Auth a profil */
.hero > .user-form { padding: 1.5rem; border-radius: var(--app-radius); text-align: left; }
.auth-shell { max-width: 700px; padding: clamp(2.5rem, 7vw, 5rem) 0 1rem; text-align: center; }
.auth-shell--wide { max-width: 900px; }
.auth-shell > .app-eyebrow { display: inline-block; margin-bottom: .5rem; }
.auth-shell > h1 { margin: 0 0 .55rem; font-size: clamp(2.2rem, 6vw, 3.7rem); letter-spacing: -.045em; }
.auth-shell__lead { max-width: 610px; margin: 0 auto 1.5rem; color: var(--app-muted); line-height: 1.65; }
.auth-shell .user-form { box-shadow: var(--app-shadow); }
.auth-shell .info-box { margin: 1rem auto 1.4rem; border-radius: var(--app-radius); color: var(--app-muted); text-align: left; }
.auth-shell .info-box h3 { color: #fff; }
.profile-shell { max-width: 760px; padding-top: 1rem; }
.profile-shell .tool-page-header { margin-bottom: 1.6rem; }
.profile-shell .tool-page-header + div > div {
  border-color: var(--app-border) !important; background: var(--app-surface) !important; box-shadow: 0 14px 35px rgba(0,0,0,.12);
}
.subscription-table { border: 0; background: transparent; }
.subscription-table th { color: var(--app-muted); font-size: .72rem; }
.subscription-table td { color: #fff; }
.badge { border-radius: 999px; }
.plan-card { position: relative; padding: 1.6rem !important; border-radius: 18px !important; }
.plan-card--featured { border-color: rgba(0,217,255,.35) !important; background: linear-gradient(150deg, rgba(0,217,255,.075), var(--app-surface) 48%) !important; }
.feature-table { border-collapse: separate; border-spacing: 0; overflow: hidden; border: 1px solid var(--app-border); border-radius: 14px; background: var(--app-surface); }
.feature-table th, .feature-table td { border-color: var(--app-border) !important; }

/* Statické a obsahové stránky sdílejí stejnou typografii a povrchy. */
.app-page .page-wrapper > main { padding-top: 0; }
.app-page .section { padding-top: clamp(1rem, 3vw, 2.4rem); }
.app-page .section > p, .app-page .hero > p { color: var(--app-muted); }
.blog-card, .blog-post, .contact-form, .legal-content {
  border: 1px solid var(--app-border); border-radius: var(--app-radius); background: var(--app-surface);
}

/* Watchlist */
.watchlist-summary-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8rem; margin-bottom: 1rem; }
.watchlist-summary-grid article { padding: 1rem 1.1rem; border: 1px solid var(--app-border); border-radius: 14px; background: var(--app-surface); }
.watchlist-summary-grid span { display: block; color: var(--app-muted); font-size: .68rem; }
.watchlist-summary-grid strong { display: block; margin-top: .25rem; color: #fff; font-size: 1.45rem; }
.metric-positive { color: var(--app-green) !important; }
.metric-negative { color: var(--app-red) !important; }
.watchlist-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.watchlist-stock-card { padding: 1.2rem; border: 1px solid var(--app-border); border-radius: 18px; background: var(--app-surface); transition: opacity .18s, transform .18s, border-color .18s; }
.watchlist-stock-card:hover { border-color: rgba(0,217,255,.22); }
.watchlist-stock-card.is-removing { opacity: 0; transform: scale(.98); }
.watchlist-card-head { display: flex; justify-content: space-between; gap: 1rem; }
.watchlist-card-head h2 { margin: .45rem 0 .15rem; color: #fff; font-size: 1rem; }
.watchlist-card-head small { color: var(--app-muted); font-size: .64rem; }
.ticker-pill { display: inline-block; padding: .2rem .5rem; border-radius: 999px; background: rgba(0,217,255,.09); color: var(--app-cyan); font-size: .65rem; font-weight: 800; }
.watchlist-remove { width: 32px; height: 32px; border: 1px solid var(--app-border); border-radius: 8px; background: transparent; color: var(--app-muted); cursor: pointer; }
.watchlist-remove:hover { border-color: rgba(251,113,133,.35); color: var(--app-red); }
.watchlist-price-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin: 1rem 0 .5rem; }
.watchlist-price-row > div { padding: .6rem; border-radius: 10px; background: rgba(255,255,255,.025); }
.watchlist-price-row span { display: block; color: var(--app-muted); font-size: .6rem; }
.watchlist-price-row strong { color: #fff; font-size: .82rem; }
.watchlist-sparkline { height: 120px; margin: .4rem 0; }
.watchlist-thesis-row { display: flex; justify-content: space-between; gap: .8rem; padding: .65rem 0; border-top: 1px solid var(--app-border); color: var(--app-muted); font-size: .7rem; }
.watchlist-thesis-row strong { color: #fff; }
.watchlist-analyze-link { display: flex; justify-content: space-between; align-items: center; padding-top: .7rem; border-top: 1px solid var(--app-border); color: var(--app-cyan); text-decoration: none; font-size: .72rem; font-weight: 700; }
.app-empty-state { max-width: 620px; margin: 3rem auto; padding: 3rem 2rem; border: 1px dashed rgba(0,217,255,.25); border-radius: 20px; background: rgba(0,217,255,.025); text-align: center; }
.app-empty-icon { display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 1rem; border-radius: 18px; background: rgba(251,191,36,.09); color: var(--app-amber); font-size: 1.5rem; }
.app-empty-state h2 { color: #fff; }
.app-empty-state p { color: var(--app-muted); line-height: 1.65; }

/* Domovská stránka */
.home-hero { width: min(1220px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 0 5rem; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.home-hero__content h1 { margin: .8rem 0 1.2rem; color: #fff; font-size: clamp(2.8rem, 5vw, 4.5rem); line-height: 1; letter-spacing: -.052em; }
.home-hero__content h1 span { color: transparent; background: linear-gradient(90deg, var(--app-cyan), #7ce7f5 55%, var(--app-green)); -webkit-background-clip: text; background-clip: text; }
.home-hero__content > p { max-width: 650px; color: var(--app-muted); font-size: clamp(.92rem, 1.5vw, 1.08rem); line-height: 1.75; }
.home-hero__actions { display: flex; gap: .7rem; flex-wrap: wrap; margin: 1.7rem 0 1.2rem; }
.home-trust-row { display: flex; flex-wrap: wrap; gap: 1rem; color: rgba(145,165,178,.75); font-size: .66rem; }
.home-trust-row i { color: var(--app-green); margin-right: .3rem; }
.home-dashboard-preview { position: relative; padding: 1.25rem; border: 1px solid rgba(0,217,255,.18); border-radius: 22px; background: linear-gradient(145deg, rgba(25,34,45,.96), rgba(15,22,30,.95)); box-shadow: 0 35px 90px rgba(0,0,0,.35), 0 0 80px rgba(0,217,255,.06); transform: perspective(1200px) rotateY(-3deg) rotateX(2deg); }
.home-dashboard-preview::before { content: ''; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(0,217,255,.35), transparent 35%, rgba(74,222,128,.16)); filter: blur(10px); opacity: .5; }
.preview-company { display: grid; grid-template-columns: auto 1fr auto; gap: .75rem; align-items: center; padding-bottom: 1rem; border-bottom: 1px solid var(--app-border); }
.preview-logo { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: #fff; color: #111827; font-size: 1.25rem; font-weight: 900; }
.preview-company div { display: flex; flex-direction: column; }
.preview-company div small { color: var(--app-muted); font-size: .55rem; letter-spacing: .08em; }
.preview-company div strong { margin: .15rem 0; color: #fff; font-size: .9rem; }
.preview-company div span { color: var(--app-muted); font-size: .68rem; }
.preview-company > b { color: var(--app-green); font-size: 1.4rem; }.preview-company > b small { color: var(--app-muted); font-size: .58rem; }
.preview-verdict { margin: .8rem 0; padding: .65rem .75rem; border-radius: 10px; background: rgba(0,217,255,.055); color: #d9f7fd; font-size: .7rem; }
.preview-scores { display: grid; gap: .65rem; }
.preview-scores div span { display: flex; justify-content: space-between; color: var(--app-muted); font-size: .65rem; }.preview-scores div span b { color: #fff; }
.preview-scores div > i { display: block; height: 5px; margin-top: .25rem; overflow: hidden; border-radius: 99px; background: rgba(255,255,255,.07); }.preview-scores em { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--app-cyan), var(--app-green)); }
.preview-thesis { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .9rem; }.preview-thesis span { padding: .55rem; border: 1px solid var(--app-border); border-radius: 9px; color: var(--app-muted); font-size: .6rem; }.preview-thesis span:first-child i { color: var(--app-green); }.preview-thesis span:last-child i { color: var(--app-amber); }
.home-video-section { width: min(1220px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.home-video-copy h2 { margin: .55rem 0 1rem; color: #fff; font-size: clamp(1.9rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -.04em; }
.home-video-copy > p { color: var(--app-muted); line-height: 1.7; }
.home-video-points { display: grid; gap: .7rem; margin: 1.35rem 0 0; padding: 0; list-style: none; }
.home-video-points li { display: flex; gap: .65rem; align-items: flex-start; color: #dcecf2; font-size: .74rem; line-height: 1.5; }
.home-video-points i { display: grid; place-items: center; flex: 0 0 22px; height: 22px; border-radius: 50%; background: rgba(74,222,128,.09); color: var(--app-green); font-size: .6rem; }
.home-video-card { overflow: hidden; border: 1px solid rgba(0,217,255,.2); border-radius: 20px; background: var(--app-surface); box-shadow: 0 30px 75px rgba(0,0,0,.28); }
.home-video-card__top { display: flex; justify-content: space-between; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--app-border); color: #fff; font-size: .68rem; font-weight: 700; }
.home-video-card__top i { margin-right: .4rem; color: var(--app-cyan); }
.home-video-card__top small { color: var(--app-muted); font-size: .58rem; font-weight: 600; }
.home-video-frame { position: relative; aspect-ratio: 16 / 9; background: #05080c; }
.home-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.home-value-section, .home-tools-section { width: min(1220px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) 0; }
.home-section-heading { max-width: 680px; margin-bottom: 2rem; }.home-section-heading h2 { margin: .4rem 0 .7rem; color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); letter-spacing: -.035em; }.home-section-heading p { color: var(--app-muted); line-height: 1.65; }
.home-workflow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.home-workflow a { position: relative; padding: 1.35rem; border: 1px solid var(--app-border); border-radius: 18px; background: var(--app-surface); color: inherit; text-decoration: none; }.home-workflow a:hover { border-color: rgba(0,217,255,.25); transform: translateY(-3px); }.home-workflow > a > span { position: absolute; top: 1rem; right: 1rem; color: rgba(255,255,255,.12); font-size: 1.5rem; font-weight: 900; }.home-workflow > a > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(0,217,255,.08); color: var(--app-cyan); }.home-workflow h3 { margin: 1rem 0 .4rem; color: #fff; font-size: 1rem; }.home-workflow p { margin: 0; color: var(--app-muted); font-size: .74rem; line-height: 1.55; }
.home-roadmap { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .8rem; margin: 3rem 0 0; padding: 0; list-style: none; }
.home-roadmap::before { content: ''; position: absolute; top: 27px; left: 8%; right: 8%; height: 2px; background: linear-gradient(90deg, rgba(0,217,255,.2), var(--app-cyan) 48%, rgba(74,222,128,.45)); }
.home-roadmap > li { position: relative; min-width: 0; }
.home-roadmap__marker { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; width: 54px; height: 54px; margin: 0 auto 1rem; border: 1px solid rgba(0,217,255,.28); border-radius: 16px; background: #101821; color: var(--app-cyan); box-shadow: 0 0 0 7px var(--app-bg); }
.home-roadmap__marker > span { position: absolute; top: -8px; right: -8px; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--app-border); border-radius: 50%; background: var(--app-surface-3); color: #fff; font-size: .54rem; font-weight: 800; }
.home-roadmap__marker > i { font-size: 1rem; }
.home-roadmap__card { display: flex; flex-direction: column; height: calc(100% - 70px); box-sizing: border-box; padding: 1rem; border: 1px solid var(--app-border); border-radius: 16px; background: var(--app-surface); }
.home-roadmap__card small { display: block; min-height: 2.7em; color: var(--app-cyan); font-size: .57rem; font-weight: 800; line-height: 1.35; text-transform: uppercase; letter-spacing: .06em; }
.home-roadmap__card h3 { margin: .65rem 0 .55rem; color: #fff; font-size: .84rem; line-height: 1.3; }
.home-roadmap__card p { flex: 1; margin: 0 0 1rem; color: var(--app-muted); font-size: .66rem; line-height: 1.55; }
.home-roadmap__card a { display: inline-flex; align-items: center; gap: .35rem; margin-top: auto; color: var(--app-cyan); font-size: .62rem; font-weight: 700; text-decoration: none; }
.home-roadmap__card a:hover { color: #fff; }
.home-tool-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }.home-tool-card { display: flex; flex-direction: column; justify-content: space-between; min-height: 190px; padding: 1.25rem; border: 1px solid var(--app-border); border-radius: 18px; background: var(--app-surface); color: inherit; text-decoration: none; }.home-tool-card--wide { grid-column: span 2; background: linear-gradient(135deg, rgba(0,217,255,.07), var(--app-surface) 55%); }.home-tool-card > i { color: var(--app-cyan); font-size: 1.3rem; }.home-tool-card h3 { color: #fff; }.home-tool-card p { color: var(--app-muted); font-size: .75rem; }.home-tool-card > span { color: var(--app-cyan); font-size: .7rem; }.home-tool-card:hover { border-color: rgba(0,217,255,.25); transform: translateY(-3px); }
.home-cta-section { box-sizing: border-box; width: min(1220px, calc(100% - 2rem)); margin: 3rem auto; padding: clamp(1.7rem, 4vw, 3rem); display: flex; justify-content: space-between; align-items: center; gap: 2rem; border: 1px solid rgba(0,217,255,.2); border-radius: 22px; background: radial-gradient(circle at 0 0, rgba(0,217,255,.12), transparent 50%), var(--app-surface); }.home-cta-section h2 { margin: .4rem 0; color: #fff; }.home-cta-section p { margin: 0; color: var(--app-muted); }

/* O aplikaci */
.about-hero, .about-section, .about-method-section, .about-boundaries, .about-start-section { width: min(1220px, calc(100% - 2rem)); margin: 0 auto; box-sizing: border-box; }
.about-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; padding: clamp(4rem, 8vw, 7rem) 0; }
.about-hero__copy h1 { margin: .75rem 0 1.25rem; color: #fff; font-size: clamp(2.65rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.052em; }
.about-hero__copy h1 span { color: transparent; background: linear-gradient(90deg, var(--app-cyan), var(--app-green)); background-clip: text; -webkit-background-clip: text; }
.about-hero__copy > p { max-width: 680px; color: var(--app-muted); font-size: .92rem; line-height: 1.75; }
.about-decision-card { padding: 1.25rem; border: 1px solid rgba(0,217,255,.2); border-radius: 22px; background: radial-gradient(circle at 80% 0, rgba(0,217,255,.1), transparent 45%), var(--app-surface); box-shadow: 0 35px 85px rgba(0,0,0,.3); }
.about-decision-card__head { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .85rem; border-bottom: 1px solid var(--app-border); color: var(--app-muted); font-size: .62rem; }.about-decision-card__head b { color: #fff; }
.about-decision-card__core { display: flex; align-items: center; gap: 1.2rem; padding: 1.4rem .5rem; }.about-decision-card__core > p { max-width: 230px; color: #d8eaf0; font-size: .8rem; line-height: 1.55; }
.about-score-orbit { position: relative; display: grid; place-items: center; flex: 0 0 92px; height: 92px; border: 1px solid rgba(0,217,255,.28); border-radius: 50%; background: radial-gradient(circle, rgba(0,217,255,.12), transparent 67%); box-shadow: inset 0 0 0 8px rgba(0,217,255,.025); }.about-score-orbit::before { content: ''; position: absolute; inset: -6px; border: 1px dashed rgba(74,222,128,.28); border-radius: inherit; }.about-score-orbit strong { color: #fff; font-size: 1.8rem; line-height: 1; }.about-score-orbit small { color: var(--app-cyan); font-size: .55rem; }
.about-decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }.about-decision-grid > span { display: grid; grid-template-columns: 28px 1fr; gap: .08rem .55rem; align-items: center; padding: .7rem; border: 1px solid var(--app-border); border-radius: 11px; background: rgba(255,255,255,.022); }.about-decision-grid i { grid-row: 1 / 3; color: var(--app-cyan); }.about-decision-grid b { color: #fff; font-size: .72rem; }.about-decision-grid small { color: var(--app-muted); font-size: .56rem; }
.about-section { padding: clamp(3rem, 7vw, 6rem) 0; }
.about-beliefs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.about-beliefs article { position: relative; overflow: hidden; border: 1px solid var(--app-border); border-radius: 18px; background: var(--app-surface); }
.about-belief-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #080d14; }
.about-belief-media::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, var(--app-surface)); }
.about-belief-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.about-beliefs article:hover .about-belief-media img { transform: scale(1.035); }
.about-belief-media > span { position: absolute; left: 1rem; bottom: .75rem; z-index: 1; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(0,217,255,.22); border-radius: 12px; background: rgba(11,16,23,.82); color: var(--app-cyan); backdrop-filter: blur(8px); }
.about-belief-number { position: absolute; top: 1rem; right: 1rem; z-index: 2; display: grid; place-items: center; width: 32px; height: 32px; border: 1px solid rgba(255,255,255,.12); border-radius: 50%; background: rgba(11,16,23,.72); color: rgba(255,255,255,.72); font-size: .58rem; backdrop-filter: blur(8px); }
.about-belief-content { padding: .9rem 1.35rem 1.35rem; }
.about-beliefs h3 { margin: 0 0 .55rem; color: #fff; font-size: .94rem; }.about-beliefs p { margin: 0; color: var(--app-muted); font-size: .72rem; line-height: 1.65; }
.about-method-section { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid rgba(0,217,255,.16); border-radius: 24px; background: radial-gradient(circle at 0 0, rgba(0,217,255,.08), transparent 42%), var(--app-surface); }
.about-method-copy h2, .about-start-copy h2 { margin: .55rem 0 .9rem; color: #fff; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.1; letter-spacing: -.04em; }.about-method-copy p, .about-start-copy p { color: var(--app-muted); font-size: .78rem; line-height: 1.7; }.about-method-copy .app-button { margin-top: .7rem; }
.about-method-flow { position: relative; display: grid; gap: .65rem; margin: 0; padding: 0; list-style: none; }.about-method-flow::before { content: ''; position: absolute; top: 1rem; bottom: 1rem; left: 22px; width: 1px; background: linear-gradient(var(--app-cyan), rgba(74,222,128,.35)); }.about-method-flow li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: .8rem; align-items: center; padding: .75rem; border: 1px solid var(--app-border); border-radius: 13px; background: rgba(11,16,23,.5); }.about-method-flow li > span { z-index: 1; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--app-surface-3); color: var(--app-cyan); font-size: .58rem; font-weight: 800; }.about-method-flow strong { color: #fff; font-size: .75rem; }.about-method-flow p { margin: .15rem 0 0; color: var(--app-muted); font-size: .64rem; line-height: 1.45; }
.about-tools-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; }.about-tools-grid > a { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: .85rem; min-height: 110px; box-sizing: border-box; padding: 1rem; border: 1px solid var(--app-border); border-radius: 16px; background: var(--app-surface); color: inherit; text-decoration: none; }.about-tools-grid > a:hover { border-color: rgba(0,217,255,.25); transform: translateY(-2px); }.about-tools-grid > a > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(0,217,255,.07); color: var(--app-cyan); }.about-tools-grid > a > span { position: absolute; top: .8rem; right: .9rem; color: rgba(255,255,255,.09); font-size: 1.25rem; font-weight: 900; }.about-tools-grid h3 { margin: .1rem 0 .35rem; color: #fff; font-size: .82rem; }.about-tools-grid p { max-width: 250px; margin: 0; color: var(--app-muted); font-size: .64rem; line-height: 1.5; }
.about-boundaries { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; padding: clamp(3rem, 7vw, 6rem) 0; }.about-boundaries article { padding: clamp(1.4rem, 4vw, 2.3rem); border: 1px solid var(--app-border); border-radius: 20px; background: var(--app-surface); }.about-boundaries__does { background: linear-gradient(145deg, rgba(74,222,128,.045), var(--app-surface) 45%) !important; }.about-boundaries__not { background: linear-gradient(145deg, rgba(251,113,133,.04), var(--app-surface) 45%) !important; }.about-boundaries h2 { margin: .55rem 0 1.2rem; color: #fff; font-size: clamp(1.3rem, 3vw, 2rem); }.about-boundaries ul { display: grid; gap: .8rem; margin: 0; padding: 0; list-style: none; }.about-boundaries li { display: flex; gap: .7rem; color: var(--app-muted); font-size: .72rem; line-height: 1.5; }.about-boundaries__does li i { color: var(--app-green); }.about-boundaries__not li i { color: var(--app-red); }
.about-start-section { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2rem, 5vw, 4rem); border: 1px solid var(--app-border); border-radius: 24px; background: var(--app-surface); }.about-start-copy .app-button { margin-top: .8rem; }

/* Footer */
.app-footer.footer { margin-top: clamp(3rem, 7vw, 6rem); padding: 0; border-top: 1px solid var(--app-border); background: #090d13; }
.app-footer__inner { width: min(1220px, calc(100% - 2rem)); margin: auto; padding: 2.5rem 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; text-align: left; }
.app-footer__brand img { width: 180px; }
.app-footer__brand p { max-width: 380px; color: var(--app-muted); font-size: .75rem; line-height: 1.6; }
.app-footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.app-footer__nav div { display: flex; flex-direction: column; gap: .5rem; }
.app-footer__nav strong { color: #fff; font-size: .72rem; }
.app-footer__nav a { color: var(--app-muted); text-decoration: none; font-size: .7rem; }
.app-footer__nav a:hover { color: var(--app-cyan); }
.app-footer__bottom { width: min(1220px, calc(100% - 2rem)); margin: auto; padding: 1rem 0 1.4rem; border-top: 1px solid var(--app-border); display: flex; justify-content: space-between; gap: 1rem; color: rgba(145,165,178,.65); font-size: .62rem; }

@media (max-width: 1180px) {
  .app-navbar .nav-links > a span, .app-navbar .nav-dropdown-trigger span { display: none; }
  .app-navbar .nav-links > a, .app-navbar .nav-dropdown-trigger { padding: .58rem; font-size: .85rem; }
  .workspace-search-trigger span, .workspace-search-trigger kbd { display: none; }
  .app-navbar .workspace-search-trigger { width: 44px; min-width: 44px; padding: 0; background: var(--app-surface-2); }
}
@media (max-width: 820px) {
  .app-navbar .nav-links > a span, .app-navbar .nav-dropdown-trigger span { display: inline; }
  .nav-watchlist span { display: none; }
  .app-page-header { align-items: flex-start; flex-direction: column; }
  .watchlist-summary-grid { grid-template-columns: repeat(2, 1fr); }
  .watchlist-grid { grid-template-columns: 1fr; }
  .app-footer__inner { grid-template-columns: 1fr; }
  .home-hero { grid-template-columns: 1fr; padding-top: 4rem; }.home-dashboard-preview { transform: none; }.home-video-section { grid-template-columns: 1fr; }.home-workflow { grid-template-columns: 1fr; }.home-roadmap { grid-template-columns: 1fr; gap: .85rem; margin-top: 2rem; padding-left: 2.7rem; }.home-roadmap::before { top: 1.2rem; bottom: 1.2rem; left: 19px; right: auto; width: 2px; height: auto; }.home-roadmap > li { display: grid; grid-template-columns: 0 1fr; }.home-roadmap__marker { left: -2.7rem; width: 40px; height: 40px; margin: .85rem 0 0; border-radius: 12px; box-shadow: 0 0 0 6px var(--app-bg); }.home-roadmap__marker > span { width: 20px; height: 20px; }.home-roadmap__card { height: auto; }.home-roadmap__card small { min-height: 0; }.home-tool-grid { grid-template-columns: 1fr 1fr; }.home-tool-card--wide { grid-column: span 2; }
  .about-hero, .about-method-section, .about-start-section { grid-template-columns: 1fr; }.about-beliefs, .about-tools-grid { grid-template-columns: 1fr 1fr; }.about-start-section { gap: 2rem; }
}
@media (max-width: 560px) {
  .app-shell, .section, .hero { width: min(100% - 1rem, 1220px); }
  .watchlist-price-row { grid-template-columns: 1fr 1fr; }
  .watchlist-price-row > div:first-child { grid-column: 1 / -1; }
  .app-footer__nav { grid-template-columns: 1fr 1fr; }
  .app-footer__bottom { flex-direction: column; }
  .home-hero, .home-video-section, .home-value-section, .home-tools-section, .home-cta-section { width: min(100% - 1rem, 1220px); }.home-tool-grid { grid-template-columns: 1fr; }.home-tool-card--wide { grid-column: auto; }.home-cta-section { align-items: flex-start; flex-direction: column; }
  .app-form-card { grid-template-columns: 1fr; padding: 1rem; }.app-form-card > * { grid-column: 1 !important; }
  .tool-support-grid { grid-template-columns: 1fr; }.tool-support-grid > * { grid-column: 1 !important; }
  .screener-risk__head { align-items: flex-start; flex-direction: column; gap: .25rem; }
  .screener-form { gap: .65rem; }
  .screener-form .form-label { margin-bottom: .3rem; }
  .screener-risk { padding: .75rem; }
  .screener-risk > p { display: none; }
  .screener-risk details summary { min-height: 32px; }
  .about-hero, .about-section, .about-method-section, .about-boundaries, .about-start-section { width: min(100% - 1rem, 1220px); }.about-hero { padding-top: 3rem; }.about-decision-grid, .about-beliefs, .about-tools-grid, .about-boundaries { grid-template-columns: 1fr; }.about-method-section, .about-start-section { padding: 1.2rem; }.about-decision-card__core { align-items: flex-start; flex-direction: column; }
  .command-palette { width: calc(100% - .75rem); max-height: calc(100vh - 1rem); margin-top: .5rem; border-radius: 15px; }.command-palette__context > span:last-child, .command-palette__footer > span:last-child { display: none; }.command-results { max-height: calc(100vh - 12rem); }.command-result { grid-template-columns: 34px minmax(0, 1fr); }.command-result__meta { display: none; }
  .watchlist-drawer__footer { grid-template-columns: 1fr; }.watchlist-drawer__footer .app-button { width: 100%; }
  .drawer-stock { grid-template-columns: minmax(0, 1fr) 90px auto; }
}

@media (max-width: 1024px) {
  .app-navbar .nav-links, .app-navbar.nav-collapsed .nav-links {
    border-color: var(--app-border); background: rgba(20,27,36,.985); box-shadow: 0 22px 60px rgba(0,0,0,.42); backdrop-filter: blur(18px);
  }
}
