/* VertexTask – public pages (home page, detail pages, legal pages, contact, maintenance). Brand: night black #0a0a11, violet #5b27d9 / #8b2cff.
   Calm, led by type: hierarchy comes from size, weight, space and 1px lines – no cards in a grid, no pills, no icon tiles, no shadows,
   no gradients (except the one inside the logo), radius 6px, one accent colour (violet: primary buttons, links, current page).
   Sections are rows: text on one side, a picture on the other, with changing proportions (.row-a … .row-d); pictures are edited
   cut-outs of the real app (assets/img/site/, <picture> via site_image()), in rows a and b they run to the edge of the window. The hero (and the page heads, with an own upload) is a banner: the picture lies behind the text, white text under a flat overlay.
   Dark is the design, light has its own tokens. Motion is small and runs once (site.js adds .reveal/.in-view); all of it is off with "reduce motion". */

body.site { background: var(--surface); font-size: 15px; line-height: 1.65; }
.site { --site-max: 1200px; --site-text: 62ch; --brand-black: #0a0a11; --brand-violet: #5b27d9; --brand-violet-light: #8b2cff; }
.site-wrap { max-width: var(--site-max); margin: 0 auto; padding: 0 32px; }
.site-wrap.narrow { max-width: var(--site-max); } /* left edge in line with the logo, text limited to 70ch below */
.site .icon { width: 16px; height: 16px; flex: none; stroke: currentColor; fill: none; }
.site main a:not(.btn), .site-footer-brand a { color: var(--accent); text-decoration-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.site main a:not(.btn):hover { text-decoration-color: currentColor; }
.site code { font-family: var(--mono); font-size: .88em; background: var(--surface-2); border: 1px solid var(--border); border-radius: 3px; padding: 0 4px; }

/* Buttons: primary = the one accent colour, everything else neutral */
.site .btn { height: 36px; padding: 0 14px; font-size: 14px; }
.site .btn.lg { height: 42px; padding: 0 18px; font-size: 15px; }
.site .btn.primary { background: var(--accent-fill); border-color: var(--accent-fill); color: #fff; }
.site .btn.primary:hover { opacity: 1; background: color-mix(in srgb, var(--accent-fill) 88%, #000); }
.site .btn, .site .btn.ghost { transition: background-color .1s, color .1s, border-color .1s; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 20; background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .site-wrap { display: flex; align-items: center; gap: 28px; height: 60px; max-width: 1360px; }
.site-brand { display: flex; white-space: nowrap; align-items: center; gap: 8px; font-weight: 700; letter-spacing: -.01em; font-size: 16px; color: var(--text); text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.site-nav a { color: var(--text-2); text-decoration: none; font-size: 14px; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--text); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; text-decoration-color: var(--accent); }
.site-nav .icon { width: 12px; height: 12px; }
.site-nav-actions { display: none; }
.site-actions { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.site-menu-btn { display: none; }
/* Language (DE | EN) and light/dark – stay visible on phones */
.site-lang { display: inline-flex; border: 1px solid var(--border-strong); border-radius: var(--r-sm); overflow: hidden; font-size: 12px; font-weight: 600; }
.site-lang a { padding: 4px 8px; color: var(--text-2); text-decoration: none; }
.site-lang a:hover { color: var(--text); background: var(--hover); }
.site-lang a[aria-current] { color: var(--text); background: var(--surface-2); }
.site-theme .icon:last-child, [data-theme="dark"] .site-theme .icon:first-child { display: none; }
[data-theme="dark"] .site-theme .icon:last-child { display: inline-block; }

/* ---------------------------------------------------------------- type scale: 13 · 14 · 15 · 18 · 22/30 · 56 */
.site main h1 { font-size: clamp(34px, 4vw, 48px); line-height: 1.08; text-wrap: balance; letter-spacing: -.028em; font-weight: 650; margin: 0 0 22px; }
.site main h2 { font-size: 30px; line-height: 1.18; letter-spacing: -.018em; font-weight: 650; margin: 0 0 16px; }
.site main h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-2); font-weight: 600; margin: 0 0 12px; }
.site main p { margin: 0 0 14px; }
.site-note { font-size: 14px; color: var(--text-2); margin: 16px 0 0; }
.site-label { font-size: 13px; font-weight: 600; color: var(--text-3); margin: 0 0 10px; letter-spacing: .02em; }
.site-lead { font-size: 18px; line-height: 1.6; color: var(--text-2); max-width: 54ch; }

/* ---------------------------------------------------------------- hero: the picture lies behind the text (banner) */
/* Full-width picture (object-fit cover, focal point fx-/fy-, flat overlay ov-), white text on it. Same grid as the rows. */
.site-banner { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--brand-black); --fx: 50%; --fy: 50%; --ov: .5; }
.site-banner-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.site-banner-media .site-img.site-banner-img { width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) var(--fy); transform-origin: var(--fx) var(--fy); }
.site-banner-media picture { display: block; height: 100%; }
.site-banner-media::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / var(--ov)); }
.site-banner-fill { display: none; } /* phones only, see the end of this file */
[data-theme="dark"] .site-banner-img { filter: brightness(.86); }
.site main .site-banner :is(h1, .site-lead) { color: #fff; text-shadow: 0 1px 2px rgb(0 0 0 / .35); }
.site main .site-banner .site-lead, .site main .site-banner .site-facts { color: rgb(255 255 255 / .9); }
.site main .site-banner .site-label { color: rgb(255 255 255 / .75); }
.site-banner .btn:not(.primary) { background: transparent; border-color: rgb(255 255 255 / .55); color: #fff; }
.site-banner .btn:not(.primary):hover { background: rgb(255 255 255 / .12); border-color: #fff; }
.site-banner a:focus-visible, .site-banner button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.site-hero-grid, .site-row { display: grid; grid-template-columns: minmax(32px, 1fr) repeat(12, minmax(0, 94.67px)) minmax(32px, 1fr); align-items: center; }
.site-hero-grid { padding: 104px 0 112px; }
.site-hero-text { grid-column: 2 / 9; padding-right: 24px; }
.site-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.site-facts { margin: 16px 0 0 !important; font-size: 14px; color: var(--text-3); }

/* ---------------------------------------------------------------- pictures */
.site-img { display: block; width: 100%; height: auto; object-fit: cover; object-position: var(--fx, 50%) var(--fy, 50%); }
.fx-0 { --fx: 0%; } .fx-25 { --fx: 25%; } .fx-50 { --fx: 50%; } .fx-75 { --fx: 75%; } .fx-100 { --fx: 100%; }
.fy-0 { --fy: 0%; } .fy-25 { --fy: 25%; } .fy-50 { --fy: 50%; } .fy-75 { --fy: 75%; } .fy-100 { --fy: 100%; }
.ov-0 { --ov: 0; } .ov-10 { --ov: .1; } .ov-20 { --ov: .2; } .ov-30 { --ov: .3; } .ov-40 { --ov: .4; }
.ov-50 { --ov: .5; } .ov-60 { --ov: .6; } .ov-70 { --ov: .7; } .ov-80 { --ov: .8; }
.site-row-media { min-width: 0; border: 1px solid var(--border-strong); overflow: hidden; background: var(--brand-black); }
.site-row-media picture { display: block; }
.site-row-media .site-img { max-height: min(640px, 80vh); }
.site-figure { margin: 0; min-width: 0; }
.site-frame { border: 1px solid var(--border-strong); border-radius: var(--r); overflow: hidden; background: var(--surface); }
.site-frame img { display: block; width: 100%; height: auto; }

/* ---------------------------------------------------------------- sections and rows */
.site-section { padding: 104px 0; border-top: 1px solid var(--border); background: var(--surface); }
.site-hero + .site-section, .site-head + .site-section, .site-toc + .site-section { border-top: 0; }
.site-hero { border-bottom: 1px solid var(--border); }
.site-section p { color: var(--text-2); max-width: var(--site-text); }
.site-section .site-label { color: var(--text-3); }
.site-row { row-gap: 32px; }
/* a: text left (5/12), picture right to the edge · b: picture left to the edge, text right (5/12) · c: text 6/12 and picture 5/12 inside the page · d: picture 5/12, text 6/12 */
.row-a > .site-row-text { grid-column: 2 / 7; }
.row-a > .site-row-media { grid-column: 8 / -1; border-right: 0; border-radius: var(--r) 0 0 var(--r); }
.row-b > .site-row-media { grid-column: 1 / 8; border-left: 0; border-radius: 0 var(--r) var(--r) 0; }
.row-b > .site-row-text { grid-column: 9 / 14; }
.row-c > .site-row-text { grid-column: 2 / 8; }
.row-c > .site-row-media { grid-column: 9 / 14; border-radius: var(--r); }
.row-d > .site-row-media { grid-column: 2 / 7; border-radius: var(--r); }
.row-d > .site-row-text { grid-column: 8 / 14; }
.site-row-text { min-width: 0; }
.site-list { list-style: none; padding: 0; margin: 18px 0 0; border-top: 1px solid var(--border); }
.site-list li { padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.site-list-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; margin-top: 0; }
.site-split-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: start; }
.site-split-head h2 { margin: 0; }
.site-split-head p { margin: 4px 0 0; }
.site-cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: start; }
.site-col-text { min-width: 0; }
.site-sub { margin-top: 28px !important; }

/* facts as a ruled list (home: orders, team, files) */
.site-facts-list { margin: 0; border-bottom: 1px solid var(--border); }
.site-facts-list > div { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 2fr); gap: 8px 40px; padding: 24px 0; border-top: 1px solid var(--border); align-items: baseline; }
.site-facts-list dt { font-size: 18px; font-weight: 650; letter-spacing: -.01em; }
.site-facts-list dd { margin: 0; color: var(--text-2); }
.site-facts-list .site-facts-more { text-align: right; }
.site-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.site-pair > div { border-top: 1px solid var(--border-strong); padding-top: 28px; }
.site-pair h2 { font-size: 22px; }

/* roles table */
.site-table-wrap { margin-top: 20px; border: 1px solid var(--border); border-radius: var(--r); overflow-x: auto; max-width: 100%; }
.site-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.site-table th, .site-table td { padding: 8px 12px; border-bottom: 1px solid var(--border); text-align: center; white-space: nowrap; }
.site-table thead th { font-size: 12px; font-weight: 600; color: var(--text-2); background: var(--bg); }
.site-table th[scope="row"], .site-table thead th:first-child { text-align: left; font-weight: 600; }
.site-table tbody tr:last-child > * { border-bottom: 0; }
.site-table td { color: var(--text-2); font-family: var(--mono); }

/* "Außerdem dabei": plain ruled list, term left, text right */
.site-more h2 { margin-bottom: 20px; }
.site-dl { display: block; margin: 0; border-bottom: 1px solid var(--border); }
.site-dl div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 4px 20px; padding: 12px 0; border-top: 1px solid var(--border); }
.site-dl dt { font-weight: 600; }
.site-dl dd { margin: 0; color: var(--text-2); font-size: 14px; }

/* Discord: numbered steps and the command list */
.site-steps { list-style: none; counter-reset: step; padding: 0; margin: 0; }
.site-steps li { counter-increment: step; position: relative; padding: 0 0 16px 36px; color: var(--text-2); }
.site-steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 2px; font-family: var(--mono); font-size: 13px; color: var(--text-3); }
.site-cmds { margin: 10px 0 0; border-top: 1px solid var(--border); font-size: 14px; }
.site-cmds div { display: grid; grid-template-columns: minmax(0, 1fr); padding: 10px 0; border-bottom: 1px solid var(--border); }
.site-cmds dt code { border: 0; background: none; padding: 0; font-size: 13px; color: var(--text); }
.site-cmds dd { margin: 0; color: var(--text-2); }

/* reviews */
.site-reviews { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin-top: 8px; }
.site-review { margin: 0; padding: 20px 0; border-top: 1px solid var(--border); }
.site-review blockquote { margin: 0 0 10px; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
.site-review figcaption { font-size: 13px; color: var(--text-2); display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.site-review .stars { font-size: 12px; }
.site-rating { font-size: 15px; color: var(--text-2); margin: 0 0 20px; }
.site .partner-badge { border-radius: 3px; background: none; border: 1px solid var(--border-strong); color: var(--text-2); padding: 0 5px; font-size: 12px; }

/* FAQ: a plain list */
.site-faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 0 56px; align-items: start; }
.site-faq > .site-note { grid-column: 2; }
.site-faq-list { border-top: 1px solid var(--border); }
.site-faq details { border-bottom: 1px solid var(--border); }
.site-faq summary { cursor: pointer; padding: 14px 28px 14px 0; font-weight: 600; list-style: none; position: relative; }
.site-faq summary::-webkit-details-marker { display: none; }
.site-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-family: var(--mono); font-size: 18px; color: var(--text-2); font-weight: 400; }
.site-faq details[open] summary::after { content: "–"; }
.site-faq summary:hover { color: var(--accent); }
.site-faq details p { margin: 0 0 16px; }
main > .site-section:last-child, .site-section.site-last { border-bottom: 0; }

.site-more-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 15px; }
.site main a.site-more-link { text-decoration: none; }
.site main a.site-more-link:hover { text-decoration: underline; }
.site-more-link span { transition: transform .2s ease; }
.site-more-link:hover span { transform: translateX(3px); }
.site-update-meta { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--text-2); margin: 0 0 8px !important; }
.site-update-version { font-family: var(--mono); font-size: 13px; font-weight: 600; color: var(--text); }
.site-section .site-row-text > .btn { margin-top: 4px; }

/* ---------------------------------------------------------------- detail pages */
.site-head { padding: 96px 0 72px; border-bottom: 1px solid var(--border); }
.site-head h1 { max-width: 20ch; }
.site-head.site-banner { border-bottom-color: transparent; }
.site-head .site-lead { margin: 0; }
.site-toc { border-bottom: 1px solid var(--border); background: var(--surface); }
.site-toc .site-wrap { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-top: 14px; padding-bottom: 14px; }
.site main .site-toc a { color: var(--text-2); text-decoration: none; font-size: 14px; }
.site main .site-toc a:hover { color: var(--text); }
.site-detail .site-section { scroll-margin-top: 72px; }
.site-head + .site-section, .site-toc + .site-section { padding-top: 88px; }
.site-empty { font-size: 16px; color: var(--text-2); padding: 28px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); max-width: 70ch; }
.site-detail .site-row-text .site-steps { margin-top: 8px; }

/* updates: one article each, newest first */
.site-updates { display: flex; flex-direction: column; gap: 0; max-width: 820px; }
.site-update { padding: 0 0 44px; margin: 0 0 44px; border-bottom: 1px solid var(--border); scroll-margin-top: 72px; }
.site-update:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.site-update h2 { margin-bottom: 18px !important; }
.site-update-img { margin: 0 0 22px; }
.site-update .site-prose { max-width: none; }

/* ---------------------------------------------------------------- legal pages, contact, reviews page */
.site-page { padding: 56px 0 80px; }
.site-page h1 { font-size: 32px; letter-spacing: -.02em; margin: 0 0 24px; overflow-wrap: break-word; hyphens: auto; max-width: 70ch; }
.site-prose { max-width: 70ch; line-height: 1.7; overflow-wrap: anywhere; }
.site main .site-prose h1 { font-size: 22px; margin: 32px 0 10px; letter-spacing: -.01em; }
.site main .site-prose h2 { font-size: 18px; margin: 32px 0 8px; letter-spacing: 0; }
.site main .site-prose h3 { font-size: 16px; margin: 24px 0 6px; text-transform: none; letter-spacing: 0; color: var(--text); }
.site main .site-prose p, .site-prose ul { margin: 0 0 14px; }
.site-prose > :first-child { margin-top: 0 !important; }
.site-prose ul { padding-left: 22px; }
.site-prose li { margin: 0 0 6px; }
.site-prose li::marker { color: var(--text-3); }
/* legal pages: heading anchors (jump links like /datenschutz#cookies) */
.site-legal :is(h2, h3) { scroll-margin-top: 76px; }
.site-legal h2:target { color: var(--accent); }
.site-page .site-reviews { grid-template-columns: minmax(0, 1fr); max-width: 70ch; }
.site-form { margin-top: 28px; border: 1px solid var(--border); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 14px; max-width: 70ch; background: var(--bg); }
.site-form .site-note { margin: 0; }
.site-form .btn { align-self: flex-start; }
.site-page .notice { margin-top: 14px; max-width: 70ch; }
.site-page .thread { max-width: 70ch; }


/* ---------------------------------------------------------------- footer */
.site-footer { position: relative; isolation: isolate; padding: 56px 0 28px; font-size: 14px; color: var(--text-2); background: var(--surface); border-top: 1px solid var(--border); }
.site-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 28px; }
.site-footer h2 { margin: 0 0 10px; font-size: 13px; font-weight: 600; color: var(--text); }
.site-footer nav { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.site-footer nav a { color: var(--text-2); text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.site-footer nav a:hover { color: var(--text); text-decoration: underline; }
.site-footer nav .icon { width: 12px; height: 12px; }
.site-footer-brand .site-brand { color: var(--text); font-size: 15px; }
.site-footer-brand p { margin: 8px 0 0; max-width: 280px; line-height: 1.5; }
.site-footer-bottom { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-top: 16px; margin-top: 12px; font-size: 13px; }
.site-footer .site-cookie-link { all: unset; cursor: pointer; color: var(--text-2); }
.site-footer .site-cookie-link:hover { color: var(--text); text-decoration: underline; }
.site-footer .site-cookie-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.site-copyright { margin: 0; line-height: 1.5; max-width: 90ch; }

/* footer banner (optional, Admin → Startseite → Bilder): the picture lies behind the footer under a flat overlay, light text */
.site-footer-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--brand-black); --ov: .7; }
.site-footer-media::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / var(--ov)); }
.site-footer-media .site-img { width: 100%; height: 100%; }
.site-footer.has-image { padding-top: 64px; border-top: 0; color: rgb(255 255 255 / .8); }
.site-footer.has-image .site-footer-media { --ov: inherit; }
.site-footer-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding-bottom: 40px; margin-bottom: 40px; position: relative; }
.site-footer-cta::after { content: ""; position: absolute; left: 32px; right: 32px; bottom: 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.site-footer-cta p { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 650; letter-spacing: -.01em; color: #fff; max-width: 36ch; }
.site-footer.has-image h2, .site-footer.has-image .site-brand { color: #fff; }
.site-footer.has-image nav a, .site-footer.has-image .site-cookie-link { color: rgb(255 255 255 / .8); }
.site-footer.has-image nav a:hover, .site-footer.has-image .site-cookie-link:hover { color: #fff; }
.site-footer.has-image .site-footer-bottom { border-top-color: rgb(255 255 255 / .2); }
.site-footer.has-image .site-cookie-link:focus-visible, .site-footer.has-image a:focus-visible { outline-color: #fff; }
.site-footer.has-image .btn:not(.primary) { background: transparent; border-color: rgb(255 255 255 / .55); color: #fff; }

/* notice after leaving the app (?logout=auto|manual) */
.site-logout { padding: 16px 0; background: var(--bg); border-bottom: 1px solid var(--border); }
.site-logout-notice { display: flex; align-items: center; gap: 10px; max-width: 720px; font-size: 14px; background: var(--surface); }
.site-logout-notice > .icon { color: var(--text-2); }

/* ---------------------------------------------------------------- partners (app/partner.php) */
/* Approved partner profiles as cards: logo on a neutral tile (readable logos in light and dark), name, short text (3 lines),
   "Partner seit", button "Website besuchen". A hidden cover link (same address) makes the whole card clickable (no nested links). The grid
   fills the row (auto-fit), so one or two partners never leave empty columns; a single partner gets one wide card. */
.site-partners { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 16px; }
.site-partners > li { display: flex; min-width: 0; }
.site-partners.is-single { display: block; }
.site-partner { position: relative; flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; padding: 16px;
  border: 1px solid var(--border); border-radius: var(--r); background: var(--bg); }
.site-partner-logo { height: 128px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 16px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); }
[data-theme="dark"] .site-partner-logo, [data-theme="dark"] .site-wall-tile { background: #f1f1f4; border-color: transparent; }
.site-partner-logo img, .site-wall-tile img { width: auto; height: auto; max-width: 100%; max-height: 96px; object-fit: contain; display: block; }
.site-partner-initial { width: 72px; height: 72px; display: grid; place-items: center; border-radius: var(--r); background: #ececf1; color: #55556a; font-size: 32px; font-weight: 650; }
.site-partner-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 4px 4px; }
.site main .site-partner-name { font-size: 17px; line-height: 1.3; text-transform: none; letter-spacing: -.005em; color: var(--text); font-weight: 650; margin: 0; overflow-wrap: anywhere; }
.site main .site-partner-text { color: var(--text-2); font-size: 14px; line-height: 1.55; margin: 0; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.site main .site-partner-special { margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); }
.site-partner.is-special { border-color: var(--border-strong, var(--text-3)); }
.site-partner-wall li.is-special .site-wall-tile { border-color: var(--border-strong, var(--text-3)); }
.site main .site-partner-since { font-size: 13px; color: var(--text-2); margin: 0; }
.site .site-partner-visit { position: relative; z-index: 1; margin-top: auto; text-decoration: none; }
.site-partner-body > p + .site-partner-visit { margin-top: 12px; }
.site .site-partner-cover { position: absolute; inset: 0; border-radius: var(--r); } /* the whole card is a link (second, hidden link next to the button: same address) */
.site-partner:has(.site-partner-visit:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.site .site-partner-visit:focus-visible { outline: none; }
/* one partner: wide card, logo left, text and button right */
.site-partner.is-featured { flex-direction: row; align-items: stretch; gap: 28px; padding: 20px; }
.site-partner.is-featured .site-partner-logo { flex: 0 0 min(300px, 36%); height: auto; min-height: 180px; }
.site-partner.is-featured .site-partner-body { justify-content: center; padding: 4px 8px 4px 0; }
.site main .site-partner.is-featured .site-partner-name { font-size: 22px; }
.site main .site-partner.is-featured .site-partner-text { font-size: 15px; -webkit-line-clamp: 4; line-clamp: 4; max-width: 62ch; }
.site-partner.is-featured .site-partner-visit { margin-top: 12px; }
@media (hover: hover) {
  .site-partner.has-link { transition: border-color .2s ease, transform .25s ease; }
  .site-partner-logo img { transition: transform .25s ease; }
  .site-partner.has-link:hover { border-color: var(--text-3); transform: translateY(-2px); }
  .site-partner.has-link:hover .site-partner-logo img { transform: scale(1.04); }
  .site-partner.has-link:hover .site-partner-visit { background: var(--hover); }
}
@media (prefers-reduced-motion: reduce) {
  .site-partner.has-link, .site-partner-logo img { transition: none; }
  .site-partner.has-link:hover, .site-partner.has-link:hover .site-partner-logo img { transform: none; }
}
@media (max-width: 640px) {
  .site-partners { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .site-partner.is-featured { flex-direction: column; gap: 16px; padding: 16px; }
  .site-partner.is-featured .site-partner-logo { flex: none; height: 128px; min-height: 0; }
  .site-partner.is-featured .site-partner-body { padding: 0 4px 4px; }
}

/* ---------------------------------------------------------------- partners on the home page: logo wall */
.site-partners-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-bottom: 24px; }
.site-partners-head h2 { margin-bottom: 8px; }
.site main .site-partners-lead { margin: 0; color: var(--text-2); max-width: 60ch; }
.site-partner-wall { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 20px 16px; }
.site-partner-wall li { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.site-wall-tile { width: 100%; height: 96px; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 14px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-sm); transition: border-color .2s ease; }
.site-wall-tile img { max-height: 64px; }
.site-wall-tile .site-partner-initial { width: 52px; height: 52px; font-size: 24px; }
.site-wall-name { max-width: 100%; font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (hover: hover) {
  .site-wall-tile img { filter: grayscale(1); opacity: .75; transition: filter .25s ease, opacity .25s ease; }
  .site-partner-wall li:hover .site-wall-tile img { filter: none; opacity: 1; }
  .site-partner-wall li:hover .site-wall-tile { border-color: var(--border-strong); }
}
@media (prefers-reduced-motion: reduce) { .site-wall-tile, .site-wall-tile img { transition: none; } }
@media (max-width: 640px) { .site-partner-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; } }


/* ---------------------------------------------------------------- brand tokens */
/* The accent of the public pages is always the brand violet (not the accent a signed-in user picked in the app). The tokens are
   set on the page parts (header, main, footer), not on <body>, so the cookie dialog keeps its own look. Light first, dark below. */
body.site :is(.site-header, main, .site-footer, .site-top) { --accent: #5b27d9; --accent-fill: #5b27d9; --bg: #f6f5fc; --surface-2: #efedfa; --border: #e4e1f2; --border-strong: #cfcae6; --text-2: #4d4b66; --text-3: #66647f; }
[data-theme="dark"] body.site :is(.site-header, main, .site-footer, .site-top) { --accent: #a98cff; --accent-fill: #5b27d9; --surface: #0a0a11; --bg: #0f0f18; --surface-2: #151521;
  --border: #232334; --border-strong: #34344a; --text: #ececf4; --text-2: #a9a8c0; --text-3: #8b8aa3; --hover: #171724; }
body.site main { background: var(--surface); }
[data-theme="dark"] .site-row-media { border-color: var(--border-strong); }

/* ---------------------------------------------------------------- image protection: no dragging, no long-press menu (text stays selectable) */
.site img { -webkit-user-drag: none; -webkit-touch-callout: none; user-select: none; }

/* ---------------------------------------------------------------- motion (small, once, never needed to read the page) */
/* Scroll reveal: site.js adds .reveal only to elements below the fold (so nothing flashes) and .in-view when they
   come into view. Without JS or with "reduce motion" no element ever gets .reveal. Transform only – no layout shift. */
.site .reveal { opacity: 0; transform: translateY(12px); }
.site .reveal.in-view { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.2, .6, .2, 1), transform .5s cubic-bezier(.2, .6, .2, 1); }
/* the hero text rises once on load (pure CSS: also without JS, ends fully visible) */
@keyframes site-rise { from { opacity: 0; transform: translateY(12px); } }
.site-hero-text { animation: site-rise .6s cubic-bezier(.2, .6, .2, 1) backwards; }
/* banner photos: a slow zoom to 1.04 towards the focal point, once (site.js adds .in-view when the banner is on screen) */
@keyframes site-zoom { from { transform: scale(1); } to { transform: scale(1.04); } }
.site-banner.in-view .site-banner-img { animation: site-zoom 20s cubic-bezier(.25, .1, .25, 1) forwards; }
/* hover: buttons lift a little (pointer devices only) */
@media (hover: hover) {
  .site main .btn, .site-footer .btn { transition: background-color .1s, color .1s, border-color .1s, transform .2s ease; }
  .site main .btn:hover, .site-footer .btn:hover { transform: translateY(-1px); }
}
@media (prefers-reduced-motion: reduce) {
  .site *, .site *::before, .site *::after { transition: none !important; animation: none !important; }
  .site .reveal { opacity: 1; transform: none; }
  .site .btn:hover { transform: none; }
}

/* ---------------------------------------------------------------- tablets & phones */
@media (max-width: 1000px) {
  /* rows and hero stack: text first, then the picture across the full width (no side borders, no radius) */
  .site-hero-grid, .site-row { display: flex; flex-direction: column; align-items: stretch; gap: 32px; padding-left: 32px; padding-right: 32px; }
  .site-hero-grid { padding-top: 72px; padding-bottom: 80px; }
  .site-hero-text { padding-right: 0; max-width: 640px; }
  .row-a > .site-row-media, .row-b > .site-row-media, .row-c > .site-row-media, .row-d > .site-row-media {
    border-left: 0; border-right: 0; border-radius: 0; margin: 0 -32px; min-height: 0; }
  .row-d > .site-row-media, .row-c > .site-row-media { order: 2; }
  .site-split-head, .site-cols, .site-faq { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .site-faq > .site-note { grid-column: auto; }
  .site-pair { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .site-facts-list > div { grid-template-columns: minmax(0, 1fr); }
  .site-facts-list .site-facts-more { text-align: left; }
  .site-footer-grid { grid-template-columns: 1fr 1fr; }
  .site-footer-brand { grid-column: 1 / -1; }
  .site-section { padding: 80px 0; }
}
@media (max-width: 1360px) {
  .site-menu-btn { display: inline-flex; }
  .site-nav { display: none; position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 16px;
    background: var(--surface); border-bottom: 1px solid var(--border-strong); }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .site-nav a[aria-current="page"] { text-decoration: none; font-weight: 600; }
  .site-nav-actions { display: flex; gap: 8px; padding-top: 14px; }
  .site-nav-actions .btn { flex: 1; justify-content: center; }
  .menu-open .site-nav { display: flex; }
  .site-actions .btn:not(.site-menu-btn):not(.site-theme) { display: none; }
}
@media (max-width: 640px) {
  .site-wrap { padding: 0 16px; }
  .site-header .site-wrap { gap: 12px; }
  .site-hero-grid, .site-row { padding-left: 16px; padding-right: 16px; }
  .row-a > .site-row-media, .row-b > .site-row-media, .row-c > .site-row-media, .row-d > .site-row-media { margin: 0 -16px; }
  .site-hero-grid { padding-top: 28px; padding-bottom: 28px; gap: 0; }
  .site main h1 { font-size: 32px; line-height: 1.1; }
  .site-hero h1 br { display: none; } /* the admin's line break is meant for wide screens */
  .site-lead { font-size: 17px; }
  .site main h2 { font-size: 24px; }
  .site-section { padding: 56px 0; }
  .site-head { padding: 56px 0 44px; }
  .site-head + .site-section, .site-toc + .site-section { padding-top: 48px; }
  .site-toc .site-wrap { gap: 4px 16px; }
  .site-hero .site-cta .btn.lg { height: 38px; padding: 0 14px; font-size: 14px; flex: 1 1 auto; justify-content: center; }
  .site-reviews, .site-list-cols { grid-template-columns: minmax(0, 1fr); }
  .site-dl div { grid-template-columns: minmax(0, 1fr); }
  .site-table th, .site-table td { padding: 7px 8px; font-size: 13px; }
  .site-table thead th { white-space: normal; overflow-wrap: anywhere; hyphens: auto; font-size: 11px; padding: 7px 4px; } /* long column titles wrap instead of widening the page */
  .site-footer-grid { grid-template-columns: 1fr; }
  .site-footer.has-image { padding-top: 48px; }
  .site-footer-cta { padding-bottom: 32px; margin-bottom: 32px; }
  .site-footer-cta::after { left: 16px; right: 16px; }
  .site-footer-cta p { font-size: 19px; }
  .site-facts-list > div { padding: 18px 0; }
  /* legal pages: smaller title that hyphenates instead of overflowing */
  .site-page { padding: 32px 0 56px; }
  .site main .site-page-title { font-size: 26px; line-height: 1.2; margin-bottom: 18px; }
  .site main .site-prose h2 { margin-top: 30px; }
  .site-prose ul { padding-left: 18px; }

  /* banners: tighter type so the text fits on the picture */
  .site main .site-hero h1 { font-size: 28px; line-height: 1.15; margin-bottom: 10px; }
  .site main .site-banner .site-lead { font-size: 15px; line-height: 1.5; }
  .site-hero .site-cta { margin-top: 18px; gap: 8px; }
  .site main .site-hero .site-facts { margin-top: 12px !important; font-size: 13px; }
  /* the whole picture (object-fit: contain, the banner at least as tall as the picture: the <img> keeps its width/height ratio),
     the text on it. Taller than the picture: the blurred copy (.site-banner-fill) shows above and below. */
  .site-banner.has-image { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; }
  .site-banner.has-image > * { grid-area: 1 / 1; min-width: 0; }
  .site-banner.has-image .site-banner-media { position: relative; inset: auto; z-index: auto; align-self: stretch; display: flex; align-items: center; }
  .site-banner.has-image .site-banner-media picture { height: auto; width: 100%; }
  .site-banner.has-image .site-banner-media .site-img.site-banner-img { position: relative; z-index: 1; height: auto; object-fit: contain; object-position: 50% 50%; }
  .site-banner.has-image .site-banner-fill { display: block; position: absolute; inset: -24px; width: calc(100% + 48px); height: calc(100% + 48px); max-width: none;
    object-fit: cover; object-position: var(--fx) var(--fy); filter: blur(18px) brightness(.5); }
  .site-banner.has-image .site-banner-media::after { z-index: 2; background: rgb(0 0 0 / max(var(--ov), .45)); }
  .site-banner.in-view .site-banner-img { animation: none; } /* no zoom: the whole picture stays in view */
  .site main .site-banner.has-image :is(h1, .site-lead, .site-facts) { text-shadow: 0 1px 3px rgb(0 0 0 / .55); }
  .site-head.site-banner .site-banner-content { padding-top: 0; padding-bottom: 0; }
  .site-head.site-banner { padding: 28px 0; }
}

/* ---------------------------------------------------------------- back to top (public pages) */
/* Square button bottom right. Without JS it is always there (link to #top); site.js adds body.site-top-ready and shows it after
   ~400 px of scrolling – hidden with visibility, so it cannot be focused while invisible. */
.site-top { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 44px; height: 44px; border-radius: var(--r);
  display: grid; place-items: center; background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); text-decoration: none; }
.site .site-top .icon { width: 18px; height: 18px; stroke-width: 2; }
.site-top:hover { background: var(--hover); }
.site-top-ready .site-top { opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease, visibility 0s .2s; }
.site-top-ready .site-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.site-header[tabindex="-1"]:focus { outline: none; }
@media (prefers-reduced-motion: reduce) { .site-top-ready .site-top { transition: none; transform: none; } }

/* Public pages fill the viewport, including an empty review list. */
body.site { min-height: 100dvh; display: flex; flex-direction: column; }
body.site > main { flex: 1 0 auto; width: 100%; }
body.site > .site-footer { flex: none; }
.site-home .site-hero { overflow: hidden; border-bottom: 1px solid var(--border); }
.site-home .site-hero-grid { max-width: 1440px; margin: auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding: 100px 48px; }
.site-home .site-hero-text { grid-column: auto; padding: 0; min-width: 0; }
.site-home .site-hero h1 { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.06; letter-spacing: -.045em; max-width: 13ch; }
.site-home .site-hero .site-label { color: inherit; opacity: .8; margin-bottom: 24px; }
.site-hero-preview { position: relative; min-width: 0; border: 1px solid #ffffff26; border-radius: 14px; padding: 8px; background: #11111b; box-shadow: 0 32px 80px #0005; transform: perspective(1400px) rotateY(-6deg); }
.site-hero-preview img { display: block; width: 100%; height: auto; border-radius: 8px; }
.site-home .site-section { padding-top: 88px; padding-bottom: 88px; }
.site-home .site-section + .site-section { border-top: 1px solid var(--border); }
.site-home .site-facts-list { gap: 24px; }
.site-home .site-facts-list > div { padding: 28px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); }
.site-home .site-pair > div { padding: 32px; border-left: 2px solid var(--accent); }
.site-home .site-partners-head .site-more-link { flex-shrink: 0; }
@media(max-width: 1000px) {
 .site-home .site-hero-grid { grid-template-columns: 1fr; padding: 64px 32px; gap: 40px; }
 .site-home .site-hero h1 { max-width: 18ch; }
 .site-hero-preview { transform: none; max-width: 760px; }
}
@media(max-width: 640px) {
 .site-home .site-hero-grid { padding: 40px 20px; gap: 32px; }
 .site-home .site-section { padding-top: 48px; padding-bottom: 48px; }
 .site-home .site-facts-list > div, .site-home .site-pair > div { padding: 22px; }
}
/* Shared page masthead: artwork never controls geometry. Text may grow with zoom. */
.site { --site-masthead-height: 480px; }
.site .site-head { display: flex; align-items: center; min-height: var(--site-masthead-height); padding: 48px 0; box-sizing: border-box; }
.site .site-head .site-wrap { width: min(1184px, calc(100% - 64px)); padding-inline: 0; }
.site .site-head h1 { max-width: 100%; font-size: clamp(36px, 4.3vw, 56px); line-height: 1.12; letter-spacing: -.04em; overflow-wrap: anywhere; }
.site .site-head .site-lead { max-width: 720px; font-size: 17px; line-height: 1.65; }
.site .site-head.site-banner.has-image { display: flex; }
.site .site-head.site-banner.has-image .site-banner-media { position: absolute; inset: 0; z-index: -1; display: block; }
.site .site-head.site-banner.has-image .site-banner-media picture { height: 100%; }
.site .site-head.site-banner.has-image .site-banner-img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: var(--fx) var(--fy); animation: none; }
.site .site-head .site-banner-fill { display: none; }
.site main.site-page { padding-block: 0; }
.site-page-body { padding-block: 56px 80px; }
.site .site-header { min-height: 68px; }
.site .site-header > .site-wrap { min-height: 68px; }
@media (max-width: 700px) {
  .site { --site-masthead-height: 520px; }
  .site .site-head { padding-block: 36px; }
  .site .site-head .site-wrap { width: calc(100% - 36px); }
  .site .site-head h1 { font-size: 36px; }
  .site .site-head .site-lead { font-size: 16px; }
  .site .site-nav { max-height: calc(100dvh - 80px); overflow-y: auto; overscroll-behavior: contain; }
  .site .site-actions > .btn { min-height: 44px; }
  .site-page-body { padding-block: 32px 56px; }
}
@media (max-width: 1000px) { .site { --site-masthead-height: 520px; } }
@media (max-width: 360px) { .site { --site-masthead-height: 580px; } }

@media (max-width: 1360px) { .site .site-nav { top: 100%; } }

/* Shared editorial system: public pages match the home page rather than separate landing-page templates. */
body.site { --site-masthead-height: 480px; }
body.site :is(.site-header, main, .site-footer, .site-top) { --surface: #fff; --bg: #f7f7f4; --surface-2: #ededeb; --border: #d8dad8; --border-strong: #afb4b8; --text: #202326; --text-2: #555c65; --text-3: #606874; --accent: #6241bd; --accent-fill: #6241bd; }
[data-theme="dark"] body.site :is(.site-header, main, .site-footer, .site-top) { --surface: #141619; --bg: #141619; --surface-2: #292d33; --border: #393e45; --border-strong: #626b78; --text: #eff0ed; --text-2: #b7bec8; --text-3: #a8b0bc; --accent: #c1a8f1; --accent-fill: #6241bd; }
.site main:not(.home-page) { background: var(--bg); }
.site .site-head, .site .home-intro { min-height: var(--site-masthead-height); box-sizing: border-box; }
.site .site-head.site-banner.has-image, .site .home-hero.site-banner.has-image { display: flex; isolation: isolate; background: #171a20; color: #fff;  }
.site .site-head.site-banner.has-image .site-banner-media, .site .home-hero.site-banner.has-image .site-banner-media { position: absolute; inset: 0; z-index: -1; display: block; }
.site .site-banner.has-image .site-banner-media picture { height: 100%; }
.site .site-head.site-banner.has-image .site-banner-media .site-img, .site .home-hero.site-banner.has-image .site-banner-media .site-img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: var(--fx) var(--fy); animation: none; filter: none; }
.site .site-head.site-banner.has-image .site-banner-media::after, .site .home-hero.site-banner.has-image .site-banner-media::after { background: rgb(8 10 15 / max(.72,var(--ov))); }
.site .site-banner-fill { display: none !important; }
.site .site-head.site-banner.has-image :is(h1,.site-label,.site-lead), .site main.home-page .home-hero.site-banner :is(h1,h1 span,p,a.home-link) { color: #f5f5f8; text-shadow: none; }
.site .site-head h1 { font-weight: 580; }
.site .site-label { font-size: 12px; letter-spacing: .025em; text-transform: none; }
.site-detail .site-section { padding-block: 64px; border-color: var(--border); }
.site-detail .site-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); width: min(1184px,calc(100% - 64px)); padding: 0; margin: 0 auto; gap: 64px; align-items: center; }
.site-detail .site-row > :is(.site-row-text,.site-row-media) { grid-area: auto; grid-column: auto; grid-row: auto; margin: 0; padding: 0; width: 100%; max-width: none; transform: none; }
.site-detail .site-row-media { aspect-ratio: 1000 / 580; border: 1px solid var(--border); border-radius: 6px; background: #191d23; overflow: hidden; }
.site-detail .site-row-media picture { display: block; width: 100%; height: 100%; }
.site-detail .site-row-media :is(img,.site-img) { display: block; width: 100%; height: 100%; object-fit: contain; transform: none; filter: none; }
.site-detail .site-row h2, .site-detail .site-wrap > h2 { font-size: clamp(28px,3vw,36px); letter-spacing: -.035em; line-height: 1.2; font-weight: 580; }
.site-detail p, .site-page .site-prose { font-size: 16px; line-height: 1.75; color: var(--text-2); }
.site-detail .site-row p { max-width: 52ch; }
.site-detail .site-faq-list details { border-radius: 0; box-shadow: none; background: transparent; border-color: var(--border); }
.site-detail .site-faq-list summary { min-height: 48px; line-height: 1.5; }
.site .site-note, .site .site-update-meta { color: var(--text-2); }
.site .site-prose :is(h2,h3) { color: var(--text); }
.site a:focus-visible, .site button:focus-visible, .site summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media(max-width:1000px) { body.site { --site-masthead-height: 520px; }.site-detail .site-row { gap: 32px; } }
@media(max-width:700px) {
 .site-detail .site-row { width: calc(100% - 36px); grid-template-columns: minmax(0,1fr); gap: 28px; }
 .site-detail .site-section { padding-block: 40px; }
 .site .site-head .site-wrap { padding-inline: 0; }
 .site .site-head .site-lead { font-size: 16px; }
 .site-detail .site-row-media { max-width: 100%; }
}
@media(max-width:360px) { body.site { --site-masthead-height: 580px; } }

.site .site-banner :is(a,button):focus-visible { outline-color: #fff; }
.site-logout { padding-block: 18px; }
.site .site-logout-notice { display: flex; align-items: center; gap: 16px; padding: 20px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 8px; background: var(--surface); color: var(--text); }
.site-logout-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--surface-2); }
.site-logout-notice strong { display: block; font-size: 15px; }
.site .site-logout-notice p { margin: 5px 0 0; font-size: 14px; line-height: 1.5; color: var(--text-2); }
@media(max-width:700px) { .site .site-logout-notice { flex-wrap: wrap; padding: 16px; gap: 12px; }.site-logout-notice .grow { flex-basis: calc(100% - 80px); }.site-logout-notice > .btn:not(.icon-only) { margin-left: 48px; }.site-logout-notice > .icon-only { margin-left: auto; } }
