/* WS1: the public website — CFO Panorama (docs/slices/WEBSITE_WS1.md). Tokens and components of the approved prototype
   (22 Oct 2026): navy text, blue accents, warm cream background, white cards; Inter; the Prague panorama under a soft
   overlay. Loaded by templates/website/base.html alone; the application keeps app.css. Budget 40 KB (test_ui_shell). */

@font-face { font-family: Inter; src: url("../fonts/inter/InterVariable.1506de3995b1.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --ink: #0f172a; --muted: #475569; --soft: #64748b; --blue: #1d4ed8; --blue-dark: #1e40af; --blue-light: #dbeafe;
  --paper: #f7f5f0; --white: #fff; --line: #e5e7eb; --line-soft: #edf0f4; --green: #15803d; --navy: #0b1f3a;
  --radius: 12px; --shadow: 0 18px 55px rgba(15, 23, 42, .05); --header: 82px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 24px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; font-size: 16px; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { touch-action: manipulation; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
button:focus-visible, a:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 3px solid #60a5fa; outline-offset: 4px; }
input:focus, select:focus, textarea:focus { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
h1, h2, h3 { line-height: 1.13; letter-spacing: -.045em; overflow-wrap: anywhere; }
h1 { font-size: clamp(42px, 4.8vw, 68px); font-weight: 800; }
h2 { font-size: clamp(30px, 3.2vw, 44px); font-weight: 750; }
h3 { font-size: 22px; letter-spacing: -.025em; font-weight: 700; }
p { color: var(--muted); }
small { font-size: 12px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.site-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; background: var(--blue); color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 650; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.wrap { max-width: 1232px; margin: auto; padding: 0 32px; }
.wrap--narrow { max-width: 860px; }
.eyebrow { font-size: 12px; letter-spacing: .13em; font-weight: 750; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.lead { font-size: 18px; line-height: 1.7; max-width: 670px; margin-top: 22px; }
.lead a { color: var(--blue); font-weight: 650; }
.blue { color: var(--blue); }
.subtle { font-size: 13px; color: var(--soft); margin-top: 12px; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; font-weight: 650; line-height: 1.5; transition: background .18s, transform .18s; text-align: center; }
.btn:hover { background: #f1f5f9; transform: translateY(-1px); }
.btn.primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.btn.primary:hover { background: var(--blue-dark); }
.btn.small { min-height: 38px; padding: 8px 13px; font-size: 13px; }
.btn.ghost { background: transparent; color: #fff; border-color: #64748b; }
.btn.ghost:hover { background: rgba(255, 255, 255, .08); }
.link { color: var(--blue); font-weight: 650; font-size: 14px; }
.link:hover { text-decoration: underline; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.pill { display: inline-flex; align-items: center; gap: 6px; background: #eff6ff; color: var(--blue); border-radius: 6px; font-size: 11px; font-weight: 650; padding: 4px 8px; letter-spacing: .01em; }
.pill.green { background: #ecfdf3; color: #166534; }
.pill.amber { background: #fff7ed; color: #92400e; }
.pill-link { display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: 13px; font-weight: 650; color: var(--muted); }
.pill-link.current { background: var(--blue); border-color: var(--blue); color: #fff; }
.demo-sub { margin-top: 10px; font-size: 14px; }
.demo-groups { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* layout blocks */
.section { padding: 88px 0; }
.section.white { background: #fff; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-head p { max-width: 430px; }
.section-head h2 { max-width: 580px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.card p { font-size: 14px; margin-top: 14px; }
.card .link { display: inline-block; margin-top: 22px; }
.icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--blue-light); color: var(--blue); margin-bottom: 25px; }
.icon.mint { background: #dcfce7; }
.icon.peach { background: #ffedd5; }
.icon svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.notice { border: 1px solid var(--line); border-left: 3px solid var(--blue); background: var(--white); padding: 18px 22px; border-radius: 10px; font-size: 14px; color: #334155; margin-bottom: 28px; line-height: 1.7; }
.notice strong { color: var(--blue); }
.notice--error { border-color: #fecaca; border-left-color: #b91c1c; background: #fef2f2; color: #991b1b; }
.check-list { padding: 0; list-style: none; margin: 22px 0; }
.check-list li { position: relative; padding-left: 24px; font-size: 14px; margin-bottom: 13px; color: var(--muted); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.empty { padding: 28px; text-align: center; }

/* brand and header */
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 23px; font-weight: 800; letter-spacing: -1.05px; white-space: nowrap; line-height: 1; color: var(--ink); }
.mark { width: 42px; height: 32px; color: var(--blue); flex-shrink: 0; }
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255, 254, 251, .96); backdrop-filter: blur(15px); border-bottom: 1px solid rgba(229, 231, 235, .85); }
.nav-row { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.nav-links { display: flex; align-items: center; gap: 17px; }
.nav-links > a, .drop-toggle { font-size: 13px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.nav-links > a:hover, .drop-toggle:hover, .nav-links > a[aria-current], .drop[data-current] .drop-toggle { color: var(--blue); }
.nav-end { display: flex; gap: 10px; align-items: center; }
.login-link { font-size: 13px; font-weight: 650; margin-right: 8px; white-space: nowrap; }
.drop { position: relative; }
.drop-toggle { list-style: none; cursor: pointer; padding: 14px 0; }
.drop-toggle::-webkit-details-marker { display: none; }
.dropdown { position: absolute; top: 46px; left: -24px; width: 290px; background: #fff; padding: 12px; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); z-index: 5; }
.dropdown a { display: block; padding: 12px; border-radius: 8px; font-size: 14px; font-weight: 650; }
.dropdown a:hover { background: #f1f5f9; }
.dropdown small { display: block; color: var(--soft); font-weight: 400; margin-top: 2px; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; font-size: 18px; line-height: 1; }
.language-switch { display: inline-flex; flex-shrink: 0; border: 1px solid #cbd5e1; border-radius: 8px; padding: 3px; gap: 2px; margin: 0; }
.language-switch button { border: 0; background: transparent; color: var(--muted); padding: 5px 7px; border-radius: 5px; font-size: 11px; font-weight: 700; }
.language-switch button[aria-pressed="true"] { background: var(--blue); color: #fff; }

/* hero */
.hero { position: relative; isolation: isolate; min-height: 650px; overflow: hidden; display: flex; align-items: center; }
.hero-picture { position: absolute; inset: 0; z-index: -2; display: block; }
.hero-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center 48%; display: block; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(247, 245, 240, .97) 0%, rgba(247, 245, 240, .9) 40%, rgba(247, 245, 240, .45) 70%, rgba(247, 245, 240, .15)); }
.hero-inner { display: grid; grid-template-columns: 1.35fr 1fr; gap: 80px; align-items: center; padding-top: 65px; padding-bottom: 65px; width: 100%; }
.hero h1 { max-width: 680px; }
html[lang="cs"] .hero h1 { font-size: clamp(38px, 4.4vw, 64px); }
.hero .lead { max-width: 560px; font-size: 18px; line-height: 1.65; margin-top: 20px; color: #1e293b; font-weight: 500; text-shadow: 0 0 18px rgba(247, 245, 240, .95), 0 0 2px rgba(247, 245, 240, .9); }
.hero-connect { margin-top: 30px; max-width: 600px; }
.hero-connect-label { display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: .1em; font-weight: 750; text-transform: uppercase; color: var(--blue); }
.hero-connect-label svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hero-sources { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 12px 0 0; padding: 0; }
.hero-sources li { background: #fff; border: 1.5px solid #bfdbfe; border-left: 5px solid var(--blue); border-radius: 10px; padding: 9px 16px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; color: var(--ink); box-shadow: 0 6px 20px rgba(15, 23, 42, .1); }
.hero .eyebrow { color: #334155; }
.hero-card { background: #fff; border: 1px solid rgba(255, 255, 255, .75); border-radius: 18px; box-shadow: 0 16px 60px rgba(15, 23, 42, .1); padding: 30px; }
html[lang="cs"] .hero-card { padding: 26px; }
.hero-card h3 { font-size: 21px; margin-top: 16px; }
.hero-card .btn { width: 100%; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.metric { padding: 14px 12px; border-radius: 8px; background: #f8fafc; min-width: 0; }
.metric span { font-size: 11px; color: var(--soft); display: block; }
.metric strong { display: block; font-size: 21px; letter-spacing: -.04em; margin-top: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
html[lang="cs"] .metric strong { font-size: 19px; }
.metric small { font-size: 10px; color: var(--green); }
.mini-chart { height: 100px; display: flex; align-items: end; gap: 9px; border-bottom: 1px solid #cbd5e1; padding: 0 10px; margin: 24px 0 26px; }
.chart-label { display: flex; justify-content: space-between; color: var(--soft); font-size: 11px; margin: 0 0 22px; }
.bar { height: var(--h); flex: 1; background: #c7d9fb; border-radius: 4px 4px 0 0; }
.bar:nth-last-child(-n+3) { background: var(--blue); }
.hero-note { margin-top: 14px; font-size: 11px; line-height: 1.6; text-align: center; color: var(--soft); }
.trust-row { display: flex; gap: 26px; justify-content: space-between; padding: 24px 0; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 600; color: var(--muted); }
.trust-row span::before { content: "✓"; color: var(--blue); margin-right: 9px; }
.feature-grid .card { min-height: 240px; }
.feature-grid h3 { font-size: 18px; }

/* report workspace */
.report-band { background: #eef2f7; }
.workspace { background: #fff; border: 1px solid #dbe1ea; border-radius: 16px; box-shadow: var(--shadow); overflow: hidden; }
.workspace-top { padding: 18px 22px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.workspace-top strong { display: block; font-size: 17px; }
.workspace-top small { color: var(--soft); }
.period-reset { margin: 0; padding: 10px 22px; background: #fffbeb; border-bottom: 1px solid var(--line); font-size: 13px; color: #78350f; }   /* CX-022 */
.segments.statements { display: flex; gap: 2px; padding: 0 22px; border-bottom: 1px solid var(--line); background: #fff; border-radius: 0; overflow-x: auto; }
.segments.statements a { padding: 12px 14px; border-radius: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; font-size: 13px; }
.segments.statements a[aria-current] { background: none; box-shadow: none; border-bottom-color: var(--blue); color: var(--blue); }
.controls { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 22px; border-bottom: 1px solid var(--line); background: #fbfbfa; }
.controls-form { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.segments { display: inline-flex; gap: 3px; background: #eef2f6; padding: 3px; border-radius: 9px; }
.segments a { padding: 7px 12px; color: var(--muted); border-radius: 6px; font-size: 12px; font-weight: 600; white-space: nowrap; }
.segments a[aria-current] { background: #fff; box-shadow: 0 1px 4px rgba(15, 23, 42, .07); color: var(--blue); }
.controls select { border: 1px solid #dbe1e9; padding: 8px 12px; border-radius: 8px; background: #fff; font-size: 12px; color: #334155; max-width: 280px; }
.controls .currency { margin-left: auto; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
/* WS3 §6: the report table — Inter 13 px, rows of 32 px, tabular numerals, sentence-case headings, three levels of
   emphasis (ordinary / subtotal on a thin rule / result in bold on a stronger rule with the one pale blue), the
   Group column set off by a single rule, a muted dash for zero. Fixed layout: 34 % for the description, the rest
   shared by the numeric columns, so the five-column group table fits 1280 px without scrolling. */
table { border-collapse: collapse; width: 100%; font-size: 13px; font-variant-numeric: tabular-nums; }
th, td { padding: 7px 12px; text-align: right; border-bottom: 1px solid var(--line-soft); white-space: nowrap; font-weight: inherit; line-height: 1.35; }
th:first-child, td:first-child { text-align: left; }
thead th { background: #fff; font-size: 12px; color: var(--muted); font-weight: 600; border-bottom: 1px solid #cbd5e1; vertical-align: bottom; padding-top: 10px; padding-bottom: 8px; }
.period-note { font-weight: 500; color: var(--soft); }
/* GW1: a numeric heading wraps (balanced lines) instead of overflowing its column. */
thead th.num { white-space: normal; text-wrap: balance; }
table.report { table-layout: fixed; }
table.report col.col-label { width: 34%; }
table.report--one col.col-label { width: 72%; }
table.report tbody th { font-weight: 450; white-space: normal; color: var(--ink); overflow-wrap: anywhere; }
table.report td.num { overflow: hidden; text-overflow: clip; }
table.report .rl-depth-1 th { padding-left: 26px; }
table.report .rl-depth-2 th { padding-left: 38px; }
table.report .rl-depth-3 th { padding-left: 50px; }
table.report .row--detail th, table.report .row--detail td, table.report .row--stat th, table.report .row--stat td { border-bottom-color: transparent; }
table.report .row--header th, table.report .row--header td { font-size: 11.5px; color: var(--soft); font-weight: 600; padding-top: 18px; padding-bottom: 4px; border-bottom: 1px solid var(--line); }
table.report .row--subtotal th, table.report .row--subtotal td { font-weight: 600; color: var(--ink); border-top: 1px solid #cbd5e1; border-bottom-color: transparent; padding-top: 8px; }
table.report .row--result th, table.report .row--result td { font-weight: 700; color: var(--ink); border-top: 1.5px solid #64748b; background: #eff6ff; border-bottom-color: transparent; }
table.report .row--margin th, table.report .row--margin td { color: var(--soft); font-size: 12px; padding-top: 3px; padding-bottom: 9px; border-bottom-color: transparent; }
table.report .row--margin th { padding-left: 26px; }
table.report .row--stat th, table.report .row--stat td { color: var(--muted); }
table.report .group-col { border-left: 1px solid #cbd5e1; font-weight: 600; }
table.report .row--result .group-col { font-weight: 750; }
table.report thead th.group-col { color: var(--ink); }
table.report thead th.report-entity { white-space: normal; line-height: 1.3; }
table.report .nm, table.report .zero { color: #94a3b8; }
table.report .nm { cursor: help; font-size: 12px; }
table.report--example th, table.report--example td { padding: 6px 8px; font-size: 13px; }
table.report--example col.col-label { width: auto; }
table.report--example tbody th { padding-left: 14px; }
table.report--example .row--subtotal th, table.report--example .row--result th { padding-left: 0; }
table.report--example .row--margin th { padding-left: 14px; }
.kpi-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 14px 0 6px; }
.kpi-tiles--3 { grid-template-columns: repeat(3, 1fr); }
.kpi-tile { border: 1px solid var(--line); border-radius: 8px; padding: 9px 10px 8px; background: #fafaf9; min-height: 62px; }
.kpi-tile span { display: block; font-size: 11px; color: var(--soft); line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kpi-tile strong { display: block; font-size: 19px; letter-spacing: -.02em; margin-top: 3px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.example-sub { margin: 4px 0 0; }
/* WS3.1: the home page's three example cards — one simple company each, a handful of lines, this year and last */
.example-cards { margin-top: 10px; }
.example-mini { padding: 24px 24px 20px; min-width: 0; overflow: hidden; }
.example-mini .eyebrow { margin-bottom: 6px; }
.example-mini h3 { font-size: 20px; }
.example-mini > .subtle { font-size: 12px; margin: 2px 0 12px; }
.example-mini .link { display: inline-block; margin-top: 14px; font-size: 13px; }
table.report--mini { table-layout: auto; }
table.report--mini th, table.report--mini td { padding: 6px 6px; font-size: 13px; }
table.report--mini thead th { font-size: 11px; padding-bottom: 6px; }
table.report--mini tbody th { padding-left: 0; }
table.report--mini .row--margin th { padding-left: 12px; }
table.report--mini .row--result th, table.report--mini .row--result td { background: #eff6ff; }
table.report--mini td.num:last-child { color: var(--muted); }
.example-units { font-size: 12px; margin: 0 0 12px; }
.example-note { font-size: 12px; margin-top: 12px; }
.entities { font-size: 11px; }
.entities summary { cursor: pointer; color: var(--muted); }
.entities ul { margin: 6px 0 0; padding-left: 18px; }
.report-bottom { padding: 15px 26px; font-size: 11px; color: var(--soft); display: flex; justify-content: space-between; gap: 20px; }
.report-caption { margin-top: 20px; display: flex; align-items: center; justify-content: space-between; font-size: 13px; gap: 20px; }
.js .js-hide { display: none; }

/* steps, industries, output, FAQ, CTA */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; }
.step-num { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid #bfdbfe; border-radius: 50%; background: #eff6ff; color: var(--blue); font-weight: 700; margin-bottom: 25px; }
.steps h3 { margin-bottom: 14px; }
.steps p { font-size: 14px; }
.industry-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.industry-art { height: 170px; background: #dfe9f4; display: flex; align-items: end; justify-content: center; position: relative; overflow: hidden; }
.industry-art svg { width: 86%; height: 155px; }
.industry-card--restaurant .industry-art, .industry-art--restaurant { background: #f2e9dc; }
.industry-card--service .industry-art, .industry-art--service { background: #e4eee7; }
.industry-content { padding: 27px; flex: 1; display: flex; flex-direction: column; }
.industry-content h3 { margin: 14px 0 0; }
.industry-content p { min-height: 68px; }
.industry-content ul { font-size: 13px; color: var(--muted); padding-left: 19px; margin: 22px 0; flex: 1; }
.industry-content li { margin-bottom: 7px; }
.industry-content .btn { width: 100%; margin-top: 14px; }
.output-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.output-visual { background: #edf0f5; border: 1px solid #e2e8f0; border-radius: 16px; padding: 36px; transform: rotate(-1deg); }
.sheet { background: #fff; border: 1px solid #dbe1e9; border-radius: 5px; box-shadow: 0 12px 35px rgba(15, 23, 42, .05); padding: 28px; }
.sheet .brand { font-size: 17px; }
.sheet .mark { width: 30px; }
.sheet h3 { margin: 28px 0 8px; }
.sheet-sub { font-size: 11px; margin-bottom: 20px; }
.sheet-lines { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 1px; background: #e2e8f0; border: 1px solid #e2e8f0; }
.sheet-lines span { height: 25px; background: #fff; }
.sheet-lines span:nth-child(-n+4) { background: var(--blue-light); }
.file-tabs { display: flex; font-size: 9px; color: var(--muted); gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.file-tabs span:first-child { color: var(--blue); font-weight: 700; }
.faq-wrap { max-width: 820px; margin: auto; }
.faq-wrap h2 { margin-bottom: 32px; }
details.faq { border-bottom: 1px solid #dbe1e9; padding: 20px 0; }
details.faq summary { cursor: pointer; font-size: 16px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 23px; color: var(--blue); line-height: 1; }
details.faq[open] summary::after { content: "−"; }
details.faq p { font-size: 14px; line-height: 1.8; padding: 16px 35px 0 0; }
.cta-band { background: var(--navy); color: #fff; padding: 58px; border-radius: 18px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band h2 { font-size: 35px; max-width: 650px; }
.cta-band p { color: #b9c8df; margin-top: 16px; font-size: 14px; }
.cta-band .btn { white-space: nowrap; }
.cta-band--last { margin-bottom: 70px; }
.cta-actions { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 22px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 45px; }
.footer-top p { font-size: 13px; max-width: 380px; margin-top: 18px; }
.footer-operator a { color: var(--blue); }
.footer-col strong { font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.footer-col a { display: block; color: var(--soft); font-size: 13px; margin-top: 12px; }
.footer-col a:hover { color: var(--blue); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 35px; margin-top: 30px; border-top: 1px solid var(--line); font-size: 11px; color: var(--soft); flex-wrap: wrap; }
.back-top { color: var(--blue); font-weight: 650; }

/* inner pages */
.page-intro { padding: 65px 0 42px; }
.page-intro h1 { font-size: clamp(38px, 4vw, 56px); max-width: 880px; }
.breadcrumb { font-size: 12px; color: var(--soft); margin-bottom: 28px; }
.breadcrumb a { color: var(--blue); }
.pricing-grid { align-items: stretch; }
.price-card { display: flex; flex-direction: column; padding: 30px; position: relative; }
.price-card.featured { border: 2px solid var(--blue); }
.price-card h3 { margin-top: 15px; }
.price-card .price { font-size: 24px; font-weight: 750; margin-top: 25px; letter-spacing: -.04em; }
.price-card .check-list { flex: 1; }
.price-card .btn { margin-top: 15px; }
.compare { margin-top: 55px; }
.compare h3 { margin-bottom: 20px; }
.compare table { border: 1px solid var(--line); background: #fff; }
.compare th:not(:first-child), .compare td:not(:first-child) { text-align: center; white-space: normal; }
.compare tbody th { font-weight: 600; }
.industry-hero { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: 75px; margin-bottom: 50px; }
.industry-title { margin-top: 22px; }
.industry-hero .industry-art { height: 300px; border-radius: 16px; }
.industry-hero .industry-art svg { height: 280px; }
.industry-kpis { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 24px; }
.industry-kpis span { font-size: 12px; background: #fff; border: 1px solid #dbe1e9; padding: 8px 11px; border-radius: 8px; }
.industry-detail-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 40px; }
.industry-detail-grid h2 { margin-bottom: 25px; }
.example-card h3 { margin-bottom: 12px; }
.example-card .table-scroll { margin-top: 16px; }
.measures-title { font-size: 16px; margin: 30px 0 12px; }
.measures div { display: grid; grid-template-columns: 1fr 1.2fr; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 13px; }
.measures dt { font-weight: 650; }
.measures dd { color: var(--muted); }
.demo-title { display: flex; align-items: end; justify-content: space-between; gap: 25px; }
.demo-note { margin-bottom: 24px; }

/* enquiry form */
.enquiry-form { padding: 34px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: block; font-size: 12px; font-weight: 650; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; margin-top: 7px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: 8px; font-size: 14px; color: var(--ink); background: #fff; }
.field.full { grid-column: 1 / -1; }
.field textarea { resize: vertical; min-height: 110px; }
.field .errorlist { list-style: none; padding: 0; margin: 6px 0 0; color: #991b1b; font-weight: 500; }

/* responsive */
@media (min-width: 1500px) { .hero { min-height: 700px; } }
@media (max-width: 1200px) {
  .nav-links { gap: 12px; }
  .nav-links > a, .drop-toggle { font-size: 12px; }
  .login-link { display: none; }
  .wrap { padding-left: 24px; padding-right: 24px; }
  .brand { font-size: 21px; }
  .mark { width: 36px; }
  .hero-inner { gap: 35px; }
  .metrics { gap: 5px; }
  .metric { padding: 12px 8px; }
  .metric strong { font-size: 18px; }
}
@media (max-width: 900px) {
  :root { --header: 72px; }
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: var(--header); left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 20px 26px; align-items: stretch; flex-direction: column; gap: 0; max-height: 80vh; overflow: auto; }
  .nav-links.open { display: flex; }
  .no-js .nav-links { display: flex; position: static; max-height: none; }
  .nav-links > a, .drop-toggle { display: block; padding: 12px 0; width: 100%; text-align: left; font-size: 15px; }
  .dropdown { position: static; box-shadow: none; width: 100%; margin-bottom: 10px; }
  .nav-end { margin-left: auto; }
  .hero-inner { grid-template-columns: 1fr 1fr; gap: 25px; }
  .hero-card { padding: 23px; }
  .hero h1, html[lang="cs"] .hero h1 { font-size: 45px; }
  .hero .lead { font-size: 16px; }
  .hero-sources li { font-size: 17px; padding: 8px 13px; }
  .trust-row { flex-wrap: wrap; gap: 14px 25px; }
  .grid3 { gap: 14px; }
  .card { padding: 22px; }
  .industry-content { padding: 22px; }
  .output-section, .industry-hero { gap: 35px; }
  .steps { gap: 25px; }
  .section { padding: 65px 0; }
  .cta-band { padding: 35px; }
  .industry-detail-grid { grid-template-columns: 1fr; }
}
@media (max-width: 650px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav-end > .btn { display: none; }
  .nav-end, .nav-row { gap: 8px; }
  .language-switch button { padding: 5px 6px; }
  .brand { font-size: 20px; }
  .mark { width: 34px; }
  .hero-inner { grid-template-columns: 1fr; padding-top: 42px; padding-bottom: 40px; gap: 30px; }
  .hero h1, html[lang="cs"] .hero h1 { font-size: 40px; }
  .hero::after { background: linear-gradient(180deg, rgba(247, 245, 240, .94), rgba(247, 245, 240, .88)); }
  .hero-connect { margin-top: 24px; }
  .hero-sources li { font-size: 16px; padding: 7px 12px; }
  .hero-picture img { object-position: 58% center; }
  .hero-card { max-width: 460px; }
  .hero-card .mini-chart { height: 75px; }
  .grid3, .steps, .output-section, .industry-hero, .form-grid, .footer-top { grid-template-columns: 1fr; }
  .section-head { display: block; }
  .section-head p { margin-top: 20px; }
  .section { padding: 52px 0; }
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; font-size: 11px; gap: 12px; }
  .feature-grid .card { min-height: 0; }
  .feature-grid .card .icon { margin-bottom: 16px; }
  .industry-content p { min-height: 0; }
  .industry-art { height: 150px; }
  .output-visual { padding: 20px; }
  .report-caption, .report-bottom, .footer-bottom, .demo-title, .cta-band { display: block; }
  .report-caption .link { display: block; margin-top: 12px; }
  .workspace-top { padding: 20px; align-items: start; }
  .workspace-top .pill { max-width: 120px; font-size: 10px; }
  .controls { padding: 13px; gap: 10px; }
  .controls .currency { margin-left: 0; }
  .controls select { width: 100%; max-width: none; }
  .controls-form { width: 100%; }
  .segments a { padding: 7px 10px; font-size: 11px; }
  .segments.statements { padding: 0 12px; }
  .kpi-tiles { grid-template-columns: repeat(3, 1fr); }
  .example-mini { padding: 18px 16px 16px; }
  table.report--mini th, table.report--mini td { padding: 6px 4px; font-size: 12px; }
  table.report--mini tbody th { position: static; min-width: 0; max-width: none; }
  table.report { table-layout: auto; }
  table.report col.col-label { width: auto; }
  .report-bottom { padding: 15px; font-size: 10px; }
  .report-bottom span { display: block; margin-top: 4px; }
  th, td { padding: 8px 10px; font-size: 12px; }
  table.report tbody th { min-width: 150px; max-width: 170px; font-size: 11.5px; line-height: 1.35; position: sticky; left: 0; background: #fff; z-index: 1; }
  table.report .row--result th { background: #eff6ff; }
  table.report thead th:first-child { position: sticky; left: 0; z-index: 2; }
  table.report td.num { min-width: 84px; }
  table.report thead th.num { width: 1px; }      /* GW1: auto layout here, so the figures size the column */
  .cta-band { padding: 30px; }
  .cta-band h2 { font-size: 29px; }
  .cta-band .cta-actions { margin-top: 25px; }
  .footer-top { gap: 30px; }
  .footer-bottom span, .footer-bottom a { display: block; margin-bottom: 12px; }
  .page-intro { padding-top: 38px; }
  .page-intro h1 { font-size: 36px; }
  .industry-hero { gap: 30px; }
  .industry-hero .industry-art, .industry-hero .industry-art svg { height: 210px; }
  .demo-title .btn { margin-top: 20px; }
  .price-card, .enquiry-form { padding: 24px; }
  .compare { overflow-x: auto; }
  .compare table { min-width: 620px; }
  .measures div { grid-template-columns: 1fr; gap: 2px; }
}
/* CX-019: below 900 px the demo table scrolls in its own box, so the column headings stay on top and the line names on
   the left while reading down or across; site.js adds a second scrollbar above the table (aria-hidden, no content). */
@media (max-width: 900px) {
  .workspace .table-scroll { max-height: 78vh; overflow: auto; }
  .workspace table.report thead th { position: sticky; top: 0; z-index: 2; }
  .workspace table.report thead th:first-child { left: 0; z-index: 3; }
  .workspace table.report tbody th { position: sticky; left: 0; background: #fff; z-index: 1; }
  .workspace table.report .row--result th { background: #eff6ff; }
}
.table-scroll-top { overflow-x: auto; overflow-y: hidden; height: 12px; }
.table-scroll-top > div { height: 1px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
/* UX brief v2 PR A (CX-010): a statistic's or KPI's own unit under its name */
table.report .line-unit { display: block; font-size: 11.5px; font-weight: 400; color: var(--soft); }
@media print {
  .site-header, .site-footer, .controls, .actions, .btn, .skip { display: none !important; }
  .section { padding: 20px 0; }
  .wrap { max-width: none; padding: 0; }
  .workspace { box-shadow: none; }
  .report-band, body { background: #fff; }
}

/* HL1: the "?" right of Log in — the help centre */
.help-link{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:1px solid currentColor;border-radius:50%;font-weight:700;text-decoration:none;opacity:.85}.help-link:hover{opacity:1}
