/* Shared styles of mailshines.appshines.com: start page, feature page and installation page (docs/website.md). The layout
   follows telocept.appshines.com. The colours follow the design „Kontor“ of Mailshines (Design/Kontor/tokens.json): petrol
   for the dark areas and buttons, the warm ground of the program, and the yellow of the spark in the icon for the most
   important button. */
:root {
  --text: #1e1c19;
  --muted: #5a554d;
  --page: #f3f1ec;
  --card: #ffffff;
  --border: #dfdad1;
  --primary: #0b6e66;
  --primary-hover: #095e57;
  --primary-active: #074d47;
  --primary-soft: #e3f1ee;
  --primary-soft-hover: #d3e9e5;
  --primary-soft-active: #c2dfda;
  --sidebar: #0f3b3c;
  --sidebar-hover: #1a5653;
  --sidebar-active: #154845;
  --header: #0b2a2c;
  --on-dark: #dcebe8;
  --focus: #ce7400;
  --mark: #e07800;
  --cta: #ffd04a;
  --cta-hover: #ffdc73;
  --cta-active: #f0bd2c;
  --cta-ink: #2b2100;
  --dark-gradient: radial-gradient(120% 140% at 0% 0%, #17605c 0%, #0f3b3c 55%, #0b2a2c 100%);
  --check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b6e66' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19.5 7'/%3E%3C/svg%3E");
  --check-on-dark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd04a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5 10 17.5 19.5 7'/%3E%3C/svg%3E");
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 16px/1.55 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  /* A word longer than its column breaks instead of widening the page, which some languages need on small screens. */
  overflow-wrap: break-word;
}
a { color: var(--primary); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Header with the logo of Appshines, the name and the way to the early access. */
.site-header { background: var(--header); color: #fff; }
.site-bar { margin: 0 auto; padding: 14px clamp(16px, 2.5vw, 40px); display: flex; align-items: center; gap: 16px; }
.site-brand { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; margin-inline-end: auto; }
.site-brand img { width: 36px; height: 36px; }
.site-brand span { font-size: 20px; font-weight: 600; letter-spacing: 0.2px; }
.site-brand:hover span { text-decoration: underline; text-underline-offset: 4px; }
.site-brand:active span { color: var(--on-dark); }
/* The logo of Appshines leads back to www.appshines.com. It stands directly on the header, which is dark enough for the
   darker parts of the logo. */
.site-publisher { display: inline-flex; padding: 3px 8px; border-radius: 8px; margin-inline-start: -8px; }
.site-publisher img { display: block; width: auto; height: 31px; }
.site-publisher:hover { background: rgba(255, 255, 255, 0.1); }
.site-publisher:active { background: rgba(255, 255, 255, 0.18); }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { color: var(--on-dark); text-decoration: none; font-weight: 600; padding: 8px 11px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; }
.site-nav a:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.site-nav a:active { background: rgba(255, 255, 255, 0.18); }
.site-nav a[aria-current="page"] { color: #fff; }
.site-nav svg { width: 18px; height: 18px; }

/* Language menu: a globe with the language code, below it all languages in a grid (like www.appshines.com). A chosen
   language is remembered by assets/site.js. */
.lang-menu { position: relative; }
.lang-menu summary { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-radius: 8px; color: var(--on-dark); font-size: 14px; font-weight: 600; list-style: none; cursor: pointer; white-space: nowrap; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg { width: 18px; height: 18px; flex: none; }
.lang-menu summary:hover, .lang-menu[open] summary { background: rgba(255, 255, 255, 0.1); color: #fff; }
.lang-menu summary:active { background: rgba(255, 255, 255, 0.18); }
.lang-list { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); z-index: 60; display: grid; grid-template-columns: repeat(4, minmax(132px, 1fr)); gap: 2px; width: max-content; max-width: calc(100vw - 32px); max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); overflow-y: auto; margin: 0; padding: 8px; list-style: none; border: 1px solid var(--border); border-radius: 12px; background: var(--card); box-shadow: 0 16px 40px rgba(11, 42, 44, 0.3); }
.lang-list a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); font-size: 14px; text-decoration: none; white-space: nowrap; }
.lang-list a:hover { background: var(--primary-soft); color: var(--primary); }
.lang-list a:active { background: var(--primary-soft-hover); }
.lang-list a[aria-current="true"] { background: var(--primary-soft); color: var(--primary); font-weight: 700; }
/* Pictures of the program show the German interface. Pages in other languages say so once. */
.shots-note { margin: 10px 0 0; padding: 8px 12px; border-radius: 8px; background: var(--primary-soft); color: var(--text); font-size: 14px; }
.lead + .shots-note { margin: -14px 0 24px; max-width: 720px; }
/* Commands, search terms and check sums always read from left to right, also inside a text written from right to left. */
code, .command { direction: ltr; unicode-bidi: isolate; }
/* Arrows that point along the reading direction turn around on pages written from right to left. */
:root[dir="rtl"] svg.directional { transform: scaleX(-1); }
/* The check marks of the lists stand at the start of the line. */
:root[dir="rtl"] .hero-points li, :root[dir="rtl"] .concept-text li, :root[dir="rtl"] .capability-group li { background-position-x: right; }

.site-main { max-width: 880px; margin: 0 auto; padding: 40px 16px 24px; }
/* The feature page uses the full width of the window, so the pictures of the program have room. */
.site-main.full { max-width: none; padding-inline: clamp(16px, 2.5vw, 40px); }
h1 { font-size: 32px; line-height: 1.2; margin: 0 0 10px; }
h2 { font-size: 20px; margin: 0 0 12px; }
.lead { font-size: 18px; color: var(--muted); margin: 0 0 28px; max-width: 720px; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; font-weight: 700; color: var(--primary); margin: 0 0 6px; }

.card { background: var(--card); border: 1px solid var(--border); border-radius: 10px; padding: 24px; margin-bottom: 20px; }
.credits { margin-top: 48px; padding: 18px 20px; font-size: 12px; line-height: 1.5; }
.credits h2 { font-size: 14px; margin-bottom: 6px; }
.credits p { color: var(--muted); margin: 0 0 10px; }
.credits ul { columns: 2 260px; column-gap: 28px; margin: 0; padding-inline-start: 16px; font-size: 12px; color: var(--muted); }
.credits li { break-inside: avoid; margin-bottom: 2px; }
.button {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff; text-decoration: none; font-weight: 600;
  padding: 12px 22px; border-radius: 8px; border: 0; cursor: pointer; font: inherit;
}
.button:hover { background: var(--primary-hover); }
.button:active { background: var(--primary-active); }
.button svg { width: 20px; height: 20px; flex: none; }
.button.secondary { background: var(--primary-soft); color: var(--primary); }
.button.secondary:hover { background: var(--primary-soft-hover); }
.button.secondary:active { background: var(--primary-soft-active); }
.buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.button.large { flex: none; padding: 18px 34px; font-size: 21px; gap: 14px; border-radius: 12px; }
.button.large svg { width: 28px; height: 28px; }
/* The most important button, in the yellow of the spark in the icon. It stands out on light and dark ground. */
.button.cta { background: var(--cta); color: var(--cta-ink); font-weight: 700; }
.button.cta:hover { background: var(--cta-hover); }
.button.cta:active { background: var(--cta-active); }
.button.small { padding: 8px 14px; gap: 8px; }
.button.small svg { width: 16px; height: 16px; }
.button.on-dark { background: rgba(255, 255, 255, 0.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); }
.button.on-dark:hover { background: rgba(255, 255, 255, 0.2); }
.button.on-dark:active { background: rgba(255, 255, 255, 0.28); }
.soon-badge { display: inline-block; padding: 1px 10px; border-radius: 999px; background: #fff1d6; color: #7a4a00; font-size: 13px; font-weight: 700; }
/* Marks what is available now, in the yellow of the most important buttons. */
.soon-badge.new-badge { background: var(--cta); color: var(--cta-ink); }

/* Heading of a page with a button beside it, such as „Was ist neu“ on the installation page. The button moves below the
   heading when a language needs more room. */
.page-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-bottom: 10px; }
.page-head h1 { margin: 0; min-width: 0; }
/* Page „Was ist neu“: the list of new features of the apps with a heading per version (build.mjs, whatsNewHtml). */
.whatsnew h2 { font-size: 18px; margin: 26px 0 8px; }
.whatsnew h2:first-child { margin-top: 0; }
.whatsnew ul { margin: 0; padding-inline-start: 20px; overflow-wrap: anywhere; }
.whatsnew li { margin: 6px 0; }
/* Official badge of the Microsoft Store (assets/store-badge). The graphic stays as Microsoft delivers it, only its
   position reacts to the pointer. */
.store-badge { display: inline-block; flex: none; border-radius: 6px; line-height: 0; }
.store-badge img { display: block; max-width: 100%; height: auto; border-radius: 6px; }
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11, 42, 44, 0.22); }
.store-badge:active { transform: none; box-shadow: 0 2px 6px rgba(11, 42, 44, 0.25); }

/* Installation page: the InstallManager of every system, written by scripts/publish-release.ps1. */
.downloads { display: grid; gap: 16px; }
.download { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; }
.download + .download { border-top: 1px solid var(--border); padding-top: 16px; }
.download > div { flex: 1 1 380px; min-width: 0; }
.system { font-size: 18px; font-weight: 700; }
.system img { width: 22px; height: 22px; vertical-align: -4px; margin-inline-end: 4px; }
.system .soon-badge { margin-inline-start: 6px; vertical-align: 2px; }
.facts { color: var(--muted); }
.facts code, .hash code, li code, p code { font-family: Consolas, "SFMono-Regular", Menlo, monospace; font-size: 14px; }
.hash { margin-top: 4px; font-size: 13px; color: var(--muted); overflow-wrap: anywhere; }
/* A system with several packages (Linux: AppImage, DEB, RPM, tar.gz): the system on top, below it one row per package with
   its name, size, use and checksum beside its button. Each command stands in a line of its own and breaks anywhere,
   because a file name has no spaces. */
.format-list { flex: 1 1 100%; list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.format { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 12px 14px;
  border: 1px solid var(--border); border-radius: 8px; }
.format > div { flex: 1 1 380px; min-width: 0; }
.format-name { font-weight: 700; }
.format-size { margin-inline-start: 6px; font-weight: 400; color: var(--muted); }
.format .facts code { display: block; margin: 4px 0; padding: 6px 10px; background: var(--page); border: 1px solid var(--border); border-radius: 6px;
  color: var(--text); overflow-wrap: anywhere; direction: ltr; text-align: start; }
ol { margin: 0; padding-inline-start: 22px; }
ol li { margin: 6px 0; }
.notice { background: var(--primary-soft); border-radius: 8px; padding: 14px 16px; margin-top: 16px; }
.pending { color: var(--muted); margin: 8px 0 0; }
.pending img { width: 18px; height: 18px; vertical-align: -3px; margin-inline-end: 2px; }
.command { margin: 6px 0 10px; padding: 10px 12px; overflow-x: auto; background: var(--page); border: 1px solid var(--border); border-radius: 6px; font: 14px/1.5 Consolas, "SFMono-Regular", Menlo, monospace; }

/* Feature page: a menu at the left edge in the colour of the dark areas, one panel per feature beside it
   (feature-tabs.js). On small screens the menu becomes a row that scrolls sideways above the panels. */
.feature-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 24px; align-items: start; }
.feature-tabs { position: sticky; top: 16px; background: var(--sidebar); color: #fff; border-radius: 10px; padding: 14px 10px;
  max-height: calc(100vh - 32px); overflow-y: auto; }
.feature-tabs .feature-home { margin-bottom: 6px; padding-inline-start: 12px; box-shadow: 0 7px 0 -6px var(--sidebar-hover); }
.feature-tabs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.feature-tabs a, .feature-tabs button { display: flex; align-items: center; gap: 10px; color: #fff; padding: 9px 12px; border-radius: 7px; text-decoration: none; }
.feature-tabs a:hover, .feature-tabs a[aria-current="page"] { background: var(--sidebar-hover); }
.feature-tabs a:active { background: var(--sidebar-active); }
.feature-tabs a:focus-visible, .feature-tabs button:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.feature-tabs svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.feature-tabs .feature-cta { width: 100%; justify-content: center; border: 0; font: inherit; cursor: pointer; background: var(--cta); color: var(--cta-ink); font-weight: 700; margin-bottom: 6px; }
.feature-tabs .feature-cta:hover { background: var(--cta-hover); }
.feature-tabs .feature-cta:active { background: var(--cta-active); }
.feature-panel { display: grid; gap: 20px; min-width: 0; }
.feature-panel > .card { margin-bottom: 0; }
.feature-panel .tab-steps { padding: 4px 0 0; }
.tab-steps { justify-content: space-between; }
.tab-steps .tab-next { margin-inline-start: auto; }
.has-feature-tabs .back { margin-top: 20px; }
@media (max-width: 900px) {
  .feature-layout { grid-template-columns: minmax(0, 1fr); }
  .feature-tabs { top: 0; z-index: 20; max-height: none; overflow-x: auto; padding: 8px; border-radius: 8px; display: flex; gap: 4px; }
  .feature-tabs .feature-home { margin-bottom: 0; box-shadow: none; }
  .feature-tabs .feature-cta { width: auto; margin-bottom: 0; white-space: nowrap; }
  .feature-tabs ul { display: flex; gap: 4px; }
  .feature-tabs a { padding: 8px 12px; white-space: nowrap; }
  /* The menu row stays at the top, a jump to a feature ends below it. */
  .feature-panel { scroll-margin-top: 76px; }
}
.detail { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.detail > * { min-width: 0; }
.detail h2 { font-size: 22px; }
.detail-text { max-width: 860px; }
.detail-text p { margin: 0 0 12px; }
.detail-text ol.marks { list-style: none; padding: 0; margin: 0 0 12px; }
.detail-text ol.marks li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 10px; margin: 8px 0; }
.mark-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; border-radius: 50%; background: var(--mark); color: #fff; font-size: 13px; font-weight: 700; line-height: 1;
}
.detail-figure { margin: 0; min-width: 0; }
.detail-figure.narrow { max-width: 900px; }
/* A picture of Mailshines with numbered frames over it, drawn in the pixels of the picture. */
.shot { position: relative; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff; }
.shot img { display: block; width: 100%; height: auto; }
.shot-marks { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.shot-marks .mark { fill: none; stroke: var(--mark); stroke-width: 4; }
.shot-marks .badge { fill: var(--mark); stroke: #fff; stroke-width: 3; }
.shot-marks text { fill: #fff; font: 700 21px "Segoe UI", system-ui, sans-serif; text-anchor: middle; dominant-baseline: central; }
.detail-figure figcaption, .gallery figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); }
/* Several pictures side by side, for example the mobile style or the steps of an e-invoice. */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; margin: 0; }
.gallery figure { margin: 0; min-width: 0; }
.gallery.wide { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.back { margin-top: 8px; }

.site-footer { max-width: 880px; margin: 0 auto; padding: 8px 16px 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-main.full + .site-footer { max-width: none; padding-inline: clamp(16px, 2.5vw, 40px); }

/* Start page: the header stays in view on the long page. */
.has-sticky-header { scroll-padding-top: 76px; }
.site-header.is-sticky { position: sticky; top: 0; z-index: 40; }
/* The links to the sections are the only part of the header that gives way. Where they do not fit into one row in a
   language with long words, assets/site.js hides them. Without the script they move into a second row instead of
   pushing the buttons out of the window. */
.site-nav-sections { margin-inline-end: 4px; flex: 0 1 auto; min-width: 0; flex-wrap: wrap; justify-content: flex-end; }
.site-nav-sections a { white-space: nowrap; }
.is-sticky .site-bar > :not(.site-nav-sections) { flex-shrink: 0; }
.home-section { max-width: 1320px; margin: 0 auto; padding: 28px clamp(16px, 2.5vw, 40px) 8px; }
.section-head { margin-bottom: 14px; max-width: 920px; }
.section-head h2 { font-size: 26px; line-height: 1.2; margin: 0 0 4px; }
.section-head p { margin: 0; color: var(--muted); }
.hero { background: var(--dark-gradient); color: #fff; }
.hero-inner { max-width: 1320px; margin: 0 auto; padding: 28px clamp(16px, 2.5vw, 40px) 32px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 24px 40px; align-items: center; }
.hero h1 { font-size: 44px; line-height: 1.12; margin: 0 0 8px; }
/* What makes Mailshines special, the first thing a visitor should take along. */
.hero-why { display: flex; align-items: flex-start; gap: 10px; font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--cta-hover); margin: 0 0 12px; }
.hero-why svg { flex: none; width: 1.25em; height: 1.25em; }
.hero-eyebrow { margin: 0 0 10px; color: var(--on-dark); font-weight: 600; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.hero-lead { font-size: 18px; color: var(--on-dark); margin: 0 0 18px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-bottom: 8px; }
.hero-store-note { margin: 0 0 16px; font-size: 15px; line-height: 1.45; color: var(--on-dark); }
.hero-links { margin-bottom: 18px; }
.hero-points { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 18px; }
.hero-points li { padding-inline-start: 26px; background: var(--check-on-dark) left 3px no-repeat; background-size: 18px; }
.hero-points li.wide { grid-column: 1 / -1; }
.hero-platforms { display: flex; flex-wrap: wrap; gap: 8px; text-decoration: none; border-radius: 10px; }
.hero-platforms span { display: inline-flex; align-items: center; gap: 7px; padding-block: 5px; padding-inline: 9px 12px; background: #fff; color: var(--text); border-radius: 8px; font-size: 14px; font-weight: 600; }
.hero-platforms svg { width: 18px; height: 18px; flex: none; color: var(--primary); }
.hero-platforms svg + svg { margin-inline-start: -4px; }
.hero-platforms small { font-size: 12px; font-weight: 600; color: var(--muted); }
.hero-platforms:hover span { background: var(--primary-soft); }
.hero-platforms:active span { background: var(--primary-soft-hover); }
.hero-shot { position: relative; display: block; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.hero-shot img { display: block; width: 100%; height: auto; }
.hero-shot:hover { box-shadow: 0 0 0 3px var(--cta), 0 10px 30px rgba(0, 0, 0, 0.35); }
.hero-shot:active { box-shadow: 0 0 0 3px var(--cta-active); }
.hero-badge { position: absolute; inset-inline-end: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding-block: 9px; padding-inline: 12px 16px; border-radius: 999px; background: var(--cta); color: var(--cta-ink); font-weight: 700; box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
.hero-badge svg { width: 18px; height: 18px; }
.hero-shot:hover .hero-badge { background: var(--cta-hover); }
/* The pictures of the hero: the screenshot and two drawings in one place (assets/hero-slides.js). All slides lie in the
   same grid cell, so the place is as high as one picture and nothing moves when the picture changes. Only the slide in
   front is visible. Without the script that is always the screenshot, and index.html then hides the bar below. */
.hero-stage { --hero-fade: 900ms; min-width: 0; display: grid; gap: 12px; }
.hero-slides { display: grid; min-width: 0; }
/* A slide that goes fades out and only then becomes hidden, so an interrupted cross-fade never jumps. */
.hero-slide { grid-area: 1 / 1; min-width: 0; opacity: 0; visibility: hidden; transition: opacity var(--hero-fade) ease, visibility 0s linear var(--hero-fade); }
.hero-slide.is-current { opacity: 1; visibility: visible; z-index: 2; transition: opacity var(--hero-fade) ease, visibility 0s; }
/* The slide before stays below the new one until the cross-fade is over, so the dark hero never shines through. */
.hero-slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; transition: opacity var(--hero-fade) ease, visibility 0s; }
/* The bar below the pictures: the button that pauses the change and every motion, and one button per picture. The
   line at the foot of the chosen one shows how long its picture still stays. The buttons wrap, so no label is cut. */
.hero-slide-bar { display: flex; align-items: flex-start; justify-content: center; gap: 8px; min-width: 0; }
/* The group of picture buttons gives way: it wraps inside itself, so the pause button stays beside its first row. */
.hero-slide-tabs { flex: 0 1 auto; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; min-width: 0; }
.hero-slide-tab, .hero-slide-toggle { position: relative; overflow: hidden; border: 0; cursor: pointer; font: inherit; font-size: 14px; font-weight: 600; line-height: 1.3; color: #fff; background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); border-radius: 17px; }
.hero-slide-tab { display: inline-flex; align-items: center; gap: 7px; max-width: 100%; min-height: 34px; padding: 6px 14px; text-align: start; }
.hero-slide-tab svg { flex: none; width: 16px; height: 16px; }
.hero-slide-toggle { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; padding: 0; }
.hero-slide-toggle svg { width: 16px; height: 16px; }
.hero-slide-tab:hover, .hero-slide-toggle:hover { background: rgba(255, 255, 255, 0.2); }
.hero-slide-tab:active, .hero-slide-toggle:active { background: rgba(255, 255, 255, 0.28); }
.hero-slide-tab[aria-current="true"] { background: #fff; color: var(--text); box-shadow: none; }
.hero-slide-tab[aria-current="true"] svg { color: var(--primary); }
.hero-slide-tab[aria-current="true"]:hover { background: var(--primary-soft); }
.hero-slide-tab[aria-current="true"]:active { background: var(--primary-soft-hover); }
.hero-slide-progress { position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: 0 50%; pointer-events: none; }
:root[dir="rtl"] .hero-slide-progress { transform-origin: 100% 50%; }
.hero-slide-toggle .icon-play, .hero-stage.is-paused .hero-slide-toggle .icon-pause { display: none; }
.hero-stage.is-paused .hero-slide-toggle .icon-play { display: block; }
/* The drawings of the hero. Like the diagram of the server they keep their layout from left to right in every language,
   and their labels are placed by coordinates (data-fit, assets/site.js). */
.hero-scene { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; direction: ltr; }
.hero-scene text { font-family: "Segoe UI", system-ui, sans-serif; }
/* Parts that exist only while a drawing moves. Its still frame does not show them. */
.hero-scene .transient { opacity: 0; }
/* Colours and lines of the two drawings. Rules both drawings share: a paper stage, white rooms, petrol walls and the account colours of the program. Classes
   that start with p- only paint. The stories in hero-slides.js address the classes that start with d- and h-. */
.hero-scene .p-label { font-size: 24px; font-weight: 600; fill: #1e1c19; }
/* The message of a drawing: where the data stays. */
.hero-scene .p-note { font-size: 23px; font-weight: 700; fill: #0b6e66; }
.hero-scene .p-mid { text-anchor: middle; }
/* Kannada, Malayalam and Tamil need more room than the boxes of the drawings have. A smaller size keeps their labels from
   being squeezed by more than about ten percent (data-fit, assets/site.js). */
:root:lang(kn) .hero-scene .p-label, :root:lang(ml) .hero-scene .p-label, :root:lang(ta) .hero-scene .p-label,
:root:lang(kn) .hero-scene .p-note, :root:lang(ml) .hero-scene .p-note, :root:lang(ta) .hero-scene .p-note { font-size: 20px; }
/* Ground, garden and the walls of the house. */
.hero-scene .p-ground { fill: #dfdad1; fill-opacity: .45; }
.hero-scene .p-thin { fill: none; stroke: #dfdad1; stroke-width: 2.5; stroke-linecap: round; }
.hero-scene .p-tree { fill: #2f6e4f; fill-opacity: .2; }
.hero-scene .p-trunk { fill: none; stroke: #5a554d; stroke-opacity: .35; stroke-width: 4; stroke-linecap: round; }
.hero-scene .p-white { fill: #fff; }
.hero-scene .p-none { fill: none; }
.hero-scene .p-ink { stroke: #0b6e66; stroke-width: 8; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene .p-furn { fill: none; stroke: #5a554d; stroke-opacity: .38; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* The one line to the outside world is dotted, so it differs from everything inside the walls. It enters through one
   port in the floor. The arrows show its direction in the still frame, the ring lights up when a mail passes. */
.hero-scene .p-line { fill: none; stroke: #0b6e66; stroke-width: 4.5; stroke-linecap: round; stroke-dasharray: .1 10; }
.hero-scene .p-arrow { fill: none; stroke: #0b6e66; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene .p-port { fill: #f3f1ec; stroke: #0f3b3c; stroke-width: 3; }
.hero-scene .p-ring { fill: none; stroke: #e0a800; stroke-width: 3.5; }
/* Account colours: 1 blue, 2 ochre, 3 violet, 4 green. f fills, s strokes, l fills with the lightened tone. */
.hero-scene .p-f1 { fill: #2b5daa; }
.hero-scene .p-f2 { fill: #a1620b; }
.hero-scene .p-f3 { fill: #7a4b94; }
.hero-scene .p-f4 { fill: #2f6e4f; }
.hero-scene .p-s1 { stroke: #2b5daa; }
.hero-scene .p-s2 { stroke: #a1620b; }
.hero-scene .p-s3 { stroke: #7a4b94; }
.hero-scene .p-s4 { stroke: #2f6e4f; }
.hero-scene .p-l1 { fill: #86aee6; }
.hero-scene .p-l2 { fill: #e3b06a; }
.hero-scene .p-l3 { fill: #b79ad0; }
.hero-scene .p-l4 { fill: #86c7a1; }
/* The clouds of the mail providers with their neutral signs, and the mails that leave them. */
.hero-scene .p-cloud { fill-opacity: .5; stroke-width: 3.5; stroke-linejoin: round; }
.hero-scene .p-sign { fill: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene .p-glyph { fill: none; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene .p-env { fill: #fff; stroke-width: 3; stroke-linejoin: round; }
.hero-scene .p-flap { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
/* The yellow of the spark always carries its darker rim, so it holds on the light ground. */
.hero-scene .p-spark { fill: #ffd04a; stroke: #e0a800; stroke-width: 1; stroke-linejoin: round; }
.hero-scene .p-dot { fill: #ffd04a; stroke: #e0a800; stroke-width: 2; }
/* The shield beside the message. */
.hero-scene .p-shield { fill: #ffd04a; stroke: #e0a800; stroke-width: 1.5; stroke-linejoin: round; }
.hero-scene .p-check { fill: none; stroke: #2b2100; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
/* Mailshines as a desktop app: the study of the house from close up, with one computer. */
.hero-scene-desktop { background: #f3f1ec; }
.hero-scene-desktop .p-desk { fill: none; stroke: #5a554d; stroke-opacity: .45; stroke-width: 5; stroke-linecap: round; }
/* The computer: dark petrol case and screen frame, a pale screen, the name on the frame below it. */
.hero-scene-desktop .p-case { fill: #0f3b3c; }
.hero-scene-desktop .p-vent { fill: none; stroke: #4cbfb1; stroke-opacity: .6; stroke-width: 3; stroke-linecap: round; }
.hero-scene-desktop .p-screen { fill: #dcebe8; }
.hero-scene-desktop .p-plate { font-size: 21px; font-weight: 600; fill: #fff; }
/* The window of Mailshines: a white card with a fine frame, toolbar and account tree on paper. */
.hero-scene-desktop .p-win { fill: #fff; stroke: #dfdad1; stroke-width: 1.5; }
.hero-scene-desktop .p-bar { fill: #f3f1ec; }
.hero-scene-desktop .p-rule { fill: none; stroke: #dfdad1; stroke-width: 1.2; }
.hero-scene-desktop .p-btn { fill: #0b6e66; }
.hero-scene-desktop .p-pill { fill: #dfdad1; }
.hero-scene-desktop .p-find { fill: #fff; stroke: #dfdad1; stroke-width: 1.5; }
.hero-scene-desktop .p-t1 { fill: none; stroke: #1e1c19; stroke-opacity: .72; stroke-width: 4.5; stroke-linecap: round; }
.hero-scene-desktop .p-t2 { fill: none; stroke: #5a554d; stroke-opacity: .32; stroke-width: 3.5; stroke-linecap: round; }
.hero-scene-desktop .p-dot { stroke-width: 1.5; }
/* The house with the pneumatic tubes on the paper ground of the page. */
.hero-scene-house { background: #f3f1ec; }
.hero-scene-house .p-sun { fill: #ffd04a; fill-opacity: .4; }
.hero-scene-house .p-leaf { fill: none; stroke: #2f6e4f; stroke-opacity: .55; stroke-width: 3; stroke-linecap: round; }

/* Tubes: a petrol pipe with a light core, so the yellow capsules read on it. */
.hero-scene-house .p-tube { fill: none; stroke: #0b6e66; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; }
.hero-scene-house .p-tube-in { fill: none; stroke: #fff; stroke-width: 5.5; stroke-linecap: round; stroke-linejoin: round; }

/* Devices and what their screens show. */
.hero-scene-house .p-dev { fill: #fff; stroke: #0f3b3c; stroke-width: 3; }
.hero-scene-house .p-devb { fill: none; stroke: #0f3b3c; stroke-width: 4; stroke-linecap: round; }
.hero-scene-house .p-rows { fill: none; stroke: #0b6e66; stroke-opacity: .5; stroke-width: 3.5; stroke-linecap: round; }

/* Server: petrol box with pigeonholes, the spark sits on petrol. */
.hero-scene-house .p-srv { fill: #0b6e66; stroke: #0f3b3c; stroke-width: 3; }
.hero-scene-house .p-eave { fill: #0f3b3c; }
.hero-scene-house .p-slot { fill: #4cbfb1; fill-opacity: .55; }
.hero-scene-house .p-halo { fill: none; stroke: #ffd04a; stroke-width: 3; }

/* Capsules, sync pulses and the tap of the reading person. */
.hero-scene-house .p-cap { fill: #ffd04a; stroke: #e0a800; stroke-width: 2; }
.hero-scene-house .p-pulse { fill: #4cbfb1; stroke: #0b6e66; stroke-width: 2; }
.hero-scene-house .p-tap { fill: none; stroke: #a1620b; stroke-width: 3; }
.hero-scene-house .p-ok { fill: #0b6e66; stroke: #fff; stroke-width: 1.5; }
.hero-scene-house .p-okc { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
@media (prefers-reduced-motion: reduce) {
  .hero-slide, .hero-slide.is-current, .hero-slide.is-leaving { transition: none; }
}

.tile-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 14px; }
.tile { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; color: inherit; text-decoration: none; }
/* 402 by 251 is the size of the smallest picture, so a wide window shows it without any scaling. */
.tile img { display: block; width: 100%; height: auto; aspect-ratio: 402 / 251; object-fit: cover; object-position: top left; }
.tile-body { padding: 12px 14px 14px; border-top: 1px solid var(--border); }
.tile-body h3 { font-size: 17px; line-height: 1.3; margin: 0 0 4px; color: var(--primary); }
.tile-body p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.tile:hover { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 6px 18px rgba(11, 42, 44, 0.14); }
.tile:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.tile:active { border-color: var(--primary-active); box-shadow: 0 0 0 1px var(--primary-active); }
.tile:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }

.cta-band { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding: 20px 24px; border-radius: 12px; background: var(--dark-gradient); color: #fff; }
.cta-band > div:first-child { flex: 1 1 360px; }
.cta-band h2 { font-size: 22px; line-height: 1.25; margin: 0 0 4px; }
.cta-band p { margin: 0; color: var(--on-dark); }

/* Concept sections of the start page (server, AI, e-invoice): text beside pictures or a drawing. */
.concept { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px 32px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 22px 24px; }
.concept > * { min-width: 0; }
.concept-text h3 { font-size: 19px; line-height: 1.3; margin: 0 0 8px; }
.concept-text p { margin: 0 0 12px; }
.concept-text ul { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 6px; }
.concept-text li { padding-inline-start: 24px; background: var(--check) left 4px no-repeat; background-size: 16px; }
.concept-text .facts { font-size: 15px; }
.concept + .concept { margin-top: 14px; }
.concept-figure { margin: 0; display: grid; gap: 12px; }
.concept-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.concept-figure figcaption { font-size: 14px; color: var(--muted); }
/* Pictures that lead to the feature page show that they can be clicked. */
.concept-figure a { display: block; border-radius: 8px; }
.concept-figure a:hover img { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary), 0 6px 18px rgba(11, 42, 44, 0.14); }
.concept-figure a:active img { border-color: var(--primary-active); box-shadow: 0 0 0 1px var(--primary-active); }
.concept-figure .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
/* The drawing of the server with its clients. */
/* The diagram keeps its layout in every language. Its labels are placed by coordinates, so it always runs from left to
   right, also on pages written from right to left. */
.network { width: 100%; height: auto; display: block; direction: ltr; }
.network .zone { fill: #f7f5f1; stroke: var(--border); stroke-width: 1.5; }
.network .zone-title { font: 700 15px "Segoe UI", system-ui, sans-serif; fill: var(--muted); letter-spacing: .06em; }
.network .server { fill: var(--sidebar); }
.network .server-title { font: 700 19px "Segoe UI", system-ui, sans-serif; fill: #fff; }
.network .server-sub { font: 14px "Segoe UI", system-ui, sans-serif; fill: var(--on-dark); }
.network .block { fill: rgba(255, 255, 255, 0.1); stroke: rgba(255, 255, 255, 0.28); }
.network .block-text { font: 600 14px "Segoe UI", system-ui, sans-serif; fill: #fff; }
.network .client { fill: #fff; stroke: var(--primary); stroke-width: 2; }
.network .client-title { font: 700 15px "Segoe UI", system-ui, sans-serif; fill: var(--text); }
.network .client-sub { font: 13px "Segoe UI", system-ui, sans-serif; fill: var(--muted); }
.network .cloud { fill: #fff; stroke: var(--border); stroke-width: 1.5; }
.network .optional { stroke-dasharray: 6 5; }
.network .link { stroke: var(--primary); stroke-width: 3; fill: none; }
.network .link.thin { stroke-width: 2; }
.network .link.out { stroke: #8a857c; }
.network .link-text { font: 600 13px "Segoe UI", system-ui, sans-serif; fill: var(--primary); }
.network .link-text.out { fill: #6b665d; }
.variant-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 14px; margin-top: 14px; }
.variant { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.variant .usp-icon { grid-row: span 2; }
.variant h3 { font-size: 17px; line-height: 1.3; margin: 0; }
.variant p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
/* Pictures of the mobile style in a simple phone frame. */
.phones { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.phone { width: min(200px, 44%); margin: 0; padding: 7px; border-radius: 26px; background: #1d2425; box-shadow: 0 8px 22px rgba(11, 42, 44, 0.22); }
.phone img { display: block; width: 100%; height: auto; border-radius: 19px; border: 0; }

.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 14px; }
.usp { display: grid; grid-template-columns: 42px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.usp-icon { grid-row: span 2; display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); }
.usp-icon svg { width: 24px; height: 24px; }
.usp h3 { font-size: 17px; line-height: 1.3; margin: 0; }
.usp p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }

.platform-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.platform-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 2px 12px; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; }
.platform-card img, .platform-card > svg { grid-row: span 2; width: 40px; height: 40px; }
.platform-card > svg { color: var(--primary); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.platform-card h3 { font-size: 18px; line-height: 1.3; margin: 0; }
.platform-card h3 .soon-badge { margin-inline-start: 6px; vertical-align: 2px; }
.platform-card p { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 10px 24px; margin: 16px 0 0; }
.facts-grid dt { font-weight: 700; }
.facts-grid dd { margin: 0; font-size: 15px; line-height: 1.45; color: var(--muted); }

.capabilities { columns: 3 320px; column-gap: 14px; }
.capability-group { break-inside: avoid; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; }
.capability-group h3 { font-size: 17px; line-height: 1.3; margin: 0 0 8px; }
.capability-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.capability-group li { padding-inline-start: 24px; font-size: 15px; line-height: 1.4; background: var(--check) left 2px no-repeat; background-size: 16px; }

.home-footer { max-width: 1320px; padding: 20px clamp(16px, 2.5vw, 40px) 32px; }

/* Wide windows keep exactly the width the pictures are made for: tiles of 402 pixels. */
@media (min-width: 1320px) {
  .home-section, .hero-inner { padding-inline: 40px; }
}
@media (max-width: 1180px) {
  .site-nav-sections { display: none; }
}
@media (max-width: 1040px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); }
  .concept { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .hero h1 { font-size: 32px; }
  .hero-why { font-size: 19px; }
  .hero-lead { font-size: 17px; }
  .hero-points { grid-template-columns: minmax(0, 1fr); }
  .hero-slide-tab { padding-inline: 11px; }
  .button.large { width: 100%; flex: 0 1 auto; justify-content: center; }
  .hero-links .button { flex: 1 1 140px; justify-content: center; padding-inline: 12px; white-space: nowrap; }
  .site-header.is-sticky { position: static; }
  .has-sticky-header { scroll-padding-top: 16px; }
  .cta-band { padding: 16px; }
  .cta-band .buttons { width: 100%; }
  .cta-band .buttons .button { flex: 1 1 140px; justify-content: center; padding-inline: 12px; white-space: nowrap; }
  /* The Store button carries the longest label. On a very narrow phone it wraps instead of widening the page. */
  .cta-band .buttons a.button { white-space: normal; }
  .concept { padding: 16px; }
  .concept-figure .pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .site-bar { flex-wrap: wrap; gap: 8px 10px; }
}
/* On small screens the list of languages lies over the whole width right below the globe button. */
@media (max-width: 640px) {
  .lang-list { position: fixed; inset-inline: 12px; top: var(--lang-top, 64px); width: auto; max-width: none; grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: calc(100vh - var(--lang-top, 64px) - 16px); max-height: calc(100dvh - var(--lang-top, 64px) - 16px); }
  .lang-list a { overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 560px) {
  h1 { font-size: 26px; }
  .site-brand span { font-size: 18px; }
  .site-publisher { padding: 3px 6px; margin-inline-start: -6px; }
  .site-publisher img { height: 25px; }
  .site-nav a { padding: 8px; }
  .button { justify-content: center; }
  .card { padding: 18px; }
  .button.large { padding: 16px 24px; font-size: 19px; }
  .download .button { width: 100%; }
}

/* Relay page of the sign-in with a mail provider (oauth/redirect.html, docs/OAuth-Registrierung.md): one centred card. */
.relay { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.relay-card { max-width: 520px; padding: 32px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; text-align: center; }
.relay-card h1 { margin: 12px 0 8px; font-size: 24px; line-height: 1.25; }
.relay-card p { margin: 0 0 20px; }
.relay-card .relay-hint { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
/* Page to report a mail provider that does not allow access from Mailshines (support/provider.html). */
.support { min-height: 100vh; display: grid; place-items: start center; padding: 24px; }
.support-card { width: 100%; max-width: 560px; margin: 24px 0; padding: 32px; background: var(--card); border: 1px solid var(--border); border-radius: 16px; }
.support-card h1 { margin: 12px 0 8px; font-size: 24px; line-height: 1.25; }
.support-card h2 { margin: 0 0 8px; font-size: 20px; }
.support-intro { margin: 0 0 20px; }
.support-fields { display: grid; gap: 16px; }
.support-field { display: grid; gap: 6px; font-weight: 600; }
.support-field input, .support-field textarea { width: 100%; padding: 10px 12px; font: inherit; font-weight: 400; color: var(--text); background: var(--card); border: 1px solid var(--border); border-radius: 8px; }
.support-field textarea { resize: vertical; min-height: 110px; }
.support-field input:focus-visible, .support-field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; }
.support-field small, .support-privacy { margin: 0; color: var(--muted); font-size: 14px; font-weight: 400; }
/* The trap field for bots is hidden without moving it off the page: an offset to the left would widen a page written from right to left. */
.support-trap { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.support-status { min-height: 24px; margin: 16px 0 0; color: var(--muted); }
.support-status.is-error { color: #a4262c; font-weight: 600; }
.support-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; margin-top: 12px; }
.support-actions .button:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 480px) { .support { padding: 12px; } .support-card { margin: 0; padding: 20px; } }
