/*
 * SystemTrayMenu v3 page: only what /design/hofknecht.css does not cover.
 * Layout like a product page: centered head with icon and picture, three highlights, a short list,
 * try and buy side by side, questions, small facts at the end.
 */
.section { padding-bottom: clamp(56px, 8vw, 96px); }
kbd { font: 700 14px/1 var(--display); padding: 2px 6px; border-radius: 6px; background: var(--bg-3); color: var(--ink); }

/* the product part of the bar (.head--product) comes from /design/hofknecht.css; dark icons get a faint light edge */
.head__product img { filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)); }

/* head: icon, name, claim, buttons, systems, picture */
.app-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(56px, 8vw, 96px); text-align: center; }
.app-hero__icon { display: block; width: 96px; height: 96px; margin: 0 auto 20px; filter: drop-shadow(0 0 1px rgba(255, 255, 255, .35)) drop-shadow(0 10px 24px rgba(0, 0, 0, .45)); }
.app-hero__title { margin: 0; font: 800 clamp(20px, 2.4vw, 24px)/1.2 var(--display); color: var(--ink-dim); }
.app-hero__claim { margin: 10px 0 0; font: 800 clamp(36px, 6vw, 64px)/1.08 var(--display); letter-spacing: -0.02em; color: var(--ink); }
.app-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.app-hero__lead { margin: 14px auto 0; max-width: 34ch; font-size: clamp(18px, 2.2vw, 21px); color: var(--ink-dim); }
.app-hero__os { margin: 16px 0 0; font-size: 14px; color: var(--ink-dim); }
.app-hero__proof { margin: 6px 0 0; font-size: 14px; color: var(--ink-dim); }
.app-hero__proof a { color: var(--ink); }
.app-hero__pic, .topic__pic { max-width: 820px; margin: clamp(40px, 6vw, 64px) auto 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.app-hero__pic img, .app-hero__pic video, .topic__pic video { display: block; width: 100%; height: auto; }
.trailer-os { display: inline-flex; gap: 4px; margin-top: 14px; padding: 3px; border-radius: 999px; background: var(--bg-3); }
.trailer-os[hidden] { display: none; }
.trailer-os button { border: 0; border-radius: 999px; padding: 5px 14px; background: none; color: var(--ink-dim); font: inherit; font-size: 14px; cursor: pointer; }
.trailer-os button[aria-pressed="true"] { background: color-mix(in srgb, var(--accent) 14%, transparent); color: var(--ink); }
.trailer-os button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* three highlights with a big word each, then the rest as a quiet grid */
.highlights { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.highlights li { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-2); }
.highlights__kicker { margin: 0; font: 700 13px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent-text); }
.highlights h3 { margin: 8px 0 10px; font: 800 24px/1.2 var(--display); }
.highlights p:last-child { margin: 0; color: var(--ink-dim); font-size: 16px; }
.more { display: grid; gap: 28px 32px; margin: clamp(40px, 6vw, 56px) 0 0; padding: 0; list-style: none; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.more h3 { margin: 0 0 4px; font: 800 17px/1.3 var(--display); }
.more p { margin: 0; color: var(--ink-dim); font-size: 15px; }

/* try and buy side by side; the download box brings version, buttons and notes */
.offer { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.offer__item { display: flex; flex-direction: column; padding: 28px; }
.offer__item h3 { margin: 0 0 6px; font: 800 24px/1.2 var(--display); }
.offer__item > p { margin: 0 0 12px; color: var(--ink-dim); font-size: 16px; }
.offer__price { font: 800 44px/1 var(--display) !important; letter-spacing: -0.02em; color: var(--ink) !important; margin: 6px 0 14px !important; }
.offer__item .btn { margin: 4px 6px 4px 0; }
.offer__item .release-box .card__title { display: none; }
.offer__item .release-box p { margin: 0 0 10px; color: var(--ink-dim); font-size: 14px; }
/* keep the card short: no notes of the current version, no repeated trial hint; earlier versions stay folded */
.offer__item .release-box > h3, .offer__item .release-box__notes, .offer__item .release-box__files ~ p:not(.release-box__mac) { display: none; }
.offer__item .release-box p.release-box__mac { margin: 4px 0 10px; color: var(--ink); font-size: 14px; }
.offer__item .release-box summary { margin-top: 8px; cursor: pointer; font-size: 14px; color: var(--ink-dim); }
.offer__item .release-box details ul { padding-left: 18px; color: var(--ink-dim); font-size: 14px; }
.offer__item > p:last-child { margin-top: auto; }
.offer__hint { margin: 18px 0 0; text-align: center; font-size: 15px; color: var(--ink-dim); }
.offer__hint a, .offer__item a:not(.btn), .faq a, .facts a { color: var(--accent-text); }

/* frequently asked questions */
.faq { max-width: 820px; margin-inline: auto; }
.faq__item { border-top: 1px solid var(--line); padding: 16px 0; }
.faq__item:last-of-type { border-bottom: 1px solid var(--line); }
.faq__item summary { cursor: pointer; font-weight: 700; }
.faq__item p { margin: 10px 0 0; max-width: 70ch; color: var(--ink-dim); }
.faq__item code { overflow-wrap: anywhere; }
.faq__more { margin: 20px 0 0; font-size: 15px; color: var(--ink-dim); }

/* small facts at the end */
.facts { display: grid; gap: 24px 40px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.facts h2 { margin: 0 0 6px; font: 700 13px/1.2 var(--display); letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-dim); }
.facts p { margin: 0; font-size: 14px; color: var(--ink-dim); }

/* "Neu in SystemTrayMenu" (neu/, U3): one block per version, newest first, written by tools/neuerungen.py */
.changes { max-width: 820px; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); }
.changes__kicker, .help__kicker, .topic__kicker { margin: 0; font: 700 13px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.changes__title, .help__title, .topic__title { margin: 10px 0 0; font: 600 clamp(36px, 6vw, 56px)/1.08 var(--display); letter-spacing: -0.03em; }
.changes__lead, .help__lead, .topic__lead { margin: 16px 0 clamp(32px, 5vw, 48px); max-width: 56ch; font-size: clamp(17px, 2vw, 19px); color: var(--ink-dim); }
.changes__version { display: grid; grid-template-columns: 10rem 1fr; gap: 8px 24px; padding: 24px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.changes__version h2 { margin: 0; font: 800 20px/1.3 var(--display); }
.changes__version time { display: block; margin-top: 2px; font: 400 14px/1.4 var(--text); color: var(--ink-dim); }
.changes__version ul { margin: 0; padding: 0; list-style: none; }
.changes__version li { display: flex; gap: 10px; align-items: baseline; margin: 0 0 10px; font-size: 16px; }
.changes__version li:last-child { margin-bottom: 0; }
.changes__tag { --c: var(--ink-dim); flex: none; min-width: 4.6rem; padding: 0 8px; border-radius: 999px; text-align: center; font: 700 12px/1.7 var(--display); background: color-mix(in srgb, var(--c) 16%, transparent); }
.changes__tag--new { --c: #8b5cf6; }
.changes__tag--better { --c: #3d8bfd; }
/* the version the app links to after an update stands out as a card */
.changes__version:target { margin-inline: -24px; padding-inline: 24px; border-radius: var(--radius); border-top-color: transparent; background: var(--bg-2); }
.changes__version:target + .changes__version { border-top-color: transparent; }
.changes__end, .help__end, .topic__end { margin: 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink-dim); }
.changes__end a { color: var(--accent-text); }
@media (max-width: 640px) {
  .changes__version { grid-template-columns: 1fr; }
  .changes__version:target { margin-inline: -12px; padding-inline: 12px; }
}

/* "Hilfe" (hilfe/, V13): same head as above, then steps, keys, settings, systems and problems (as the questions) */
.help { max-width: 880px; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); }
.help a { color: var(--accent-text); }
.help__toc { display: flex; flex-wrap: wrap; gap: 8px; margin: calc(-1 * clamp(8px, 2vw, 16px)) 0 0; padding: 0; list-style: none; }
.help__toc a { display: block; padding: 7px 16px; border-radius: 999px; background: var(--bg-3); color: var(--ink); font-size: 15px; text-decoration: none; }
.help__toc a:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.help__toc a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.help__part { padding-bottom: clamp(48px, 7vw, 72px); scroll-margin-top: 72px; }
.help__part:first-of-type { padding-top: clamp(48px, 7vw, 72px); }
.help__part > h2, .topic h2 { margin: 0 0 12px; font: 600 clamp(28px, 4vw, 40px)/1.15 var(--display); letter-spacing: -0.03em; }
.help__part > p, .help__part > .help__note { margin: 0 0 20px; max-width: 64ch; color: var(--ink-dim); }
.help__part > .help__note { margin-top: 16px; font-size: 15px; }
.help h3 { margin: 32px 0 10px; font: 800 20px/1.3 var(--display); scroll-margin-top: 72px; }
.help h4 { margin: 24px 0 4px; font: 700 13px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.help code, .topic code { overflow-wrap: anywhere; }
/* first steps: the numbered .steps of /design/hofknecht.css, two side by side where there is room */
.help .steps { margin: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.help .steps h3, .topic .steps h3 { margin: 2px 0 6px; font: 800 19px/1.25 var(--display); }
/* keys and systems: lines only, wide tables scroll inside their box */
.help__table { overflow-x: auto; }
.help table { width: 100%; border-collapse: collapse; font-size: 15px; }
.help th, .help td { padding: 10px 16px 10px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.help thead th { border-top: 0; font: 700 13px/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-dim); }
.help tbody th { font-weight: 700; white-space: nowrap; }
.help td { color: var(--ink-dim); }
.help__systems { min-width: 640px; }
.help__systems tbody th { white-space: normal; }
/* mouse, search and settings: name left, explanation right, the default as a pill */
.help dl { display: grid; grid-template-columns: minmax(0, 15rem) 1fr; gap: 0 24px; margin: 0; }
.help dt, .help dd { padding: 10px 0; border-top: 1px solid var(--line); }
.help dt { font-weight: 700; }
.help dd { margin: 0; color: var(--ink-dim); }
.help dd small { display: inline-block; margin-left: 4px; padding: 0 9px; border-radius: 999px; background: var(--bg-3); color: var(--ink); font: 700 12px/1.8 var(--display); white-space: nowrap; }
.help dd small:only-child { margin-left: 0; }
@media (max-width: 640px) {
  .help dl { grid-template-columns: 1fr; }
  .help dd { padding-top: 0; border-top: 0; }
}

/* topic pages for search engines (windows-11-toolbar/, -quick-launch/, -pin-folder/; V17d): same head as above, three steps, picture, buttons */
.topic { max-width: 820px; padding: clamp(48px, 8vw, 88px) 0 clamp(56px, 8vw, 96px); }
.topic a:not(.btn) { color: var(--accent-text); }
.topic__more { margin: 24px 0 0; max-width: 64ch; color: var(--ink-dim); }
.topic__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 0; }
.topic__end { margin-top: clamp(40px, 6vw, 56px); }

/* press page (presse/, V17c): fact sheet as name and value like the help, texts to copy in quiet boxes, pictures and trailers side by side */
.press h2 { margin-top: clamp(48px, 7vw, 72px); scroll-margin-top: 72px; }
.press h3 { margin: 24px 0 8px; font: 800 19px/1.25 var(--display); }
.press > p:not([class]) { margin: 0 0 20px; max-width: 64ch; color: var(--ink-dim); }
.press .topic__actions { margin: 0; }
.press__facts { display: grid; grid-template-columns: minmax(0, 10rem) 1fr; gap: 0 24px; margin: 0; }
.press__facts dt, .press__facts dd { padding: 10px 0; border-top: 1px solid var(--line); }
.press__facts dt { font-weight: 700; }
.press__facts dd { margin: 0; color: var(--ink-dim); }
.press__text { padding: 16px 20px; border-radius: var(--radius); background: var(--bg-3); }
.press__text p, .press__text ul { margin: 0 0 12px; }
.press__text > :last-child { margin-bottom: 0; }
.press__pics { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin: 0 0 20px; }
.press__pics figure { margin: 0; }
.press__pics img, .press__pics video { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: var(--shadow); }
.press__pics figcaption { margin-top: 8px; font-size: 15px; color: var(--ink-dim); }
@media (max-width: 640px) {
  .press__facts { grid-template-columns: 1fr; }
  .press__facts dd { padding-top: 0; border-top: 0; }
}
