/* Public pages of the console (privacy policy): header, footer and the legal text. Colors come from the BlazorBlueprint theme variables.
   The landing page itself is static HTML with its own inline styles (wwwroot/landing.html). */
.lp { background: var(--background); color: var(--foreground); font-family: Inter, system-ui, sans-serif; line-height: 1.55; min-height: 100vh; }
.lp * { box-sizing: border-box; }
.lp a { color: inherit; text-decoration: none; }
.lp h1, .lp h2, .lp h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0; }
.lp h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
.lp h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 700; text-align: center; margin-bottom: 1.25rem; }
.lp h3 { font-size: 1.15rem; font-weight: 700; }
.lp-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.lp-container--narrow { max-width: 760px; }
.lp-muted { color: var(--muted-foreground); }
.lp-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--background) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.lp-header__inner { display: flex; align-items: center; gap: 1.5rem; height: 64px; }
.lp-brand img { height: 30px; width: auto; }
.lp-footer { padding: 1.75rem 0; border-top: 1px solid var(--border); font-size: 0.9rem; }
.lp-footer__inner { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: space-between; align-items: center; }
html { scroll-behavior: smooth; }
.lp-legal { padding: 2rem 1.25rem 3rem; }
.lp-legal h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.25rem; }
.lp-legal h2 { font-size: 1.25rem; margin: 2rem 0 0.5rem; }
.lp-legal h3 { font-size: 1.05rem; margin: 1.25rem 0 0.25rem; }
.lp-legal h1, .lp-legal h2, .lp-legal h3 { text-align: left; }
.lp-legal p { margin: 0.5rem 0; }
.lp-legal ul { list-style: disc; padding-left: 1.25rem; margin: 0.5rem 0; }
.lp-legal li { margin: 0.35rem 0; }
.lp-legal a { text-decoration: underline; }

/* Legal pages: draft note, language switch, tables, links to the other documents. */
.lp-header__inner { justify-content: space-between; }
.lp-legal-draft { margin: 0 0 1.25rem; padding: 0.625rem 0.875rem; border-radius: 0.5rem; border: 1px solid #f5c542; background: color-mix(in srgb, #ffc107 16%, var(--background)); color: var(--foreground); font-size: 0.9rem; }
.lp-legal-table { overflow-x: auto; margin: 0.75rem 0; }
.lp-legal-table table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.lp-legal-table th, .lp-legal-table td { text-align: left; vertical-align: top; padding: 0.5rem 0.625rem; border-bottom: 1px solid var(--border); }
.lp-legal-table th { color: var(--muted-foreground); font-weight: 600; font-size: 0.8rem; }
.lp-legal-nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; }
.lp-legal-nav a:hover { color: var(--primary); text-decoration: underline; }
@media (max-width: 639.98px) { .lp-legal-table th, .lp-legal-table td { padding: 0.4rem; } }

/* Help pages (/pomoc, /pomoc/majitel, /pomoc/vodic): the legal page frame plus contents, steps, notes and FAQ. */
.hp-brand { display: inline-flex; align-items: center; gap: 0.625rem; }
.hp-brand__label { font-weight: 600; font-size: 0.95rem; color: var(--muted-foreground); padding-left: 0.625rem; border-left: 1px solid var(--border); }
.hp-header__actions { display: flex; align-items: center; gap: 0.5rem; }
.hp-console-link { display: inline-flex; align-items: center; gap: 0.375rem; font-size: 0.875rem; font-weight: 500; padding: 0.375rem 0.75rem; border: 1px solid var(--border); border-radius: 999px; white-space: nowrap; }
.hp-console-link:hover { background: var(--accent); }
.hp-main { padding-bottom: 4rem; }
.hp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 0.75rem; }
.lp-legal .hp-crumbs a { text-decoration: none; }
.hp-crumbs a:hover { color: var(--foreground); text-decoration: underline; }
.hp-lead { font-size: 1.075rem; color: var(--muted-foreground); margin: 0.5rem 0 1.25rem; }
.hp-toc { border: 1px solid var(--border); border-radius: 0.75rem; padding: 1rem 1.25rem; margin: 1.25rem 0 1.5rem; background: var(--card); }
.lp-legal .hp-toc__title { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted-foreground); margin: 0 0 0.5rem; scroll-margin-top: 5.5rem; }
.hp-toc ol { list-style: decimal; margin: 0; padding-left: 1.4rem; columns: 2 16rem; column-gap: 2rem; }
.hp-toc li { margin: 0.2rem 0; break-inside: avoid; }
.lp-legal .hp-toc a { text-decoration: none; }
.hp-toc a:hover { color: var(--primary); text-decoration: underline; }
.hp-section { scroll-margin-top: 2.5rem; padding-top: 0.5rem; }
.lp-legal .hp-section > h2 { font-size: 1.4rem; margin: 2.25rem 0 0.75rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.lp-legal .hp-section h3 { scroll-margin-top: 5rem; }
.lp-legal ol.hp-steps { list-style: none; counter-reset: hp-step; padding-left: 0; margin: 0.75rem 0; }
.hp-steps > li { counter-increment: hp-step; position: relative; padding-left: 2.25rem; margin: 0.6rem 0; }
.hp-steps > li::before { content: counter(hp-step); position: absolute; left: 0; top: 0.05rem; width: 1.5rem; height: 1.5rem; border-radius: 999px; background: #ffc107; color: #1e293b; font-size: 0.8rem; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.hp-note { margin: 1rem 0; }
.hp-note p { margin: 0.25rem 0; }
.hp-ui { font-weight: 600; padding: 0.05rem 0.375rem; border-radius: 0.375rem; background: var(--muted); color: var(--foreground); font-size: 0.95em; }
.hp-faq { border: 1px solid var(--border); border-radius: 0.625rem; margin: 0.5rem 0; background: var(--card); }
.hp-faq summary { cursor: pointer; padding: 0.75rem 1rem; font-weight: 600; list-style-position: inside; }
.hp-faq[open] summary { border-bottom: 1px solid var(--border); }
.hp-faq__answer { padding: 0.5rem 1rem 0.75rem; }
.hp-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin: 1.25rem 0; }
.lp-legal a.hp-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: 0.875rem; background: var(--card); text-decoration: none; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.hp-card:hover { border-color: #ffc107; box-shadow: 0 4px 18px rgb(0 0 0 / 0.08); }
.hp-card__icon { width: 2.5rem; height: 2.5rem; border-radius: 0.75rem; background: color-mix(in srgb, #ffc107 22%, transparent); display: flex; align-items: center; justify-content: center; }
.hp-card__title { font-weight: 700; font-size: 1.1rem; }
.hp-card__text { color: var(--muted-foreground); font-size: 0.925rem; }
.hp-card__more { margin-top: auto; font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.25rem; }
.hp-top { margin-top: 2.5rem; font-size: 0.9rem; }
.lp-legal .hp-top a { text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; color: var(--muted-foreground); }
.hp-plans { display: grid; grid-template-columns: repeat(auto-fill, minmax(14.5rem, 1fr)); gap: 0.75rem; margin: 1rem 0; }
.hp-plan { border: 1px solid var(--border); border-radius: 0.75rem; background: var(--card); padding: 0.875rem 1rem; font-size: 0.9rem; }
.hp-plan__head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding-bottom: 0.5rem; margin-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.hp-plan__name { font-weight: 700; font-size: 1.05rem; }
.hp-plan__price { font-weight: 600; white-space: nowrap; }
.hp-plan dl { margin: 0; }
.hp-plan dl > div { display: flex; justify-content: space-between; gap: 0.75rem; padding: 0.2rem 0; }
.hp-plan dt { color: var(--muted-foreground); }
.hp-plan dd { margin: 0; text-align: right; font-weight: 500; white-space: nowrap; }
.hp-plan dd.hp-plan__wrap { white-space: normal; }
.lp-legal .hp-dl { display: grid; grid-template-columns: minmax(8rem, max-content) 1fr; gap: 0.35rem 1rem; margin: 0.75rem 0; }
.hp-dl dt { font-weight: 600; }
.hp-dl dd { margin: 0; }
@media (max-width: 639.98px) {
    .hp-brand__label { display: none; }
    .hp-console-link span { display: none; }
    .hp-console-link { padding: 0.375rem 0.5rem; }
    .lp-legal .hp-dl { grid-template-columns: 1fr; gap: 0.1rem; }
    .hp-dl dd { margin-bottom: 0.5rem; }
}

/* Guides: annotated screenshots, modules, tasks, PDF. */
.hp-pdf { margin: 0 0 1.25rem; }
.hp-shot { margin: 1rem 0 1.5rem; }
.hp-shot img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 0.75rem; box-shadow: 0 6px 24px rgb(7 26 61 / 0.08); }
.hp-shot--phone { max-width: 40rem; margin-left: auto; margin-right: auto; }
.hp-shot--phone img { border: 0; box-shadow: none; }
.hp-pdf .hp-console-link span { display: inline !important; }
.hp-shot figcaption { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.5rem; text-align: center; }
@media (min-width: 1100px) {
    .hp-shot:not(.hp-shot--phone) { margin-left: -6rem; margin-right: -6rem; }
}
.hp-module-intro { border-left: 4px solid #ffc107; padding: 0.25rem 0 0.25rem 1rem; color: var(--muted-foreground); margin: 0.5rem 0 1rem; }
.hp-task { scroll-margin-top: 2.5rem; }
.hp-task h3 { display: flex; align-items: center; gap: 0.5rem; }
.hp-task h3::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 999px; background: #ffc107; flex: none; }
.hp-callout { display: inline-flex; align-items: center; justify-content: center; width: 1.35rem; height: 1.35rem; border-radius: 999px; background: #e5484d; color: #fff; font-size: 0.75rem; font-weight: 700; vertical-align: 0.1em; margin: 0 0.15rem; }

@media print {
    @page { size: A4; margin: 14mm 14mm 16mm; }
    html, body { background: #fff !important; color: #111 !important; }
    .lp-header, .lp-footer, .hp-crumbs, .hp-top, .hp-pdf, .hp-header__actions { display: none !important; }
    .lp-container--narrow { max-width: none; }
    .hp-main { padding: 0; }
    .hp-section { break-before: page; }
    .hp-toc + .hp-section, .hp-section:first-of-type { break-before: auto; }
    .hp-shot, .hp-note, .hp-faq, .hp-steps > li, .hp-plan, table { break-inside: avoid; }
    .hp-shot { margin-left: 0 !important; margin-right: 0 !important; }
    .hp-shot img { box-shadow: none; max-height: 120mm; width: auto; max-width: 100%; margin: 0 auto; }
    .hp-shot a::after { content: none !important; }
    .hp-faq { border: 0; }
    .hp-faq summary { list-style: none; padding-left: 0; }
    .hp-faq__answer { display: block !important; padding-left: 0; }
    h2, h3 { break-after: avoid; }
    a { color: inherit; text-decoration: none; }
}
