/* ngemailing.cz — site styles. Hand-written, no build step. Tokens mirror the application (apps/web/src/brand.css). */

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

:root {
  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --navy: #0F2139;
  --navy-2: #172E4D;
  --navy-line: rgba(255, 255, 255, .13);
  --navy-ink: #AEBBCD;
  --blue: #1968CE;
  --blue-hover: #1557AD;
  --blue-soft: #E6F0FC;
  --blue-300: #8DB8F2;
  --orange: #E8590C;
  --page: #F3F5F6;
  --bg: #fff;
  --ink: #1E2227;
  --ink-2: #48525E;
  --ink-3: #596474;
  --line: #DADEE3;
  --line-2: #E6E8EC;
  --ok: #0F7A4D;
  --ok-soft: #E9F6F0;
  --warn: #8F5A00;
  --warn-soft: #FDF5E6;
  --radius-xs: .25rem;
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --shadow-subtle: 0 1px 2px hsl(214 34% 16% / .06);
  --shadow-menu: 0 8px 24px hsl(214 34% 16% / .12);
  --shadow-shot: 0 30px 70px -20px hsl(214 60% 12% / .45), 0 2px 6px hsl(214 34% 16% / .12);
  --container: 75rem;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section: clamp(3.5rem, 8vw, 6.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss03";
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--blue); text-decoration-thickness: .08em; text-underline-offset: .18em; }
a:hover { color: var(--blue-hover); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.12; letter-spacing: -.028em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); letter-spacing: -.04em; line-height: 1.04; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.625rem); }
h3 { font-size: 1.3125rem; letter-spacing: -.02em; line-height: 1.25; }
h4 { font-size: 1.0625rem; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: .1875rem solid var(--blue); outline-offset: .125rem; border-radius: var(--radius-xs); }
.num { font-variant-numeric: tabular-nums; }
/* Wrapper added by TypographyMiddleware around "e-mail"; it must never pick up styles meant for other spans */
span.nw.nw { all: unset; white-space: nowrap; }
[hidden] { display: none !important; }
[x-cloak] { display: none !important; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--blue); color: #fff; padding: .625rem 1rem; border-radius: var(--radius-sm); }
.skip:focus { top: 1rem; color: #fff; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }
.section { padding-block: var(--section); }
.section--tint { background: var(--page); }
.section--dark { background: var(--navy); color: #fff; }
.section--dark a:not(.btn) { color: var(--blue-300); }
.section--flush-top { padding-top: 0; }
.lead { font-size: clamp(1.125rem, 1.6vw, 1.3125rem); line-height: 1.5; color: var(--ink-2); max-width: 40rem; }
.section--dark .lead { color: var(--navy-ink); }
.muted { color: var(--ink-3); }
.small { font-size: .9375rem; }
.stack > * + * { margin-top: 1rem; }
.stack-lg > * + * { margin-top: 1.75rem; }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head p { margin-top: 1rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.875rem; padding: .625rem 1.25rem;
  border: .0625rem solid transparent; border-radius: var(--radius-sm);
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { background: var(--blue-soft); color: var(--navy); }
.section--dark .btn-ghost, .hero .btn-ghost { border-color: var(--navy-line); color: #fff; }
.section--dark .btn-ghost:hover, .hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.btn-lg { min-height: 3.375rem; padding: .875rem 1.625rem; font-size: 1.0625rem; }
.btn-sm { min-height: 2.5rem; padding: .5rem 1rem; font-size: .9375rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.link-more { font-weight: 600; text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* ---------- Brand ---------- */
.brand { display: inline-flex; align-items: center; gap: .625rem; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand__mark { width: 1.9375rem; height: 1.6875rem; display: grid; gap: .25rem; align-content: center; }
.brand__mark span { display: block; height: .3125rem; background: var(--blue); border-radius: var(--radius-xs); }
.brand__mark span:nth-child(1) { width: 1.3125rem; }
.brand__mark span:nth-child(2) { width: 1.8125rem; }
.brand__mark span:nth-child(3) { width: 1rem; margin-left: .5rem; }
.brand__name { font-size: 1.25rem; letter-spacing: -.0375rem; font-weight: 500; }
.brand__name strong { font-weight: 700; }
.brand__name span { color: var(--blue); }
.brand--inverse, .brand--inverse:hover { color: #fff; }
.brand--inverse .brand__mark span { background: var(--blue-300); }
.brand--inverse .brand__name span { color: var(--blue-300); }

/* ---------- Announcement + header ---------- */
.announce { background: var(--navy); color: #fff; font-size: .9375rem; }
.announce__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .75rem; padding-block: .5rem; text-align: center; }
.announce a { color: #fff; font-weight: 600; }
.announce__tag { background: var(--blue); border-radius: var(--radius-xs); padding: .0625rem .5rem; font-weight: 600; font-size: .8125rem; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: .0625rem solid var(--line-2); }
.site-header__in { display: flex; align-items: center; gap: 1.5rem; min-height: 4.25rem; }
.nav { display: none; align-items: center; gap: .125rem; margin-right: auto; }
.nav__item { position: relative; }
.nav__link { display: inline-flex; align-items: center; gap: .25rem; padding: .5rem .75rem; border-radius: var(--radius-sm); color: var(--ink-2); font-weight: 500; font-size: .9688rem; text-decoration: none; background: none; border: 0; cursor: pointer; }
.nav__link:hover, .nav__link[aria-current="page"], .nav__item:focus-within > .nav__link { color: var(--ink); background: var(--page); }
.nav__link svg { width: 1rem; height: 1rem; }
.mega { position: absolute; left: -1rem; top: calc(100% + .5rem); width: 41rem; padding: .75rem; background: #fff; border: .0625rem solid var(--line-2); border-radius: var(--radius-md); box-shadow: var(--shadow-menu); display: none; grid-template-columns: 1fr 1fr; gap: .125rem; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -.625rem; height: .625rem; }
.nav__item:hover > .mega, .nav__item:focus-within > .mega, .nav__item.is-open > .mega { display: grid; }
.mega a { display: grid; grid-template-columns: 2.25rem 1fr; gap: .125rem .75rem; align-items: start; padding: .625rem .75rem; border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); }
.mega a:hover { background: var(--blue-soft); }
.mega svg { grid-row: span 2; width: 2.25rem; height: 2.25rem; padding: .5rem; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue-hover); }
.mega b { font-weight: 600; font-size: .9688rem; }
.mega span { font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.mega__all { grid-column: 1 / -1; border-top: .0625rem solid var(--line-2); margin-top: .375rem; padding-top: .375rem; }
.mega__all a { display: block; font-weight: 600; color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.header-actions .btn-ghost { display: none; }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border: .0625rem solid var(--line); border-radius: var(--radius-sm); background: #fff; cursor: pointer; }
.menu-toggle svg { width: 1.375rem; height: 1.375rem; }
.mobile-nav { display: none; border-top: .0625rem solid var(--line-2); padding-block: .75rem 1.25rem; }
.mobile-nav.is-open { display: block; }
.mobile-nav a { display: block; padding: .75rem .25rem; color: var(--ink); text-decoration: none; font-weight: 500; border-bottom: .0625rem solid var(--line-2); }
.mobile-nav__sub a { padding-left: 1.25rem; font-weight: 400; color: var(--ink-2); }
.mobile-nav .btn-row { margin-top: 1rem; }
.mobile-nav .btn-row a { border: .0625rem solid var(--line); flex: 1; text-align: center; }
.mobile-nav .btn-row a.btn-primary { border-color: transparent; color: #fff; }

@media (min-width: 64rem) {
  .nav { display: flex; }
  .header-actions { margin-left: 0; }
  .header-actions .btn-ghost { display: inline-flex; }
  .menu-toggle, .mobile-nav, .mobile-nav.is-open { display: none; }
}

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .875rem; color: var(--ink-3); padding-block: 1rem 0; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .25rem .5rem; list-style: none; }
.crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--line); }
.crumbs a { color: var(--ink-3); text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.crumbs--dark, .crumbs--dark a { color: var(--navy-ink); }
.crumbs--dark a:hover { color: #fff; }
.crumbs--dark li + li::before { color: rgba(255, 255, 255, .4); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero__in { display: grid; gap: clamp(2rem, 5vw, 3.5rem); padding-block: clamp(3rem, 7vw, 5.5rem) 0; }
.hero__copy { max-width: 39rem; }
.hero h1 { color: #fff; }
.hero .lead { margin-top: 1.25rem; color: var(--navy-ink); }
.hero .btn-row { margin-top: 2rem; }
.hero__facts { display: flex; flex-wrap: wrap; gap: .375rem 1.5rem; margin-top: 1.5rem; list-style: none; font-size: .9375rem; color: var(--navy-ink); }
.hero__facts li { display: inline-flex; align-items: center; gap: .5rem; }
.hero__facts svg { width: 1rem; height: 1rem; color: var(--blue-300); }
.hero__stage { position: relative; margin-bottom: -1px; }
.hero__stage .shot { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }
.hero--page .hero__in { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.hero--page h1 { font-size: clamp(2rem, 4.4vw, 3.25rem); }
.hero--split .hero__in { padding-bottom: 0; }

@media (min-width: 64rem) {
  .hero--home .hero__in { grid-template-columns: minmax(0, 31rem) minmax(0, 1fr); align-items: end; padding-top: 5rem; }
  .hero--home .hero__copy { padding-bottom: 5rem; }
  .hero--home .hero__stage { margin-right: calc(-1 * (50vw - min(50vw, (var(--container) / 2 + var(--gutter))) + var(--gutter) + 6rem)); }
  .hero--split .hero__in { grid-template-columns: minmax(0, 30rem) minmax(0, 1fr); align-items: end; }
  .hero--split .hero__copy { padding-bottom: 4.5rem; }
  .hero--split .hero__stage { margin-right: calc(-1 * (50vw - min(50vw, (var(--container) / 2 + var(--gutter))) + var(--gutter) + 4rem)); }
}

/* ---------- App screenshot ---------- */
.shot { margin: 0; border: .0625rem solid var(--line); border-radius: var(--radius-md); overflow: hidden; background: var(--page); box-shadow: var(--shadow-shot); }
.shot img { width: 100%; height: auto; aspect-ratio: var(--ratio, 16 / 10); object-fit: cover; object-position: top left; background: var(--page); }
.shot--plain { box-shadow: var(--shadow-subtle); }
.shot--phone { max-width: 17rem; border-radius: 1.5rem; }
.section--dark .shot, .hero .shot { border-color: rgba(255, 255, 255, .16); }
.shot figcaption { padding: .625rem .875rem; font-size: .875rem; color: var(--ink-3); background: #fff; border-top: .0625rem solid var(--line-2); }
.shot-link { display: block; cursor: zoom-in; }

/* ---------- Logos / proof band ---------- */
.proof { display: grid; gap: 1.5rem 3rem; padding-block: 2.25rem; border-bottom: .0625rem solid var(--line-2); }
.proof__nums { display: flex; flex-wrap: wrap; gap: 1.25rem 2.75rem; list-style: none; }
.proof__nums b { display: block; font-size: 1.75rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.proof__nums span { font-size: .9375rem; color: var(--ink-3); }
.proof__logos { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; }
.proof__logos img { height: 1.625rem; width: auto; max-width: 8.5rem; object-fit: contain; filter: grayscale(1); opacity: .65; }
@media (min-width: 64rem) { .proof { grid-template-columns: auto 1fr; align-items: center; } .proof__logos { justify-content: flex-end; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { display: grid; gap: 1.5rem; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; padding-top: 1.25rem; border-top: .125rem solid var(--ink); }
.steps li::before { content: counter(step); display: block; font-weight: 700; font-size: .9375rem; color: var(--blue); margin-bottom: .5rem; }
.steps p { margin-top: .5rem; color: var(--ink-2); }
.section--dark .steps li { border-color: var(--navy-line); }
.section--dark .steps p { color: var(--navy-ink); }
.section--dark .steps li::before { color: var(--blue-300); }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; } .steps--4 { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Tour: feature switcher shaped like the app's side menu ---------- */
.tour { display: grid; gap: 2rem; }
.tour__nav { display: none; }
.tour__panel + .tour__panel { margin-top: 3.5rem; }
.tour__panel h3 { font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.tour__panel p { margin-top: .75rem; color: var(--ink-2); max-width: 36rem; }
.tour__panel .link-more { display: inline-block; margin-top: .875rem; }
/* Wide screen: the heading sits left and the text right, in the section head and in each panel on one shared line */
@media (min-width: 80rem) {
  .section-head--split { display: grid; grid-template-columns: 41rem minmax(0, 1fr); gap: 2.5rem; align-items: end; max-width: none; }
  .section-head--split p { margin-top: 0; max-width: 36rem; }
  .tour__copy { display: grid; grid-template-columns: 41rem minmax(0, 1fr); grid-template-rows: auto 1fr; column-gap: 2.5rem; }
  .js .tour__copy { grid-template-columns: 22rem minmax(0, 1fr); }
  .tour__copy h3 { grid-column: 1; grid-row: 1; }
  .tour__copy p { grid-column: 2; grid-row: 1 / span 2; margin-top: 0; max-width: 36rem; }
  .tour__copy .link-more { grid-column: 1; grid-row: 2; justify-self: start; align-self: start; }
}
.tour__panel .shot { margin-top: 1.5rem; }
@media (min-width: 64rem) {
  .js .tour { grid-template-columns: 16.5rem minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  .js .tour__nav { display: block; position: sticky; top: 6rem; padding: .625rem; background: #fff; border: .0625rem solid var(--line-2); border-radius: var(--radius-md); box-shadow: var(--shadow-subtle); }
  .js .tour__nav button { display: flex; align-items: center; gap: .625rem; width: 100%; padding: .5625rem .75rem; border: 0; border-radius: var(--radius-sm); background: none; color: var(--ink-2); font-weight: 500; font-size: .9688rem; text-align: left; cursor: pointer; }
  .js .tour__nav button svg { width: 1.125rem; height: 1.125rem; flex: none; }
  .js .tour__nav button:hover { background: var(--page); color: var(--ink); }
  .js .tour__nav button[aria-selected="true"] { background: var(--blue-soft); color: var(--blue-hover); font-weight: 600; }
  .js .tour__nav hr { border: 0; border-top: .0625rem solid var(--line-2); margin: .5rem .25rem; }
  .js .tour__panel { display: none; margin-top: 0; }
  .js .tour__panel.is-active { display: block; }
}

/* ---------- Split rows (text + screenshot) ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
.split + .split { margin-top: clamp(3.5rem, 7vw, 6rem); }
.split__copy p { margin-top: 1rem; color: var(--ink-2); }
.section--dark .split__copy p { color: var(--navy-ink); }
.split__copy .btn-row, .split__copy .link-more { margin-top: 1.5rem; display: inline-flex; }
.split__copy > .btn { margin-top: 1.75rem; }
@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; }
  .split--flip .split__copy { order: 2; }
  .split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
}

/* Text-only rows: read as a specification list, separated by rules */
.split--text { align-items: start; padding-block: 2.5rem; border-top: .0625rem solid var(--line); }
.split + .split--text { margin-top: clamp(2.5rem, 5vw, 4rem); }
.split--text + .split--text { margin-top: 0; }
.split--text:last-child { padding-bottom: 0; }
.split--text h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.split--text .ticks { margin-top: .375rem; }

.ticks { list-style: none; margin-top: 1.25rem; display: grid; gap: .625rem; }
.ticks li { position: relative; padding-left: 1.75rem; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 1rem; height: .5rem; border-left: .1563rem solid var(--blue); border-bottom: .1563rem solid var(--blue); transform: rotate(-45deg) translateY(-25%); }
.section--dark .ticks li { color: var(--navy-ink); }
.section--dark .ticks li::before { border-color: var(--blue-300); }
.ticks b { color: var(--ink); font-weight: 600; }
.section--dark .ticks b { color: #fff; }

/* ---------- Fact grid (definition-like, not cards) ---------- */
.facts { display: grid; gap: 0; border-top: .0625rem solid var(--line); }
.facts > div { padding: 1.5rem 0; border-bottom: .0625rem solid var(--line); }
.facts h3 { font-size: 1.125rem; }
.facts p { margin-top: .5rem; color: var(--ink-2); font-size: 1rem; }
.section--dark .facts, .section--dark .facts > div { border-color: var(--navy-line); }
.section--dark .facts p { color: var(--navy-ink); }
@media (min-width: 48rem) {
  .facts { grid-template-columns: repeat(2, 1fr); column-gap: 3rem; }
  .facts--3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Feature index (links to product pages) ---------- */
.index { display: grid; gap: .0625rem; background: var(--line-2); border: .0625rem solid var(--line-2); border-radius: var(--radius-md); overflow: hidden; }
.index a { display: grid; grid-template-columns: 2.5rem 1fr; gap: .25rem 1rem; padding: 1.5rem; background: #fff; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.index a:hover { background: var(--blue-soft); }
.index svg { grid-row: span 2; width: 2.5rem; height: 2.5rem; padding: .5625rem; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue-hover); }
.index a:hover svg { background: #fff; }
.index b { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.index span { color: var(--ink-2); font-size: .9688rem; line-height: 1.45; }
@media (min-width: 40rem) { .index { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .index { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border: .0625rem solid var(--line); border-radius: var(--radius-md); background: #fff; }
.table th, .table td { padding: .8125rem 1rem; text-align: left; border-bottom: .0625rem solid var(--line-2); font-size: .9688rem; vertical-align: top; }
.table thead th { font-size: .875rem; font-weight: 600; color: var(--ink-3); background: var(--page); white-space: nowrap; }
.table tbody tr:last-child td, .table tbody tr:last-child th { border-bottom: 0; }
.table tbody th { font-weight: 600; }
.table td.num, .table th.num { text-align: right; white-space: nowrap; }
.table tr.is-popular td, .table tr.is-popular th { background: var(--blue-soft); }
.table tr.is-selected td, .table tr.is-selected th { box-shadow: inset 0 0 0 999px rgba(25, 104, 206, .07); }
.badge { display: inline-block; margin-left: .5rem; padding: .0625rem .5rem; border-radius: 999px; background: var(--blue); color: #fff; font-size: .75rem; font-weight: 600; white-space: nowrap; vertical-align: middle; }
.badge--soft { background: var(--blue-soft); color: var(--blue-hover); }
.badge--ok { background: var(--ok-soft); color: var(--ok); }
.badge--warn { background: var(--warn-soft); color: var(--warn); }
.vat-inline { display: none; }
.yes { color: var(--ok); font-weight: 600; }
.no { color: var(--ink-3); }

/* ---------- Pricing ---------- */
.seg { display: inline-flex; padding: .25rem; background: var(--page); border: .0625rem solid var(--line-2); border-radius: var(--radius-md); gap: .125rem; flex-wrap: wrap; }
.seg button, .seg a { padding: .5rem 1rem; border: 0; border-radius: var(--radius-sm); background: none; font-weight: 600; font-size: .9688rem; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-subtle); }
.seg small { font-weight: 500; color: var(--ok); margin-left: .25rem; }
.pricer { display: none; }
.js .pricer { display: grid; gap: 1.5rem; padding: clamp(1.25rem, 3vw, 2.25rem); background: #fff; border: .0625rem solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-menu); }
.pricer__controls { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; }
.pricer__main { display: grid; gap: 1.75rem; }
.pricer__label { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-weight: 600; }
.pricer__label output { font-size: 1.5rem; letter-spacing: -.02em; }
.pricer input[type="range"] { width: 100%; margin: .875rem 0 .375rem; accent-color: var(--blue); height: 1.5rem; }
.pricer__scale { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--ink-3); }
.pricer__includes { margin-top: 1.25rem; }
.pricer__price { padding: 1.5rem; border-radius: var(--radius-md); background: var(--navy); color: #fff; }
.pricer__price .amount { display: flex; align-items: baseline; gap: .5rem; flex-wrap: wrap; }
.pricer__price .amount b { font-size: clamp(2.5rem, 6vw, 3.5rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; }
.pricer__price .amount span { color: var(--navy-ink); }
.pricer__price dl { margin: 1rem 0 1.25rem; display: grid; gap: .375rem; font-size: .9375rem; color: var(--navy-ink); }
.pricer__price dl div { display: flex; justify-content: space-between; gap: 1rem; }
.pricer__price dd { margin: 0; color: #fff; font-weight: 500; }
.pricer__price .note { margin-top: .875rem; font-size: .875rem; color: var(--navy-ink); }
@media (min-width: 56rem) { .pricer__main { grid-template-columns: minmax(0, 1fr) 22rem; align-items: start; gap: 2.5rem; } }
.js .price-model { display: none; }
.js .price-model.is-active { display: block; }
.js .price-period-yearly .col-monthly, .js .price-period-monthly .col-yearly { display: none; }
.price-model + .price-model { margin-top: 3rem; }
.price-model h3 { margin-bottom: .5rem; }
.price-model > p { margin-bottom: 1.25rem; color: var(--ink-2); max-width: 44rem; }

.note-box { padding: 1.125rem 1.25rem; border-radius: var(--radius-md); background: var(--blue-soft); color: var(--ink); font-size: .9688rem; }
.note-box--warn { background: var(--warn-soft); }
.note-box b { font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { border-top: .0625rem solid var(--line); }
.faq details { border-bottom: .0625rem solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 1.5rem; align-items: baseline; padding: 1.125rem 0; font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__a { padding: 0 2.5rem 1.375rem 0; color: var(--ink-2); max-width: 46rem; }
.faq .faq__a > * + * { margin-top: .75rem; }
.faq .faq__a ul, .faq .faq__a ol { padding-left: 1.25rem; }
.section--dark .faq, .section--dark .faq details { border-color: var(--navy-line); }
.section--dark .faq .faq__a { color: var(--navy-ink); }

/* ---------- Quote ---------- */
.quotes { display: grid; gap: 2rem; }
.quote { margin: 0; padding-left: 1.5rem; border-left: .1875rem solid var(--blue); }
.quote blockquote { margin: 0; font-size: 1.125rem; line-height: 1.5; color: var(--ink); }
.quote figcaption { margin-top: .875rem; font-size: .9375rem; color: var(--ink-3); }
.quote figcaption b { color: var(--ink); font-weight: 600; }
@media (min-width: 56rem) { .quotes { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }

/* ---------- Closing call ---------- */
.closing { background: var(--navy); color: #fff; }
.closing__in { display: grid; gap: 2rem; padding-block: clamp(3rem, 7vw, 5rem); align-items: center; }
.closing h2 { color: #fff; max-width: 34rem; }
.closing p { margin-top: 1rem; color: var(--navy-ink); max-width: 34rem; }
.closing .btn-row { margin-top: 0; }
.closing__side p { margin-top: .875rem; font-size: .9375rem; }
@media (min-width: 56rem) { .closing__in { grid-template-columns: 1fr auto; gap: 4rem; } }

/* ---------- Gateway (new vs. legacy app) ---------- */
.gateway { display: grid; gap: 1.25rem; }
.gate { display: flex; flex-direction: column; padding: clamp(1.5rem, 3vw, 2.25rem); border: .0625rem solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.gate--new { border-color: var(--blue); box-shadow: 0 0 0 .1875rem var(--blue-soft); }
.gate h2 { font-size: 1.625rem; }
.gate__host { margin-top: .375rem; font-size: .9375rem; color: var(--ink-3); }
.gate > p { margin-top: 1rem; color: var(--ink-2); }
.gate .ticks { margin-bottom: 1.75rem; }
.gate .btn { margin-top: auto; }
.gate__alt { margin-top: .875rem; font-size: .9375rem; text-align: center; color: var(--ink-3); }
@media (min-width: 56rem) { .gateway--2 { grid-template-columns: 1fr 1fr; align-items: start; } }
.gateway-note { margin-top: 2rem; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 1.125rem; }
.form label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: .375rem; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form textarea, .form select {
  width: 100%; min-height: 2.875rem; padding: .625rem .875rem; border: .0625rem solid var(--line); border-radius: var(--radius-sm); background: #fff;
}
.form textarea { min-height: 9rem; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: .1875rem solid var(--blue-soft); border-color: var(--blue); }
.form__row { display: grid; gap: 1.125rem; }
@media (min-width: 40rem) { .form__row { grid-template-columns: 1fr 1fr; } }
.form__check { display: flex; gap: .625rem; align-items: flex-start; font-size: .9375rem; color: var(--ink-2); }
.form__check input { margin-top: .3rem; }
.form__hp { position: absolute; left: -9999px; }
.alert { padding: .875rem 1rem; border-radius: var(--radius-sm); font-size: .9688rem; }
.alert--ok { background: var(--ok-soft); color: var(--ok); }
.alert--bad { background: #FDEEEC; color: #B42318; }

.contact-grid { display: grid; gap: 2.5rem; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; } }
.contact-list { list-style: none; display: grid; gap: 1.25rem; }
.contact-list b { display: block; font-size: .875rem; color: var(--ink-3); font-weight: 500; }
.contact-list a, .contact-list span { font-size: 1.125rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--blue); }
.map { height: 20rem; border-radius: var(--radius-md); border: .0625rem solid var(--line); overflow: hidden; margin-top: 2rem; }

/* ---------- Blog ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; }
.chips a { display: inline-block; padding: .375rem .875rem; border: .0625rem solid var(--line); border-radius: 999px; font-size: .9375rem; font-weight: 500; color: var(--ink-2); text-decoration: none; background: #fff; }
.chips a:hover { border-color: var(--blue); color: var(--blue); }
.chips a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.posts { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 40rem) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .posts { grid-template-columns: repeat(3, 1fr); } }
.post { display: flex; flex-direction: column; }
.post__img { display: block; border-radius: var(--radius-md); overflow: hidden; background: var(--page); border: .0625rem solid var(--line-2); }
.post__img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .3s; }
.post:hover .post__img img { transform: scale(1.03); }
.post__meta { margin-top: 1rem; font-size: .875rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: .25rem .75rem; }
.post__meta a { color: var(--blue); text-decoration: none; font-weight: 500; }
.post h2, .post h3 { margin-top: .5rem; font-size: 1.25rem; line-height: 1.3; letter-spacing: -.015em; }
.post h2 a, .post h3 a { color: var(--ink); text-decoration: none; }
.post h2 a:hover, .post h3 a:hover { color: var(--blue); }
.post p { margin-top: .5rem; color: var(--ink-2); font-size: .9688rem; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: .375rem; margin-top: 3rem; list-style: none; }
.pager a, .pager span { display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding: 0 .75rem; border: .0625rem solid var(--line); border-radius: var(--radius-sm); text-decoration: none; color: var(--ink); font-weight: 500; }
.pager a:hover { border-color: var(--blue); color: var(--blue); }
.pager [aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }

.article { display: grid; gap: 3rem; }
@media (min-width: 64rem) { .article { grid-template-columns: minmax(0, 1fr) 18rem; gap: 4rem; align-items: start; } }
.article__head h1 { font-size: clamp(2rem, 4.2vw, 3rem); letter-spacing: -.035em; }
.article__meta { margin-top: 1rem; display: flex; flex-wrap: wrap; gap: .25rem 1rem; font-size: .9375rem; color: var(--ink-3); }
.article__cover { margin-top: 2rem; border-radius: var(--radius-md); overflow: hidden; border: .0625rem solid var(--line-2); }
.article__cover img { width: 100%; }
.article__aside { display: grid; gap: 1.5rem; }
@media (min-width: 64rem) { .article__aside { position: sticky; top: 6rem; } }
.aside-box { padding: 1.25rem; border: .0625rem solid var(--line); border-radius: var(--radius-md); background: #fff; }
.aside-box--dark { background: var(--navy); border-color: var(--navy); color: #fff; }
.aside-box--dark p { color: var(--navy-ink); margin: .5rem 0 1rem; font-size: .9375rem; }
.aside-box h2, .aside-box h3 { font-size: 1.0625rem; letter-spacing: -.01em; }
.aside-box ul { list-style: none; margin-top: .75rem; display: grid; gap: .5rem; font-size: .9375rem; }
.aside-box ul a { color: var(--ink-2); text-decoration: none; }
.aside-box ul a:hover { color: var(--blue); }
.legacy-note { display: flex; gap: .75rem; align-items: flex-start; margin-top: 1.5rem; padding: 1rem 1.125rem; border-radius: var(--radius-md); background: var(--warn-soft); color: var(--ink); font-size: .9688rem; }
.legacy-note svg { flex: none; width: 1.25rem; height: 1.25rem; margin-top: .15rem; color: var(--warn); }

/* Article body (Markdown output) */
.prose, .prose-custom { font-size: 1.0938rem; line-height: 1.7; color: var(--ink); max-width: 44rem; }
.prose > * + *, .prose-custom > * + * { margin-top: 1.25rem; }
.prose h2, .prose-custom h2 { margin-top: 2.75rem; font-size: 1.75rem; }
.prose h3, .prose-custom h3 { margin-top: 2rem; font-size: 1.3125rem; }
.prose h4, .prose-custom h4 { margin-top: 1.5rem; }
.prose ul, .prose ol, .prose-custom ul, .prose-custom ol { padding-left: 1.375rem; }
.prose li + li, .prose-custom li + li { margin-top: .375rem; }
.prose img, .prose-custom img { border-radius: var(--radius-md); border: .0625rem solid var(--line-2); cursor: zoom-in; }
.prose blockquote, .prose-custom blockquote { margin: 1.5rem 0; padding: .25rem 0 .25rem 1.25rem; border-left: .1875rem solid var(--blue); color: var(--ink-2); }
.prose code, .prose-custom code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .9em; background: var(--page); padding: .125rem .375rem; border-radius: var(--radius-xs); }
.prose pre, .prose-custom pre { padding: 1rem 1.25rem; background: var(--navy); color: #E6EDF7; border-radius: var(--radius-md); overflow-x: auto; }
.prose pre code, .prose-custom pre code { background: none; padding: 0; color: inherit; }
.prose table, .prose-custom table { display: block; overflow-x: auto; border: .0625rem solid var(--line); border-radius: var(--radius-sm); }
.prose th, .prose td, .prose-custom th, .prose-custom td { padding: .625rem .875rem; border-bottom: .0625rem solid var(--line-2); text-align: left; font-size: .9688rem; }
.prose th, .prose-custom th { background: var(--page); font-weight: 600; }
.prose hr, .prose-custom hr { border: 0; border-top: .0625rem solid var(--line); margin: 2.5rem 0; }
.prose .cta-box, .prose-custom .cta-box { padding: 1.5rem; border-radius: var(--radius-md); background: var(--navy); color: #fff; }
.prose .cta-box p, .prose-custom .cta-box p { margin: 0; }
.prose .cta-box a, .prose-custom .cta-box a { display: inline-block; margin-top: 1rem; padding: .625rem 1.125rem; border-radius: var(--radius-sm); background: #fff; color: var(--navy); font-weight: 600; text-decoration: none; }
.prose .cta-box a:hover, .prose-custom .cta-box a:hover { background: var(--blue-soft); }
.legal { max-width: 48rem; }

.lightbox-overlay { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; padding: 1.5rem; background: rgba(15, 33, 57, .92); cursor: zoom-out; }
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img { max-width: 100%; max-height: 100%; border-radius: var(--radius-sm); }
.lightbox-close { position: absolute; top: 1rem; right: 1rem; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.5rem; cursor: pointer; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--navy-ink); font-size: .9688rem; }
.site-footer__in { display: grid; gap: 2.5rem; padding-block: clamp(3rem, 6vw, 4.5rem) 2.5rem; }
.site-footer__h { font-size: .9375rem; font-weight: 600; color: #fff; margin-bottom: .875rem; }
.site-footer ul { list-style: none; display: grid; gap: .5rem; }
.site-footer a { color: var(--navy-ink); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__about p { margin-top: 1rem; max-width: 22rem; }
.site-footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.site-footer__bar { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-block: 1.5rem; border-top: .0625rem solid var(--navy-line); font-size: .875rem; }
.site-footer__bar img { height: 1.75rem; width: auto; }
.site-footer__legacy { display: inline-flex; align-items: center; gap: .5rem; }
@media (min-width: 48rem) { .site-footer__cols { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 72rem) { .site-footer__in { grid-template-columns: 19rem 1fr; gap: 4rem; } }

/* ---------- Cookie bar, mobile CTA ---------- */
.cookiebar { position: fixed; left: 1rem; bottom: 1rem; z-index: 80; width: calc(100% - 2rem); max-width: 23rem; padding: 1rem 1.125rem; display: none; gap: .875rem; flex-direction: column; align-items: stretch; background: #fff; border: .0625rem solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow-menu); font-size: .9375rem; color: var(--ink-2); }
.cookiebar.is-open { display: flex; }
.cookiebar .btn-row .btn { flex: 1; }

/* ---------- 404 ---------- */
.notfound { text-align: left; }
.notfound .lead { margin-top: 1rem; }
.notfound ul { margin-top: 2rem; list-style: none; display: grid; gap: .5rem; }

/* ---------- Reveal (single-use, respects reduced motion) ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Small screens ---------- */
.btn { white-space: nowrap; }
@media (max-width: 40rem) {
  /* One line of announcement is enough on a phone */
  .announce__in > span:not(.announce__tag) { display: none; }
  .announce__in { padding-block: .4375rem; }
  .site-header__in { gap: .75rem; min-height: 3.75rem; }
  .brand__name { font-size: 1.125rem; }
  .brand__mark { transform: scale(.88); transform-origin: left center; margin-right: -.25rem; }
  .header-actions .btn-primary { padding-inline: .75rem; min-height: 2.5rem; }
  .menu-toggle { width: 2.5rem; height: 2.5rem; }
  .btn-row .btn-lg { flex: 1 1 100%; }

  /* A desktop screenshot scaled to a phone is unreadable. Show a readable part of it instead:
     the main area without the app's side menu. The whole screenshot opens on tap. */
  .shot:not(.shot--phone) { aspect-ratio: 4 / 3; position: relative; }
  .shot:not(.shot--phone) img { width: 178%; max-width: none; height: auto; aspect-ratio: auto; object-fit: initial; transform: translateX(-16.8%); }
  .shot:not(.shot--phone) .shot-link::after { content: "Zobrazit celý snímek"; position: absolute; right: .5rem; bottom: .5rem; padding: .25rem .625rem; border-radius: 999px; background: rgba(15, 33, 57, .86); color: #fff; font-size: .75rem; font-weight: 600; }
  .shot figcaption { position: relative; }

  .lightbox-overlay { align-items: flex-start; justify-content: flex-start; overflow: auto; padding: 3.75rem 0 1rem; }
  .lightbox-overlay img { max-width: none; max-height: none; width: 240vw; border-radius: 0; }
  .lightbox-close { position: fixed; }

  .table th, .table td { padding: .6875rem .75rem; font-size: .9063rem; }
  .table .col-vat { display: none; }
  .vat-inline { display: block; font-size: .75rem; font-weight: 400; color: var(--ink-3); }
  .seg button, .seg a { padding: .5rem .6875rem; font-size: .875rem; }
  .pricer__controls { gap: .625rem; }
  .pricer__price .amount span { flex-basis: 100%; }
  .site-footer__bar { flex-direction: column; align-items: flex-start; }
}

/* ---------- Refinements after the independent review ---------- */
/* FAQ: the question is one flex item, so injected wrappers cannot split it */
.faq summary > span { flex: 1; min-width: 0; }

/* Closing band: ghost button on navy, and a light variant of the band */
.closing .btn-ghost { border-color: var(--navy-line); color: #fff; }
.closing .btn-ghost:hover { border-color: #fff; color: #fff; }
.closing--light { background: var(--page); color: var(--ink); }
.closing--light h2 { color: var(--ink); }
.closing--light p { color: var(--ink-2); }
.closing--light .btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.closing--light .btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }

/* Article column may contain wide tables: let it shrink and scroll the table instead of the page */
.article > * { min-width: 0; }
.prose, .prose-custom { overflow-wrap: break-word; }

/* Plain list for limitations: must not read as a list of features */
.dashes { list-style: none; display: grid; gap: .75rem; }
.dashes li { position: relative; padding-left: 1.5rem; color: var(--ink-2); }
.dashes li::before { content: "–"; position: absolute; left: 0; color: var(--ink-3); }

.mega a, .index a { align-content: start; }
.gate__alt a, .gateway-note a, .link-more, .crumbs a { display: inline-block; padding-block: .375rem; }
.announce__short, .lbl-short { display: none; }
.hero--compact .hero__in { padding-block: clamp(1.75rem, 4vw, 2.75rem); }
.hero--compact + .section { padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.pricer__main > div:first-child { display: flex; flex-direction: column; }
.pricer__main .note-box { margin-top: auto; }
.pricer__includes { margin-bottom: 1.5rem; }

/* Feature index with a thumbnail of the screen */
.index__thumb { grid-column: 1 / -1; overflow: hidden; aspect-ratio: 16 / 9; margin-bottom: .875rem; border: .0625rem solid var(--line-2); border-radius: var(--radius-sm); background: var(--page); }
.index__thumb img { width: 165%; max-width: none; transform: translateX(-17%); }

/* Gateway: what the new application looks like */
.gate__shot { margin: 1.25rem 0 0; overflow: hidden; aspect-ratio: 16 / 8; border: .0625rem solid var(--line-2); border-radius: var(--radius-sm); }
.gate__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.gate__mark { display: block; margin: 1.25rem 0 1.5rem; padding: .875rem 1rem; border-radius: var(--radius-sm); background: var(--page); font-size: .9375rem; color: var(--ink-2); }
.gate__mark code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 600; color: var(--ink); }

/* FAQ page: topics beside the questions */
.faq-layout { display: grid; gap: 2.5rem; }
@media (min-width: 64rem) {
  .faq-layout { grid-template-columns: 15rem minmax(0, 46rem); gap: 4.5rem; align-items: start; }
  .faq-layout__nav { position: sticky; top: 6rem; }
  .faq-layout__nav .chips { flex-direction: column; align-items: flex-start; }
}

/* Mobile menu must scroll inside the viewport; actions come first */
.mobile-nav.is-open { max-height: calc(100vh - 6.5rem); max-height: calc(100dvh - 6.5rem); overflow-y: auto; overscroll-behavior: contain; }
.mobile-nav .btn-row { margin: 0 0 .5rem; }

@media (max-width: 63.99rem) {
  /* Tour becomes a row of chips; only the chosen panel is shown, the page stays short */
  .js .tour { gap: 1.25rem; }
  .js .tour__nav { display: flex; gap: .5rem; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding: .125rem var(--gutter) .5rem; scrollbar-width: none; }
  .js .tour__nav::-webkit-scrollbar { display: none; }
  .js .tour__nav hr { display: none; }
  .js .tour__nav button { flex: none; display: inline-flex; align-items: center; gap: .375rem; min-height: 2.75rem; padding: .5rem .875rem; border: .0625rem solid var(--line); border-radius: 999px; background: #fff; color: var(--ink-2); font-weight: 500; font-size: .9375rem; white-space: nowrap; cursor: pointer; }
  .js .tour__nav button svg { width: 1rem; height: 1rem; flex: none; }
  .js .tour__nav button[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
  .js .tour__panel { display: none; margin-top: 0; }
  .js .tour__panel.is-active { display: block; }
}

@media (max-width: 40rem) {
  .announce__long, .lbl-long { display: none; }
  .announce__short, .lbl-short { display: inline; }
  .table .col-2nd { display: none; }
  .table td.num, .table th.num { white-space: nowrap; }
  .cookiebar { left: .5rem; bottom: .5rem; width: calc(100% - 1rem); max-width: none; padding: .75rem .875rem; font-size: .875rem; gap: .625rem; }
  .table thead th { white-space: normal; }
  .gateway .gate { padding: 1.25rem; }
}
@media (max-width: 25.5rem) {
  .hide-xs { display: none; }
  .site-header__in { gap: .5rem; }
  .brand { gap: .375rem; }
  .brand__name { font-size: 1.0625rem; }
}

/* Calculator on narrow screens: the price follows the slider, the rest comes after */
@media (max-width: 55.99rem) {
  .pricer__main > div:first-child { display: contents; }
  .pricer__pick { order: 1; }
  .pricer__price { order: 2; }
  .pricer__includes { order: 3; margin: 0; }
  .pricer__main .note-box { order: 4; margin-top: 0; }
}
.site-footer__bar img { max-width: 100%; height: auto; }
.site-footer__in > *, .site-footer__cols > div { min-width: 0; }
.site-footer__cols a { overflow-wrap: anywhere; }
.proof__logos img { height: 1.5rem; max-width: 7rem; }

/* =====================================================================
   v2 — focused UI crops instead of whole-application screenshots,
   clearer rhythm between sections, compact footer, stronger pricing.
   ===================================================================== */

/* ---------- Stage: one readable part of the interface on a soft panel ---------- */
.stage { position: relative; margin: 0; padding: clamp(.875rem, 2.4vw, 1.75rem); border-radius: 1.25rem; background: linear-gradient(150deg, #D6E5FA 0%, #E9EFF7 55%, #F3F5F6 100%); }
.stage__link { display: block; border-radius: .75rem; cursor: zoom-in; }
.stage img { display: block; width: 100%; height: auto; border-radius: .75rem; background: #fff; box-shadow: 0 0 0 .0625rem rgba(15, 33, 57, .07), 0 1.25rem 2.75rem -1.375rem rgba(15, 33, 57, .45); }
.stage--dark { background: linear-gradient(150deg, #20426F 0%, #152C4D 70%); }
.stage--dark img { box-shadow: 0 1.5rem 3.75rem -1.5rem rgba(0, 0, 0, .65); }
.stage--bare { padding: 0; background: none; }
.stage__float { position: absolute; left: -1.5rem; bottom: -1.75rem; width: 44%; margin: 0; }
.stage__float img { box-shadow: 0 0 0 .0625rem rgba(15, 33, 57, .1), 0 1.5rem 3rem -1rem rgba(0, 0, 0, .55); }
@media (max-width: 63.99rem) { .stage__float { display: none; } }
@media (max-width: 40rem) {
  /* A wide crop scaled to a phone is too small: show its left part at a readable size, whole crop on tap */
  .stage { padding: .625rem; border-radius: 1rem; overflow: hidden; }
  .stage--wide .stage__link { overflow: hidden; }
  .stage--wide img { width: 165%; max-width: none; }
  .stage--wide .stage__link::after { content: "Zobrazit celé"; position: absolute; right: 1rem; bottom: 1rem; padding: .25rem .625rem; border-radius: 999px; background: rgba(15, 33, 57, .88); color: #fff; font-size: .75rem; font-weight: 600; }
}

/* ---------- Heroes ---------- */
.hero__in { align-items: center; }
.hero .crumbs { padding: 0; margin-bottom: 1.25rem; font-size: .875rem; }
.crumbs ol { align-items: center; }
.crumbs li { display: inline-flex; align-items: center; }
.crumbs a, .crumbs [aria-current] { display: inline-block; padding-block: .375rem; line-height: 1.2; }
@media (min-width: 64rem) {
  .hero--home .hero__in, .hero--split .hero__in { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; padding-block: clamp(3.5rem, 6vw, 5.5rem); }
  .hero--home .hero__copy, .hero--split .hero__copy { padding-bottom: 0; }
  .hero--home .hero__stage, .hero--split .hero__stage { margin-right: 0; }
  .hero--home .hero__in { grid-template-columns: minmax(0, 9fr) minmax(0, 11fr); padding-block: clamp(4rem, 7vw, 6.5rem); }
}
.hero__stage { margin-bottom: 0; }
.hero--split .hero__in, .hero--home .hero__in { padding-bottom: clamp(3rem, 7vw, 5.5rem); }

/* Small labelled facts under a headline */
.pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; list-style: none; }
.pill { display: inline-flex; align-items: center; gap: .375rem; padding: .3125rem .75rem; border-radius: 999px; font-size: .875rem; font-weight: 600; line-height: 1.3; background: rgba(255, 255, 255, .1); color: #fff; }
.pill--ok { background: #1F9D69; color: #fff; }
.pill--soft { background: var(--blue-soft); color: var(--blue-hover); }
.pill--save { background: var(--ok-soft); color: var(--ok); }

/* ---------- Cards for text-only details ---------- */
.cards { display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 72rem) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card { padding: clamp(1.25rem, 2.4vw, 1.875rem); background: #fff; border: .0625rem solid var(--line-2); border-radius: var(--radius-lg); box-shadow: var(--shadow-subtle); }
.card h3 { font-size: 1.25rem; }
.card > p { margin-top: .625rem; color: var(--ink-2); font-size: 1rem; }
.card .ticks { margin-top: 1rem; font-size: .9688rem; gap: .5rem; }
.card__icon { display: inline-flex; width: 2.5rem; height: 2.5rem; margin-bottom: 1rem; padding: .5625rem; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue-hover); }
.card__icon svg { width: 100%; height: 100%; }

/* ---------- Specification on navy ---------- */
.specs { display: grid; column-gap: 3.5rem; border-bottom: .0625rem solid var(--navy-line); }
@media (min-width: 56rem) { .specs { grid-template-columns: 1fr 1fr; } }
.specs > div { display: grid; grid-template-columns: 1.375rem 1fr; gap: .1875rem .875rem; align-content: start; padding: 1.125rem 0; border-top: .0625rem solid var(--navy-line); }
.specs svg { grid-row: span 2; width: 1.25rem; height: 1.25rem; margin-top: .1875rem; color: var(--blue-300); }
.specs b { color: #fff; font-weight: 600; }
.specs span { color: var(--navy-ink); font-size: .9688rem; line-height: 1.5; }
.limits { margin-top: 2.5rem; padding: 1.375rem 1.5rem; border: .0625rem solid var(--navy-line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .045); }
.limits h3 { font-size: 1.0625rem; color: #fff; margin-bottom: .875rem; }
.limits .dashes li { color: var(--navy-ink); }
.limits .dashes li::before { color: var(--blue-300); }

/* ---------- Heading beside content (FAQ on product pages) ---------- */
.aside-split { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .aside-split { grid-template-columns: 19rem minmax(0, 1fr); gap: 5rem; align-items: start; } .aside-split > :first-child { position: sticky; top: 6rem; } }
.aside-split > :first-child p { margin-top: 1rem; color: var(--ink-2); }

/* ---------- Closing call: a blue card, clearly apart from the footer ---------- */
.closing { background: none; color: #fff; padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.closing__in { padding: clamp(1.75rem, 5vw, 3.5rem); border-radius: 1.5rem; background: linear-gradient(135deg, #1D6FD8 0%, #1553A6 100%); }
.closing p { color: rgba(255, 255, 255, .88); }
.closing .btn-ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.closing .btn-ghost:hover { border-color: #fff; color: #fff; }
.closing--light { background: none; color: var(--ink); }
.closing--light .closing__in { background: var(--page); border: .0625rem solid var(--line-2); }
.closing--light h2 { color: var(--ink); }
.closing--light p { color: var(--ink-2); }
.closing--light .btn-ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.closing--light .btn-ghost:hover { border-color: var(--ink-3); color: var(--ink); }
.section--tint + .closing { background: linear-gradient(var(--page) 50%, #fff 50%); }

/* ---------- Footer: compact ---------- */
.site-footer { font-size: .9375rem; }
.site-footer__in { padding-block: 2.75rem 1.75rem; gap: 2rem; }
.site-footer ul { gap: .3125rem; }
.site-footer__h { margin-bottom: .625rem; }
.site-footer__about p { margin-top: .75rem; font-size: .9375rem; }
@media (min-width: 48rem) {
  .site-footer__cols { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
  .site-footer__cols > div:first-child ul { display: block; columns: 2; column-gap: 2rem; }
  .site-footer__cols > div:first-child li { margin-bottom: .3125rem; break-inside: avoid; }
}
.site-footer__bar { padding-block: 1.125rem; gap: .75rem 2rem; font-size: .8125rem; }
.site-footer__bar img, .site-footer__bar img[width] { height: 1.375rem; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }

/* ---------- Pricing: header that sells the yearly plan ---------- */
.hero--pricing .hero__in { padding-block: clamp(2.5rem, 5vw, 4rem); }
.js .hero--pricing .hero__in { padding-bottom: clamp(6rem, 10vw, 8rem); }
.js .hero--pricing + .section { padding-top: 0; }
.js .hero--pricing + .section .pricer { margin-top: clamp(-6rem, -8vw, -4rem); position: relative; }
@media (min-width: 64rem) { .hero--pricing .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 29rem); gap: 4rem; align-items: center; } }
.price-cards { display: grid; gap: .75rem; }
.price-card { display: grid; grid-template-columns: 1fr auto; gap: .125rem 1rem; align-items: baseline; padding: 1rem 1.25rem; border: .0625rem solid var(--navy-line); border-radius: var(--radius-md); background: rgba(255, 255, 255, .05); color: #fff; text-decoration: none; }
.price-card b { font-size: 1.0625rem; font-weight: 600; }
.price-card strong { font-size: 1.375rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.price-card span { grid-column: 1 / -1; color: var(--navy-ink); font-size: .9063rem; }
.seg small.pill { margin-left: .375rem; padding: .0625rem .5rem; font-size: .75rem; }
.pricer__price .was { color: var(--navy-ink); font-size: 1.125rem; text-decoration: line-through; }
.pricer__save { display: inline-flex; margin-bottom: .875rem; padding: .25rem .75rem; border-radius: 999px; background: #1F9D69; color: #fff; font-size: .875rem; font-weight: 600; }
.pricer__switch { display: block; margin-top: .875rem; padding: .25rem 0; border: 0; background: none; color: var(--blue-300); font: inherit; font-size: .875rem; font-weight: 600; text-align: left; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.table .save { color: var(--ok); font-weight: 600; }
.price-model h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin-bottom: .625rem; }

/* ---------- Gateway with real login screens ---------- */
.gate__screen { margin: 0 0 1.5rem; overflow: hidden; aspect-ratio: 16 / 9; border: .0625rem solid var(--line); border-radius: var(--radius-md); background: var(--page); }
.gate__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.gate__badge { align-self: flex-start; margin-bottom: .875rem; }
.gate h2 { font-size: 1.5rem; }
.gate .gate__host { display: inline-flex; align-self: flex-start; margin-top: .5rem; padding: .1875rem .625rem; border-radius: var(--radius-xs); background: var(--page); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .875rem; color: var(--ink); }
.gate > p { margin-bottom: 1.5rem; }
@media (min-width: 56rem) { .gateway--2 { align-items: stretch; } }

/* ---------- Section rhythm ---------- */
.section--line { border-top: .0625rem solid var(--line-2); }
.tour__panel .stage { margin-top: 1.5rem; }
.split .stage { align-self: center; }

/* Feature index thumbnails are crops now: show their top-left part */
.index__thumb img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: top left; transform: none; }

/* Price cards on the homepage */
@media (min-width: 72rem) { .cards--4 { grid-template-columns: repeat(4, 1fr); } }
.card--price { display: flex; flex-direction: column; }
.card--price .pill { align-self: flex-start; margin-bottom: .75rem; font-size: .75rem; }
.card--price h3 { font-size: 1.0625rem; color: var(--ink-2); font-weight: 600; }
.card__price { margin-top: .375rem; font-size: 2rem; font-weight: 700; letter-spacing: -.03em; line-height: 1.15; color: var(--ink); }
.card__price small { font-size: .9375rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.card--best { border-color: var(--blue); box-shadow: 0 0 0 .1875rem var(--blue-soft); }
.price-foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-top: 1.75rem; }
.pills--light { margin-top: 0; }

/* Reviews as cards on a tinted section */
.section--tint .quote { padding: 1.5rem; border-left: 0; border-radius: var(--radius-lg); background: #fff; border: .0625rem solid var(--line-2); }
.section--tint .quote blockquote { font-size: 1.0625rem; }

/* Steps: numbered badges */
.steps li { border-top: 0; padding-top: 0; }
.steps li::before { display: inline-flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin-bottom: 1rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue-hover); font-size: 1rem; }
.section--dark .steps li::before { background: rgba(255, 255, 255, .12); color: #fff; }

.cards--4 .card h3 { font-size: 1.0938rem; }
.cards--4 .card > p { font-size: .9375rem; }
.cards--4 .card { padding: 1.375rem; }
.seg small.pill, .seg button small.pill { color: #fff; font-weight: 600; }
@media (min-width: 72rem) {
  .site-footer__in { grid-template-columns: 15rem 1fr; gap: 3.5rem; }
  .site-footer__cols { grid-template-columns: 2.3fr .9fr .9fr 1.4fr; gap: 2rem; }
  .site-footer__cols > div:first-child ul { column-gap: 1.5rem; }
  .site-footer__cols a { overflow-wrap: normal; white-space: nowrap; }
}
@media (min-width: 48rem) { .cards--1 { grid-template-columns: minmax(0, 46rem); } }

/* =====================================================================
   v3 — lighter heroes: a headline of at most two lines, one sentence,
   three points, the action, and a readable crop beside it. Simpler menu.
   ===================================================================== */
.hero h1 { font-size: clamp(2rem, 3.5vw, 2.875rem); line-height: 1.08; letter-spacing: -.035em; }
.hero--home h1 { font-size: clamp(2.375rem, 4.7vw, 3.75rem); line-height: 1.03; letter-spacing: -.04em; }
.hero--page h1, .hero--split h1 { font-size: clamp(2rem, 3.5vw, 2.875rem); }
.hero .lead { margin-top: 1rem; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); line-height: 1.5; max-width: 33rem; color: #C3CFDF; }
.hero__points { display: grid; gap: .5rem; margin-top: 1.375rem; list-style: none; font-size: 1rem; color: #E4EBF5; }
.hero__points li { display: flex; align-items: flex-start; gap: .625rem; }
.hero__points svg { flex: none; width: 1.125rem; height: 1.125rem; margin-top: .25rem; color: #5FD3A2; }
.hero .btn-row { margin-top: 1.75rem; }
.hero__micro { margin-top: .875rem; font-size: .875rem; color: var(--navy-ink); }
.hero--page .hero__in { padding-block: clamp(2.75rem, 5.5vw, 4.25rem); }
.hero--page .hero__copy { max-width: 42rem; }
@media (min-width: 64rem) {
  .hero--home .hero__in, .hero--split .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 4.5vw, 4.5rem); padding-block: clamp(3.25rem, 5.5vw, 5rem); }
  .hero--split .hero__copy, .hero--home .hero__copy { max-width: 34rem; }
}
.hero .crumbs { margin-bottom: 1rem; }

/* Definition block right under a product hero: the longer answer for search and AI readers */
.intro { display: grid; gap: 1rem 4rem; }
.intro h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.intro p { font-size: clamp(1.0625rem, 1.5vw, 1.25rem); line-height: 1.55; color: var(--ink-2); }
@media (min-width: 64rem) { .intro { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } }
.section--intro { padding-block: clamp(2.5rem, 5vw, 4rem); border-bottom: .0625rem solid var(--line-2); }

/* ---------- Menu: four items, two of them open a panel ---------- */
.nav { gap: .25rem; }
.nav__link { padding: .5625rem .875rem; font-size: 1rem; font-weight: 500; color: var(--ink); }
.nav__link svg { width: .9375rem; height: .9375rem; color: var(--ink-3); transition: transform .15s; }
.nav__item:hover > .nav__link svg, .nav__item:focus-within > .nav__link svg { transform: rotate(180deg); }
.nav__link:hover, .nav__item:focus-within > .nav__link, .nav__item:hover > .nav__link { background: var(--page); color: var(--ink); }
.nav__link[aria-current="page"] { background: none; color: var(--blue-hover); box-shadow: inset 0 -.125rem 0 var(--blue); border-radius: 0; }
.menu { position: absolute; left: -.5rem; top: calc(100% + .5rem); min-width: 17rem; padding: .5rem; background: #fff; border: .0625rem solid var(--line-2); border-radius: var(--radius-md); box-shadow: var(--shadow-menu); display: none; }
.menu::before { content: ""; position: absolute; left: 0; right: 0; top: -.625rem; height: .625rem; }
.nav__item:hover > .menu, .nav__item:focus-within > .menu { display: block; }
.menu a { display: block; padding: .5625rem .75rem; border-radius: var(--radius-sm); color: var(--ink); text-decoration: none; }
.menu a:hover { background: var(--blue-soft); }
.menu b { display: block; font-weight: 600; font-size: .9688rem; }
.menu span { display: block; font-size: .875rem; color: var(--ink-3); line-height: 1.35; }
.mega__all { display: flex; gap: .25rem; }
.mega__all a { flex: 1; }
.site-header__in { min-height: 4.5rem; }
.brand__name { font-size: 1.3125rem; }
@media (max-width: 40rem) { .brand__name { font-size: 1.125rem; } .site-header__in { min-height: 3.75rem; } }
@media (max-width: 25.5rem) { .brand__name { font-size: 1.0625rem; } }
.mobile-nav__label { display: block; margin-top: 1rem; padding: 0 .25rem .25rem; font-size: .8125rem; font-weight: 600; color: var(--ink-3); }

/* A wide crop in a hero: shown larger than the panel, running off its right and bottom edge */
/* (bleed variant removed: nothing in a hero may be cut off) */

/* ---------- Homepage hero: complete cards from the application, layered ---------- */
.hero-art { position: relative; width: 100%; max-width: 38.75rem; aspect-ratio: 620 / 566; margin-inline: auto; }
.hero-art img { position: absolute; height: auto; filter: drop-shadow(0 1.125rem 1.75rem rgba(0, 0, 0, .42)); }
.hero-art__mapa { right: 0; top: 0; width: 46%; }
.hero-art__kampan { left: 0; top: 6%; width: 56%; z-index: 2; }
.hero-art__cisla { left: 8%; top: 44%; width: 47%; z-index: 3; }
.hero-art__zdravi { left: 1%; top: 75.5%; width: 54%; z-index: 2; }
.hero-art__ab { display: none; }
.js .hero-art img { animation: card-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.js .hero-art__kampan { animation-delay: .12s; }
.js .hero-art__cisla { animation-delay: .24s; }
.js .hero-art__zdravi { animation-delay: .36s; }
@keyframes card-rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@media (max-width: 40rem) {
  /* On a phone the cards are shown at their natural size, one under another */
  .hero-art { aspect-ratio: auto; display: grid; gap: .75rem; max-width: 24rem; }
  .hero-art img { position: static; width: 100%; filter: drop-shadow(0 .75rem 1.25rem rgba(0, 0, 0, .4)); }
  .hero-art__mapa, .hero-art__zdravi { display: none; }
}

/* The panel has the colour of the application background, so the margin around a crop disappears
   and its cards look as if they lay directly on the panel. */
.stage, .stage--dark { background: #F3F4F6; padding: clamp(.5rem, 1.4vw, 1rem); }
.stage img { border-radius: .625rem; box-shadow: none; background: transparent; }
.stage { box-shadow: 0 0 0 .0625rem rgba(15, 33, 57, .08), 0 1.5rem 3rem -1.5rem rgba(15, 33, 57, .35); }
.stage--dark { box-shadow: 0 1.75rem 3.5rem -1.5rem rgba(0, 0, 0, .6); }
.section--tint .stage { background: #fff; }

/* Portrait crops stay narrow so they do not tower over the text */
.stage--tall { max-width: 27rem; margin-inline: auto; }
.split .stage--tall { justify-self: center; width: 100%; }

/* Product hero with two thin crops: a staggered stack instead of one thin strip */
.hero__stage--stack { display: grid; gap: 1rem; }
.hero__stage--stack .stage:first-child { width: 92%; }
.hero__stage--stack .stage:last-child { width: 86%; margin-left: auto; }
@media (max-width: 63.99rem) {
  .hero__stage--stack .stage:first-child, .hero__stage--stack .stage:last-child { width: 100%; }
}

/* ==== v4: equal hero heights, crops at natural size, lighter pricing, gateway V1/V2, centred menu ==== */

/* A crop is never shown larger than its natural size (it would only blur the detail) */
.stage { max-width: calc(var(--nat, 100rem) + 2rem); }
.stage--tall { max-width: min(27rem, calc(var(--nat, 27rem) + 2rem)); }
.split .stage { justify-self: center; width: 100%; }
.tour__panel .stage, .tour__panel .stage-stack { margin-inline: 0; }
.stage-stack { display: grid; gap: 1rem; margin-top: 1.5rem; max-width: 62rem; }
.stage-stack .stage { margin-top: 0; }
.stage-stack .stage:last-child { width: 92%; margin-left: auto; }

/* Product heroes: the same height on every page, the crop is fitted into a box of the height --hero-box (see v15) */
@media (min-width: 64rem) {
  .hero--page .hero__stage { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; }
  .hero--page .hero__stage .stage { width: min(100%, calc(var(--ar, 1.6) * var(--hero-box, 30rem) + 2rem)); }
  .hero--page .hero__stage.hero__stage--stack .stage:first-child { width: min(92%, calc(var(--ar, 1.6) * var(--hero-box, 30rem) * .7333 + 2rem)); align-self: flex-start; }
  .hero--page .hero__stage.hero__stage--stack .stage:last-child { width: 86%; align-self: flex-end; margin-left: 0; }
}

/* Header: logo left, menu in the middle, actions right */
@media (min-width: 64rem) {
  .site-header__in { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav { margin: 0; gap: .375rem; }
  .header-actions { justify-self: end; }
}
.nav__link { font-weight: 600; letter-spacing: -.005em; }

/* Pricing hero without the price cards */
@media (min-width: 64rem) { .hero--pricing .hero__in { grid-template-columns: minmax(0, 1fr); } }
.hero--pricing .hero__copy { max-width: 46rem; }

/* Gateway: two versions, each with its mark, address and real login screen */
.gateway .gate { padding: 0; overflow: hidden; }
.gate__top { padding: 1.25rem clamp(1.25rem, 2.5vw, 2rem) 0; background: #E4E9F0; color: var(--ink); }
.gate--new .gate__top { background: linear-gradient(155deg, #0F2139 0%, #14438A 60%, #1968CE 100%); color: #fff; }
.gate__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.gate__ver { display: flex; align-items: baseline; gap: .625rem; font-size: 2.5rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; }
.gate__ver small { font-size: .9375rem; font-weight: 600; letter-spacing: 0; opacity: .8; }
.gate .gate__top .gate__host { margin: 0; align-self: center; background: rgba(15, 33, 57, .08); color: inherit; }
.gate--new .gate__top .gate__host { background: rgba(255, 255, 255, .16); }
.gate__top .gate__screen { margin: 0; border: 0; border-radius: .75rem .75rem 0 0; aspect-ratio: 16 / 9.4; box-shadow: 0 -.25rem 2.5rem rgba(15, 33, 57, .28); background: #fff; }
.gate__body { display: flex; flex-direction: column; flex: 1; padding: clamp(1.25rem, 2.5vw, 2rem); }
.gate__body h2 { font-size: 1.5rem; }
.gate__body .ticks { margin-top: 1rem; }
.gateway-same { margin-top: 1.5rem; text-align: center; font-weight: 600; color: var(--ink-2); }
.gateway-note { margin-top: 1.25rem; }

/* ==== v5: menu next to the logo, hero stacks fitted to one height, V1/V2 visual for existing clients ==== */

/* Header: menu sits left, a clear step away from the logo */
@media (min-width: 64rem) {
  .site-header__in { display: flex; }
  .nav { margin: 0 auto 0 clamp(1.25rem, 3vw, 3rem); }
  .header-actions { margin-left: 0; }
}

/* Two crops in a product hero share one width, computed so that both always fit the fixed hero height */
@media (min-width: 64rem) {
  .hero--page .hero__stage.hero__stage--stack .stage:first-child,
  .hero--page .hero__stage.hero__stage--stack .stage:last-child { width: min(88%, calc(var(--hero-box, 30rem) * .9 / (1 / var(--ar1, 3) + 1 / var(--ar2, 3)) + 2rem)); }
}

/* Existing clients: both login screens, the old one behind, the new one in front */
.versions { position: relative; display: block; width: 100%; max-width: 38rem; margin-inline: auto; aspect-ratio: 5 / 4; }
.versions figure { position: absolute; margin: 0; padding: .625rem; border-radius: 1rem; background: #fff; box-shadow: 0 1.75rem 3.5rem -1.5rem rgba(0, 0, 0, .6); }
.versions figcaption { display: flex; align-items: baseline; gap: .5rem; padding: .125rem .375rem .5rem; font-size: .875rem; font-weight: 600; color: var(--ink-2); }
.versions figcaption b { font-size: 1.375rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.versions img { display: block; width: 100%; height: auto; border-radius: .5rem; box-shadow: 0 0 0 .0625rem var(--line); }
.versions__old { left: 0; top: 0; width: 60%; }
.versions__new { right: 0; bottom: 0; width: 70%; }
.versions__new figcaption b { color: var(--blue); }
@media (min-width: 64rem) { .hero--page .hero__stage.versions { display: block; } }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* Homepage headline on two lines on desktop */
.hero--home h1 { text-wrap: balance; }
@media (min-width: 64rem) {
  .hero--home .hero__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero--home h1 { font-size: clamp(2.125rem, 3.3vw, 3rem); }
}

/* Homepage hero: the composition of cards is as tall as the picture box of feature pages plus its frame */
@media (min-width: 64rem) {
  .hero--home .hero-art { max-width: min(36.125rem, calc((var(--hero-box, 30rem) + 3rem) * 1.0954)); }
}

/* ==== v15: first screen ====
   Homepage: the hero keeps its own height and the strip of numbers under it takes the rest of the window, so the
   bottom edge of the window does not cut the next section. Other landing pages: the hero keeps its height (43rem)
   and only shrinks on a low window, so that it is never cut itself. --top-h is the announcement bar plus the sticky
   header; --hero-box is the height left for the picture. */
:root { --top-h: 4.5625rem; }
body:has(> .announce) { --top-h: 7.0625rem; }
@media (min-width: 64rem) {
  .hero--home, .hero--page.hero--split { display: grid; }
  .hero--page.hero--split { --hero-box: clamp(24rem, calc(100vh - var(--top-h) - 8rem), 30rem); min-height: clamp(calc(var(--hero-box) + 8rem), calc(100vh - var(--top-h)), 43rem); }
  .hero--home { --hero-box: clamp(24rem, calc(100vh - var(--top-h) - 16.25rem), 30rem); }
  .hero--home .hero__in, .hero--page.hero--split .hero__in { min-height: calc(var(--hero-box) + 8rem); padding-block: 2.5rem; align-items: center; }
  .first-screen { display: flex; flex-direction: column; min-height: min(calc(100vh - var(--top-h)), 64rem); }
  /* 43rem is the height the hero had before; spare height of a tall window is shared 3 : 2 with the strip */
  .first-screen > .hero { flex: 3 0 auto; min-height: clamp(calc(var(--hero-box) + 8rem), calc(100vh - var(--top-h) - 8.25rem), 43rem); }
  .first-screen > .proof-band { flex: 2 0 auto; display: grid; }
  .first-screen > .proof-band .proof { align-content: center; }
}
/* Low desktop window: the homepage hero and the strip do not fit together, so the hero fills the screen alone */
@media (min-width: 64rem) and (max-height: 47.4rem) {
  .first-screen { min-height: 0; }
  .first-screen > .hero { --hero-box: clamp(24rem, calc(100vh - var(--top-h) - 8rem), 30rem); flex: none; min-height: calc(100vh - var(--top-h)); }
  .first-screen > .proof-band { flex: none; }
}
/* Phone: the text and both buttons take the first screen, the picture starts right under it.
   The fill stops at 41rem: a taller phone shows the top of the picture instead of an empty space. */
@media (max-width: 40rem) {
  :root { --top-h: 3.8125rem; }
  body:has(> .announce) { --top-h: 6.1875rem; }
  .hero--home .hero__in, .hero--split .hero__in { padding-top: 1.5rem; }
  .hero--home .btn-row, .hero--split .btn-row { margin-top: 1.5rem; }
  .hero--home .hero__copy, .hero--split .hero__copy { display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100vh - var(--top-h) - 1.5rem), 41rem); padding-bottom: 1.5rem; }
}
/* Low phone: the note under the buttons would be cut by the edge, so it goes whole under the first screen */
@media (max-width: 40rem) and (max-height: 47rem) {
  .hero--home .hero__copy, .hero--split .hero__copy { display: block; min-height: 0; padding-bottom: 0; }
  .hero__main { display: flex; flex-direction: column; justify-content: center; min-height: min(calc(100vh - var(--top-h) - 1.5rem), 41rem); padding-bottom: 1rem; }
}
@supports (height: 100svh) {
  @media (max-width: 40rem) {
    .hero--home .hero__copy, .hero--split .hero__copy { min-height: min(calc(100svh - var(--top-h) - 1.5rem), 41rem); }
  }
  @media (max-width: 40rem) and (max-height: 47rem) {
    .hero--home .hero__copy, .hero--split .hero__copy { min-height: 0; }
    .hero__main { min-height: min(calc(100svh - var(--top-h) - 1.5rem), 41rem); }
  }
}

/* Price in the calculator: the currency right after the number, the period on its own line */
.pricer__price .amount .cur { font-style: normal; font-size: 1.5rem; font-weight: 700; letter-spacing: -.01em; }
.pricer__price .amount span { flex-basis: 100%; }

/* ==== v6: price card keeps one height in every mode ==== */
.pricer__top { display: flex; align-items: center; min-height: 1.875rem; margin-bottom: .875rem; }
.pricer__save, .pricer__switch { display: inline-flex; align-items: center; margin: 0; padding: .25rem .75rem; border-radius: 999px; font: inherit; font-size: .875rem; font-weight: 600; line-height: 1.25; white-space: nowrap; text-decoration: none; }
.pricer__save[hidden], .pricer__switch[hidden], .pricer__includes li[hidden] { display: none; }
.pricer__save--plain { background: rgba(255, 255, 255, .14); }
.pricer__switch { border: .0625rem solid #3FBF8A; background: none; color: #fff; cursor: pointer; text-align: left; }
.pricer__switch:hover, .pricer__switch:focus-visible { background: #1F9D69; border-color: #1F9D69; }
.pricer__price .note { min-height: 3rem; margin-bottom: 0; }
.pricer__save { border: .0625rem solid transparent; }
.pricer__price .amount span { font-size: .9375rem; }

/* ==== v7: footer of the Funkce menu, paid online support in the price list ==== */
.mega .mega__all { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem; margin: .5rem -.75rem -.75rem; padding: .5rem .75rem; border-top: .0625rem solid var(--line-2); background: var(--page); border-radius: 0 0 var(--radius-md) var(--radius-md); }
.mega .mega__all a { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .625rem .75rem; font-size: .9375rem; font-weight: 600; color: var(--ink); }
.mega .mega__all a:hover { background: #fff; color: var(--blue-hover); }
.mega .mega__all svg { grid-row: auto; flex: none; width: 1rem; height: 1rem; padding: 0; border-radius: 0; background: none; color: var(--ink-3); transform: rotate(-90deg); }

.support-offer { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 56rem) { .support-offer { grid-template-columns: minmax(0, 1fr) 24rem; gap: 4rem; } }
.support-offer .section-head { margin-bottom: 0; }
.support-offer__card { padding: 1.75rem; border: .0625rem solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.support-offer__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .5rem; margin-bottom: 1rem; color: var(--ink-2); }
.support-offer__price b { font-size: 2.5rem; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.support-offer__card .small { margin-top: 1.25rem; }

/* ==== v8: two tall crops in a product hero stand side by side (the AI helper window) ==== */
@media (min-width: 64rem) {
  .hero--page .hero__stage.hero__stage--pair { flex-direction: row; align-items: flex-start; justify-content: center; gap: 1.25rem; }
  .hero--page .hero__stage.hero__stage--stack.hero__stage--pair .stage:first-child,
  .hero--page .hero__stage.hero__stage--stack.hero__stage--pair .stage:last-child { width: calc(50% - .625rem); max-width: none; align-self: flex-start; margin: 0; }
  .hero--page .hero__stage.hero__stage--stack.hero__stage--pair .stage:last-child { margin-top: 2.5rem; }
}
@media (max-width: 63.99rem) { .hero__stage--pair .stage:last-child { display: none; } }

/* ==== v9: roadmap page (/co-chystame) ==== */
.road-done { width: 100%; max-width: 27rem; padding: 1.75rem; border-radius: 1.25rem; background: #fff; color: var(--ink); box-shadow: 0 1.75rem 3.5rem -1.5rem rgba(0, 0, 0, .6); }
.road-done__title { margin: 0 0 1rem; font-size: 1.125rem; font-weight: 700; letter-spacing: -.01em; }
.road-done ul { display: grid; gap: .75rem; margin: 0 0 1.25rem; padding: 0; list-style: none; }
.road-done li { display: grid; grid-template-columns: 1.5rem 1fr; gap: .75rem; align-items: start; font-weight: 500; }
.road-done li svg { width: 1.5rem; height: 1.5rem; padding: .25rem; border-radius: 999px; background: #1F9D69; color: #fff; }
.road { margin: 0; padding: 0; list-style: none; }
.road__stage { display: grid; gap: 1.25rem; padding-block: 2rem; border-top: .0625rem solid var(--line); }
.road__stage:last-child { border-bottom: .0625rem solid var(--line); }
.road__when { display: grid; gap: .25rem; align-content: start; padding-left: 1.25rem; border-left: .25rem solid var(--blue); }
.road__when b { font-size: clamp(1.25rem, 2.2vw, 1.625rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.road__when span { color: var(--ink-3); }
.road__stage--later .road__when { border-left-color: var(--line); }
.road__items { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 17rem), 1fr)); }
.road__item { padding: 1.5rem; border: .0625rem solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.road__item svg { width: 2.5rem; height: 2.5rem; padding: .5625rem; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue-hover); }
.road__item h3 { margin-top: 1rem; font-size: 1.1875rem; }
.road__item p { margin-top: .5rem; color: var(--ink-2); }
.road__stage:not(.road__stage--later) .road__item { border-color: var(--blue); box-shadow: 0 0 0 .1875rem var(--blue-soft); }
@media (min-width: 56rem) {
  .road__stage { grid-template-columns: 15rem minmax(0, 1fr); gap: 3rem; padding-block: 2.5rem; }
  .road__stage:not(.road__stage--later) .road__items { grid-template-columns: minmax(0, 1fr); }
  .road__stage:not(.road__stage--later) .road__item { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 1.25rem; padding: 1.75rem; }
  .road__stage:not(.road__stage--later) .road__item svg { grid-row: span 3; }
  .road__stage:not(.road__stage--later) .road__item h3 { margin-top: 0; font-size: 1.375rem; }
  .road__stage:not(.road__stage--later) .road__item p { max-width: 40rem; }
}
@media (min-width: 64rem) { .mega .mega__all { grid-template-columns: repeat(3, 1fr); } }
.road__chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.road__chips li { padding: .25rem .75rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue-hover); font-size: .9375rem; font-weight: 600; }

/* ==== v10: feature index as separate cards, with a roadmap tile closing the grid ==== */
.index--cards { gap: 1.5rem; background: none; border: 0; border-radius: 0; overflow: visible; }
.index--cards > a { padding: 0 1.5rem 1.5rem; border: .0625rem solid var(--line); border-radius: var(--radius-lg); overflow: hidden; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; transition: border-color .15s, box-shadow .15s, transform .15s; }
.index--cards > a:hover { background: #fff; border-color: var(--blue); box-shadow: 0 1rem 2rem -1.25rem rgba(15, 33, 57, .35); transform: translateY(-.125rem); }
.index--cards > a:hover svg { background: var(--blue-soft); }
.index--cards .index__thumb { margin: 0 -1.5rem 1.25rem; aspect-ratio: 16 / 10; border: 0; border-bottom: .0625rem solid var(--line-2); border-radius: 0; background: #F3F4F6; padding: 1rem 1rem 0; }
.index--cards .index__thumb img { border-radius: .5rem .5rem 0 0; box-shadow: 0 0 0 .0625rem var(--line-2); }
.index--cards > a > b { align-self: end; }
.index--cards > .index__next { display: flex; flex-direction: column; justify-content: center; gap: .625rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-color: var(--navy); background: var(--navy); color: #fff; }
.index--cards > .index__next:hover { background: var(--navy); border-color: var(--blue); }
.index--cards > .index__next b { align-self: flex-start; padding: 0; font-size: clamp(1.375rem, 2.2vw, 1.75rem); letter-spacing: -.02em; }
.index--cards > .index__next span { padding: 0; max-width: 34rem; color: var(--navy-ink); font-size: 1.0625rem; }
.index--cards > .index__next em { display: inline-flex; align-items: center; gap: .375rem; margin-top: .5rem; font-style: normal; font-weight: 600; color: #fff; }
.index--cards > .index__next em svg { grid-row: auto; width: 1rem; height: 1rem; margin: 0; padding: 0; background: none; color: inherit; transform: rotate(-90deg); }
@media (min-width: 40rem) { .index--cards > .index__next { grid-column: span 2; } }
@media (prefers-reduced-motion: reduce) { .index--cards > a { transition: none; } .index--cards > a:hover { transform: none; } }

/* ==== v11: deliverability on the homepage: heading next to the proof, six pillars, closing line ==== */
.deliver__top { display: grid; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.deliver__top .section-head { margin-bottom: 0; }
.deliver__top .stage { margin: 0; }
.pillars { display: grid; gap: 1rem; }
.pillars > div { padding: 1.5rem; border: .0625rem solid rgba(255, 255, 255, .14); border-radius: var(--radius-lg); background: rgba(255, 255, 255, .05); }
.pillars svg { width: 2.5rem; height: 2.5rem; padding: .5625rem; border-radius: var(--radius-sm); background: rgba(141, 184, 242, .16); color: #8DB8F2; }
.pillars h3 { margin-top: 1rem; font-size: 1.125rem; color: #fff; }
.pillars p { margin-top: .5rem; color: var(--navy-ink); font-size: .9688rem; }
.deliver__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2.5rem; margin-top: 2rem; }
.deliver__foot p { color: var(--navy-ink); max-width: 40rem; }
@media (min-width: 40rem) { .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) {
  .deliver__top { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem; align-items: center; }
  .pillars { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ==== v12: custom plan offer under the price tables ==== */
.custom-plan { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; margin-top: 2.5rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); background: var(--blue-soft); }
.custom-plan > div { flex: 1 1 24rem; }
.custom-plan h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }
.custom-plan p { margin-top: .5rem; max-width: 42rem; color: var(--ink-2); }

/* ==== v13: article page, guide components ==== */
.article-page { padding-top: 1.5rem; }
@media (min-width: 64rem) {
  .article { grid-template-columns: minmax(0, 1fr) 17rem; gap: 3.5rem; }
}
.article__main { min-width: 0; }
.article__head h1 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); text-wrap: balance; }
.article__meta { align-items: center; gap: .25rem .75rem; font-size: .875rem; }
.article__meta > * + *::before { content: ""; display: inline-block; width: .25rem; height: .25rem; margin: 0 .75rem .1875rem 0; border-radius: 50%; background: var(--line); vertical-align: middle; }
.article__cover { margin-top: 1.5rem; max-width: 46rem; aspect-ratio: 5 / 2; border: .0625rem solid var(--line-2); border-radius: var(--radius-lg); overflow: hidden; }
.article__cover img { width: 100%; height: 100%; object-fit: cover; }
.article-page .prose { margin-top: 2rem; max-width: 46rem; }
.article-page .prose h2, .article__faq h2 { margin-top: 3rem; padding-top: 1.75rem; border-top: .0625rem solid var(--line-2); font-size: 1.5rem; scroll-margin-top: 6rem; }
.article-page .prose h3 { font-size: 1.1875rem; }
.article__faq { margin-top: 0; max-width: 46rem; scroll-margin-top: 6rem; }
.article__faq h2 { margin-bottom: 1.25rem; }

/* Right: list of sections on this page */
.toc { padding: 0 0 0 1rem; border-left: .125rem solid var(--line-2); }
.toc__title { margin: 0 0 .625rem; font-size: .8125rem; font-weight: 700; color: var(--ink); }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.toc a { display: block; margin-left: -1.125rem; padding-left: 1rem; border-left: .125rem solid transparent; font-size: .9063rem; line-height: 1.35; color: var(--ink-3); text-decoration: none; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { border-left-color: var(--blue); color: var(--blue-hover); font-weight: 600; }
@media (max-width: 63.99rem) { .toc { display: none; } }

/* Components inside the text */
.answer-box { padding: 1.25rem 1.5rem; border-radius: var(--radius-md); background: var(--blue-soft); }
.answer-box__label { display: block; margin-bottom: .375rem; font-size: .8125rem; font-weight: 700; color: var(--blue-hover); }
.answer-box p { margin: 0; font-size: 1.125rem; line-height: 1.6; color: var(--ink); }
.prose ol.steps-list { list-style: none; padding: 0; counter-reset: step; }
.prose ol.steps-list > li { position: relative; padding: 0 0 1.25rem 3.25rem; counter-increment: step; }
.prose ol.steps-list > li + li { margin-top: 0; }
.prose ol.steps-list > li::before { content: counter(step); position: absolute; left: 0; top: -.0625rem; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9375rem; font-weight: 700; }
.prose ol.steps-list > li::after { content: ""; position: absolute; left: .9688rem; top: 2.25rem; bottom: .25rem; width: .0625rem; background: var(--line); }
.prose ol.steps-list > li:last-child { padding-bottom: 0; }
.prose ol.steps-list > li:last-child::after { display: none; }
.prose strong { font-weight: 650; color: var(--ink); }
.callout { margin-top: 2.5rem; padding: 1.5rem; border-radius: var(--radius-md); }
.article-page .prose .callout h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: 1.25rem; }
.callout--trouble { background: #FFF8EC; border: .0625rem solid #F3DDB3; }
.callout--trouble ul { list-style: none; padding: 0; display: grid; gap: .875rem; }
.callout--trouble li { position: relative; padding-left: 1.75rem; }
.callout--trouble li::before { content: "!"; position: absolute; left: 0; top: .25rem; display: grid; place-items: center; width: 1.125rem; height: 1.125rem; border-radius: 50%; background: #B45309; color: #fff; font-size: .75rem; font-weight: 700; line-height: 1; }
.callout--trouble li + li { margin-top: 0; }
.callout--next { background: var(--navy); color: #fff; }
.article-page .prose .callout--next h2 { color: #fff; }
.callout--next p { color: var(--navy-ink); }
.callout--next a { color: #fff; font-weight: 600; }
.prose figure.shot { margin: 1.75rem 0; }
.prose figure.shot img { display: block; width: 100%; height: auto; cursor: zoom-in; }
.prose figure.shot--app { padding: .75rem; border-radius: var(--radius-lg); background: #F3F4F6; box-shadow: 0 0 0 .0625rem var(--line-2); }
.prose figure.shot--app img { border: 0; border-radius: .5rem; }
.prose figure.shot figcaption { margin-top: .625rem; font-size: .875rem; line-height: 1.45; color: var(--ink-3); text-align: center; }
.prose figure.shot--app figcaption { padding: 0 .5rem .125rem; }
.prose blockquote { margin: 1.75rem 0; padding: 1rem 1.25rem; border-left: .1875rem solid var(--blue); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; background: var(--page); color: var(--ink-2); }
.help-strip { display: grid; grid-template-columns: 2.5rem 1fr; gap: 1rem; align-items: center; margin-top: 2.5rem; max-width: 46rem; padding: 1.125rem 1.25rem; border: .0625rem solid var(--line); border-radius: var(--radius-md); }
.help-strip svg { width: 2.5rem; height: 2.5rem; padding: .5625rem; border-radius: var(--radius-sm); background: var(--blue-soft); color: var(--blue-hover); }
.help-strip p { margin: 0; color: var(--ink-2); }
.article-page .article__next { margin-top: 0; }
.article-page .prose .callout--next h2 { scroll-margin-top: 6rem; }
.callout h2 + ul, .callout h2 + p { margin-top: 1rem; }
.chips a.chip--link { border-style: dashed; color: var(--blue-hover); }

/* ==== v14: guides use the blog layout; the right column is a set of cards ==== */
@media (min-width: 64rem) {
  .article { grid-template-columns: minmax(0, 1fr) 19rem; gap: 4rem; }
  .article__aside { position: sticky; top: 5.5rem; max-height: calc(100vh - 6.5rem); overflow-y: auto; scrollbar-width: thin; padding: .125rem; margin: -.125rem; gap: 1rem; }
}
.article__aside .aside-box { padding: 1.25rem; }
.article__aside .aside-box h2 { font-size: 1rem; }

/* On this page */
.article__aside .toc { padding: 1.25rem; border: .0625rem solid var(--line); border-left: .0625rem solid var(--line); border-radius: var(--radius-md); }
.toc__title { margin: 0 0 .75rem; font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.article__aside .toc ul { margin: 0; gap: .125rem; border-left: .125rem solid var(--line-2); }
.article__aside .toc a { margin-left: -.125rem; padding: .3125rem 0 .3125rem .875rem; border-left: .125rem solid transparent; font-size: .9375rem; color: var(--ink-2); }
.article__aside .toc a.is-active { border-left-color: var(--blue); color: var(--blue-hover); font-weight: 600; }
@media (max-width: 63.99rem) { .article__aside .toc { display: none; } }

/* The other guides of the same section */
.guide-list h2 { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.guide-list h2 a { color: inherit; text-decoration: none; }
.guide-list h2 span { font-size: .8125rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; }
.article__aside .guide-list ul { margin-top: .75rem; gap: .125rem; max-height: 17rem; overflow-y: auto; scrollbar-width: thin; margin-inline: -.5rem; }
.article__aside .guide-list li a { display: block; padding: .375rem .5rem; border-radius: var(--radius-sm); font-size: .9063rem; line-height: 1.35; }
.article__aside .guide-list li a:hover { background: var(--page); color: var(--ink); }
.article__aside .guide-list li a[aria-current="page"] { background: var(--blue-soft); color: var(--blue-hover); font-weight: 600; }
.guide-list__all { display: inline-block; margin-top: .75rem; font-size: .9063rem; font-weight: 600; }
@media (max-width: 63.99rem) { .article__aside .guide-list ul { max-height: none; } }

/* Call to action inside the text: light, so it does not repeat the dark card of the right column */
.prose .cta-box, .prose-custom .cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 1.5rem; margin-top: 2rem; padding: 1.25rem 1.5rem; background: var(--blue-soft); color: var(--ink); }
.prose .cta-box p, .prose-custom .cta-box p { flex: 1 1 18rem; color: var(--ink-2); }
.prose .cta-box strong, .prose-custom .cta-box strong { display: block; color: var(--ink); }
.prose .cta-box a, .prose-custom .cta-box a { margin-top: 0; background: var(--blue); color: #fff; }
.prose .cta-box a:hover, .prose-custom .cta-box a:hover { background: var(--blue-hover); }
.callout--next strong { color: #fff; }
.callout--trouble strong, .answer-box strong { color: var(--ink); }
@media (min-width: 64rem) {
  .article { grid-template-columns: minmax(0, 48rem) 20rem; justify-content: space-between; gap: 3rem; }
  .article-page .prose, .article__faq, .help-strip, .article__cover { max-width: none; }
}
@media (min-width: 64rem) {
  .article__aside { scrollbar-width: none; }
  .article__aside::-webkit-scrollbar { display: none; }
  .article__aside .guide-list ul { max-height: 11.25rem; }
}

/* ==== v15: listings of guides with crops of the application, tighter spacing, finished right column ==== */
.section--after-hero { padding-top: clamp(2.5rem, 5vw, 3.5rem); }
.hero--page .crumbs + h1 { margin-top: 0; }

/* A card whose picture is a crop of the application */
.post__img--app { padding: .875rem .875rem 0; background: #F3F4F6; aspect-ratio: 16 / 10; }
.post__img--app img { display: block; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: left top; border-radius: .5rem .5rem 0 0; box-shadow: 0 0 0 .0625rem var(--line-2), 0 .75rem 1.5rem -.75rem rgba(15, 33, 57, .25); }
.post:hover .post__img--app img { transform: none; }
.post__img--app { transition: border-color .15s, box-shadow .15s; }
.post:hover .post__img--app { border-color: var(--blue); box-shadow: 0 0 0 .1875rem var(--blue-soft); }
.post--section h2 { font-size: 1.375rem; }

/* Right column of an article */
@media (min-width: 64rem) {
  .article__aside { max-height: none; overflow: visible; }
}
.article__aside .aside-box { border-radius: var(--radius-lg); }
.aside-title { display: flex; align-items: center; gap: .625rem; margin: 0 0 .875rem; font-size: 1rem; font-weight: 650; letter-spacing: -.01em; }
.aside-title svg { flex: none; width: 1.75rem; height: 1.75rem; padding: .375rem; border-radius: .5rem; background: var(--blue-soft); color: var(--blue-hover); }
.aside-title a { color: inherit; text-decoration: none; }
.aside-title a:hover { color: var(--blue-hover); }
.article__aside .toc { border-radius: var(--radius-lg); }
.article__aside .toc ul { border-left: .125rem solid var(--line-2); margin-left: .8125rem; }
.article__aside .toc a { padding: .3125rem 0 .3125rem .875rem; }
.article__aside .guide-list ul { max-height: none; overflow: visible; margin-inline: -.5rem; margin-top: 0; }
.article__aside .guide-list li a { display: grid; grid-template-columns: 1.375rem 1fr; gap: .375rem; align-items: baseline; padding: .4375rem .5rem; }
.article__aside .guide-list li a span { font-size: .75rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.article__aside .guide-list li a[aria-current="page"] span { color: var(--blue-hover); }
.guide-list__all { display: flex; align-items: center; justify-content: space-between; margin-top: .75rem; padding-top: .875rem; border-top: .0625rem solid var(--line-2); font-size: .9063rem; font-weight: 600; text-decoration: none; }
.guide-list__all svg { width: 1rem; height: 1rem; transform: rotate(-90deg); }
.aside-box--dark .ticks { margin: .75rem 0 1rem; display: grid; gap: .375rem; font-size: .9375rem; }
.aside-box--dark .ticks li { color: var(--navy-ink); }
.aside-box--dark p { margin-bottom: 0; }
.aside-box--dark .btn { margin-top: 1rem; }
.article__aside .guide-list li a { display: grid; grid-template-columns: 1.5rem minmax(0, 1fr); gap: .375rem; align-items: baseline; }
.article__aside .guide-list li a span { font-size: inherit; font-weight: inherit; color: inherit; }
.guide-list__n { font-style: normal; font-size: .75rem; font-weight: 600; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.article__aside .guide-list li a[aria-current="page"] .guide-list__n { color: var(--blue-hover); }
.prose figure.shot figcaption { background: none; }
.prose figure.shot { border: 0; background: none; box-shadow: none; overflow: visible; }
.prose figure.shot--app { background: #F3F4F6; box-shadow: 0 0 0 .0625rem var(--line-2); }
.prose figure.shot figcaption { border-top: 0; padding: 0 .5rem; margin-top: .75rem; }
.prose figure.shot--app figcaption { padding-bottom: .125rem; }
.prose figure.shot img { aspect-ratio: auto; object-fit: fill; background: none; border-radius: var(--radius-md); max-width: 100%; transform: none; }
/* The old mobile rule of .shot (zoomed crop in a 4/3 frame) must not reach screenshots inside articles */
.prose figure.shot:not(.shot--phone) { aspect-ratio: auto; }
.prose figure.shot--app img { border-radius: .5rem; }
/* A crop of the application keeps its real size: a narrow one sits in the middle, it is never stretched */
.prose figure.shot--app .article-zoom { display: block; }
.prose figure.shot--app img { width: auto; max-width: 100%; margin-inline: auto; box-shadow: 0 0 0 .0625rem var(--line-2); }

/* Right column: the list of guides scrolls away, "on this page" and the call to action stay */
@media (min-width: 64rem) {
  .article__aside { position: static; align-self: stretch; display: block; padding: 0; margin: 0; }
  .article__aside > * + * { margin-top: 1rem; }
  .aside-sticky { position: sticky; top: 5.5rem; display: grid; gap: 1rem; }
}
@media (max-width: 63.99rem) { .aside-sticky { display: grid; gap: 1.5rem; } }

/* Guide card without a screenshot of its own: the icon of the section on a calm tile */
.post__img--icon { display: grid; place-items: center; aspect-ratio: 16 / 10; background: linear-gradient(160deg, #E9F1FD, #F3F5F9); transition: border-color .15s, box-shadow .15s; }
.post__img--icon svg { width: 4.5rem; height: 4.5rem; padding: 1.125rem; border-radius: 1.25rem; background: #fff; color: var(--blue); box-shadow: 0 .75rem 1.5rem -.75rem rgba(15, 33, 57, .25); }
.post:hover .post__img--icon { border-color: var(--blue); box-shadow: 0 0 0 .1875rem var(--blue-soft); }

/* A tile that closes a grid of cards and points elsewhere */
.posts__tile { display: flex; flex-direction: column; justify-content: center; gap: .625rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: var(--radius-lg); background: var(--navy); color: #fff; text-decoration: none; }
.posts__tile b { font-size: clamp(1.375rem, 2.2vw, 1.75rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.posts__tile span { max-width: 34rem; color: var(--navy-ink); font-size: 1.0625rem; }
.posts__tile em { margin-top: .5rem; font-style: normal; font-weight: 600; text-decoration: underline; text-underline-offset: .25rem; }
.posts__tile:hover { background: #14294A; }
@media (min-width: 40rem) { .posts__tile { grid-column: span var(--span2, 1); } }
@media (min-width: 64rem) { .posts__tile { grid-column: span var(--span3, 1); } }
