/* UCA Web (uca-web-v1) - the one look of every UCA website: ucagg.de and each app's own site.
   https://ucagg.de/web/uca-web.css + https://ucagg.de/web/uca-web.js · contract: ucagg-site/docs/uca-web-v1.md
   Light pages with dark stages, big tight type, quiet colour that belongs to the product, motion that follows the scroll.
   Everything is prefixed w- so it never collides with an app's own CSS. */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url(https://ucagg.de/fonts/inter-latin-400-normal.woff2?v=5.3.0) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url(https://ucagg.de/fonts/inter-latin-500-normal.woff2?v=5.3.0) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url(https://ucagg.de/fonts/inter-latin-600-normal.woff2?v=5.3.0) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url(https://ucagg.de/fonts/inter-latin-700-normal.woff2?v=5.3.0) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:500;font-display:swap;src:url(https://ucagg.de/fonts/jetbrains-mono-latin-500-normal.woff2?v=5.3.0) format('woff2')}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:600;font-display:swap;src:url(https://ucagg.de/fonts/jetbrains-mono-latin-600-normal.woff2?v=5.3.0) format('woff2')}
@font-face{font-family:'Inter';font-style:normal;font-weight:800;font-display:optional;src:url(https://ucagg.de/fonts/inter-latin-800-normal.woff2?v=5.3.0) format('woff2')}

:root {
  --w-bg: #ffffff; --w-bg-alt: #f5f5f7; --w-text: #1d1d1f; --w-muted: #6e6e73; --w-faint: #6e6e73; --w-line: #d2d2d7;
  /* RAW CALM: calm, soft products on a raw black-and-white structure; colour only from each product */
  --w-link: #000; --w-blue: #000; --w-blue-hover: #2b2b2e; --w-rule: #000;
  --w-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Consolas, monospace;
  --w-accent: var(--w-blue);                       /* each product sets its own: style="--w-accent:#ff8a3d" */
  --w-accent-2: #a259ff;                           /* the second colour of its gradient */
  --w-tile: #f5f5f7; --w-glass: rgba(251,251,253,.8);
  --w-font: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --w-text-font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', 'Segoe UI', system-ui, sans-serif;
  --w-ease: cubic-bezier(.28,.11,.32,1);           /* the slow, sure ease of the whole kit */
  --w-spring: cubic-bezier(.34,1.56,.64,1);
  --w-r: 28px; --w-r-sm: 18px; --w-wrap: 1180px; --w-gut: 22px;
  color-scheme: light;
}
.w-dark, .w-page-dark {
  --w-bg: #000000; --w-bg-alt: #101012; --w-text: #f5f5f7; --w-muted: #a1a1a6; --w-faint: #86868b; --w-line: #424245;
  --w-link: #fff; --w-blue: #fff; --w-blue-hover: #e8e8ed; --w-rule: #fff; --w-tile: #141416; --w-glass: rgba(0,0,0,.94); color-scheme: dark;
}

/* ---------- base ---------- */
.w-page { margin: 0; background: var(--w-bg); color: var(--w-text); font-family: var(--w-text-font); font-size: 17px; line-height: 1.47; letter-spacing: -.022em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip; }
.w-page *, .w-page *::before, .w-page *::after { box-sizing: border-box; }
.w-page img, .w-page video, .w-page canvas, .w-page svg { max-width: 100%; }
.w-page a { color: var(--w-link); text-decoration: none; }
.w-page a:hover { text-decoration: underline; }
.w-page :focus-visible { outline: 2px solid var(--w-blue); outline-offset: 3px; border-radius: 6px; }
.w-page ::selection { background: color-mix(in srgb, var(--w-accent) 28%, transparent); }
.w-wrap { width: min(var(--w-wrap), 100% - 2 * var(--w-gut)); margin-inline: auto; }
.w-section { position: relative; padding: clamp(80px, 12vw, 160px) 0; background: var(--w-bg); color: var(--w-text); }
.w-section.alt { background: var(--w-bg-alt); }
.w-rule { border-top: 2px solid var(--w-rule); }
.w-label { display: block; font: 600 11px/1 var(--w-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--w-text); margin: 0 0 18px; }
.w-label b { color: var(--w-accent); font-weight: 600; }
.w-center { text-align: center; }
.w-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type ---------- */
.w-hero-title, .w-h1, .w-h2, .w-h3, .w-eyebrow, .w-lead, .w-stat b { font-family: var(--w-font); }
.w-hero-title { font-size: clamp(56px, 13vw, 200px); line-height: .9; font-weight: 800; letter-spacing: -.065em; margin: 0; }
.w-h1 { font-size: clamp(44px, 7.4vw, 104px); line-height: .95; font-weight: 800; letter-spacing: -.055em; margin: 0; }
.w-h2 { font-size: clamp(32px, 4.8vw, 56px); line-height: 1.07; font-weight: 700; letter-spacing: -.035em; margin: 0; }
.w-h3 { font-size: clamp(24px, 2.6vw, 32px); line-height: 1.12; font-weight: 700; letter-spacing: -.028em; margin: 0; }
.w-eyebrow { display: block; font-size: clamp(17px, 1.6vw, 21px); font-weight: 600; letter-spacing: -.01em; color: var(--w-accent); margin: 0 0 10px; }
.w-lead { font-size: clamp(19px, 1.9vw, 24px); line-height: 1.38; font-weight: 500; letter-spacing: -.02em; color: var(--w-muted); margin: 18px 0 0; max-width: 46ch; }
.w-center .w-lead { margin-inline: auto; }
.w-lead b, .w-lead strong { color: var(--w-text); font-weight: 600; }
.w-small { font-size: 12px; line-height: 1.33; letter-spacing: -.01em; color: var(--w-faint); }
/* one flat signal colour, no gradients on type (they repaint and they are not ours) */
.w-grad, .w-grad-anim { color: var(--w-accent); }

/* ---------- buttons and links ---------- */
.w-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 11px 22px; border-radius: 980px; border: 0;
  background: var(--w-blue); color: var(--w-bg) !important; font: 400 17px/1.18 var(--w-text-font); letter-spacing: -.022em; cursor: pointer; text-decoration: none !important;
  transition: background .25s var(--w-ease), transform .3s var(--w-ease), box-shadow .3s var(--w-ease); white-space: nowrap; }
.w-btn:hover { background: var(--w-blue-hover); }
.w-btn:active { transform: scale(.97); }
.w-btn.sm { min-height: 32px; padding: 6px 15px; font-size: 14px; }
.w-btn.ghost { background: transparent; color: var(--w-link) !important; box-shadow: inset 0 0 0 1px var(--w-link); }
.w-btn.ghost:hover { background: var(--w-link); color: var(--w-bg) !important; }
.w-btn.dark { background: var(--w-text); color: var(--w-bg) !important; }
.w-btn.accent { background: var(--w-accent); }
.w-btn svg { width: 16px; height: 16px; flex: none; }
.w-more { display: inline-flex; align-items: center; gap: 2px; font-size: clamp(17px, 1.5vw, 19px); letter-spacing: -.02em; color: var(--w-link) !important; }
.w-more::after { content: ''; width: 8px; height: 8px; margin-left: 4px; border: solid currentColor; border-width: 1.6px 1.6px 0 0; transform: rotate(45deg) translateY(1px); transition: transform .3s var(--w-ease); }
.w-more:hover { text-decoration: underline 2px; text-underline-offset: 4px; }
.w-more:hover::after { transform: rotate(45deg) translate(2px, -1px); }
.w-ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 28px; }
.w-center .w-ctas { justify-content: center; }

/* ---------- the global bar: thin, glass, quiet ---------- */
/* solid, not blurred: a blur re-renders whatever moves beneath it on every frame */
.w-nav { position: sticky; top: 0; z-index: 100; height: 48px; background: rgba(255,255,255,.96); border-bottom: 2px solid var(--w-rule); }
/* over a dark stage the bar turns dark too (uca-web.js sets .on-dark) */
.w-page-dark .w-nav, .w-page-dark .w-localnav, .w-nav.on-dark { background: rgba(0,0,0,.94); --w-text: #f5f5f7; --w-line: #424245; --w-rule: #fff; --w-blue: #fff; --w-bg: #000; color-scheme: dark; }
.w-nav { transition: background .4s var(--w-ease), border-color .4s var(--w-ease); }
.w-nav .w-wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.w-nav .w-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--w-text) !important; font: 700 19px/1 var(--w-font); letter-spacing: -.03em; text-decoration: none !important; }
.w-nav .w-brand img { width: 24px; height: 24px; border-radius: 7px; }
.w-nav .w-links { display: flex; align-items: center; gap: 26px; margin-left: auto; }
.w-nav .w-links a:not(.w-btn) { font-size: 12.5px; letter-spacing: -.01em; color: var(--w-text) !important; opacity: .8; transition: opacity .2s; text-decoration: none !important; }
.w-nav .w-links a:not(.w-btn):hover { opacity: 1; }
.w-nav .w-burger { display: none; margin-left: auto; width: 40px; height: 40px; border: 0; background: none; color: var(--w-text); cursor: pointer; }
@media (max-width: 860px) {
  .w-nav .w-burger { display: grid; place-items: center; }
  .w-nav .w-links { position: fixed; inset: 48px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--w-gut) 26px; background: var(--w-bg);
    transform: translateY(-8px); opacity: 0; pointer-events: none; transition: opacity .35s var(--w-ease), transform .45s var(--w-ease); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); }
  .w-nav.open .w-links { transform: none; opacity: 1; pointer-events: auto; }
  .w-nav .w-links a:not(.w-btn) { font: 600 26px/1.2 var(--w-font); letter-spacing: -.03em; padding: 12px 0; opacity: 1; border-bottom: 1px solid var(--w-line); }
  .w-nav .w-links .w-btn { margin-top: 18px; }
}
/* the product's own bar under it (each app's site): name left, links and one blue button right */
.w-localnav { position: sticky; top: 0; z-index: 99; height: 52px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--w-line); }
.w-page-dark .w-localnav { background: rgba(0,0,0,.94); }
.w-nav + .w-localnav { top: 48px; }
.w-localnav .w-wrap { height: 100%; display: flex; align-items: center; gap: 22px; }
.w-localnav .t { font: 600 21px/1 var(--w-font); letter-spacing: -.025em; color: var(--w-text); margin-right: auto; display: flex; align-items: center; gap: 10px; }
.w-localnav .t img { width: 26px; height: 26px; border-radius: 7px; }
.w-localnav a:not(.w-btn) { font-size: 12.5px; color: var(--w-text) !important; opacity: .75; }
@media (max-width: 700px) { .w-localnav a:not(.w-btn):not(.keep) { display: none; } }

/* ---------- the hero ---------- */
.w-hero { position: relative; padding: clamp(64px, 11vw, 140px) 0 clamp(40px, 6vw, 80px); text-align: center; overflow: hidden; }
.w-hero .w-eyebrow { font-size: clamp(19px, 2vw, 24px); }
.w-hero .w-lead { margin-inline: auto; max-width: 40ch; }
.w-hero .w-ctas { justify-content: center; }

/* ---------- tiles: the home page grid of products ---------- */
.w-tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; padding: 12px; }
.w-tile { position: relative; overflow: hidden; border-radius: var(--w-r); background: var(--w-tile); color: var(--w-text); min-height: 580px; padding: 52px 28px 0;
  display: flex; flex-direction: column; align-items: center; text-align: center; isolation: isolate; }
.w-tile.wide { grid-column: 1 / -1; min-height: 640px; }
.w-tile .w-h2 { font-size: clamp(32px, 3.6vw, 48px); }
.w-tile p { font: 400 clamp(17px, 1.6vw, 21px)/1.3 var(--w-font); letter-spacing: -.02em; margin: 8px 0 0; color: var(--w-text); }
.w-tile .w-ctas { margin-top: 16px; gap: 12px; }
.w-tile .art { margin-top: auto; width: 100%; display: grid; place-items: end center; padding-top: 28px; }
.w-tile .art img { display: block; max-height: 380px; width: auto; border-radius: 16px 16px 0 0; box-shadow: 0 30px 80px -30px rgba(0,0,0,.45);
  transform: translateY(calc((1 - var(--w-p, 1)) * 60px)) scale(calc(.94 + var(--w-p, 1) * .06)); }
@media (max-width: 860px) { .w-tiles { grid-template-columns: 1fr; } .w-tile { min-height: 500px; } .w-tile.wide { min-height: 540px; } }

/* ---------- cards ---------- */
.w-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.w-card { position: relative; border-radius: var(--w-r-sm); background: var(--w-tile); padding: 30px; overflow: hidden;
  transition: transform .5s var(--w-ease), box-shadow .5s var(--w-ease); }
.w-card:hover { transform: translateY(-4px) scale(1.01); box-shadow: 0 30px 60px -32px rgba(0,0,0,.28); }
.w-card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--w-accent) 14%, transparent); color: var(--w-accent); margin-bottom: 18px; }
.w-card .ic svg { width: 24px; height: 24px; }
.w-card h3 { font: 700 21px/1.2 var(--w-font); letter-spacing: -.025em; margin: 0 0 8px; }
.w-card p { margin: 0; color: var(--w-muted); font-size: 17px; }

/* ---------- the gallery: a row that slides sideways, with paddles ---------- */
.w-gallery { position: relative; }
.w-gallery .w-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  padding: 10px max(var(--w-gut), (100% - var(--w-wrap)) / 2) 30px; scroll-padding-inline: max(var(--w-gut), (100% - var(--w-wrap)) / 2); scrollbar-width: none; }
.w-gallery .w-track::-webkit-scrollbar { display: none; }
.w-gallery .w-track > * { scroll-snap-align: start; flex: none; }
.w-paddles { display: flex; justify-content: flex-end; gap: 14px; width: min(var(--w-wrap), 100% - 2 * var(--w-gut)); margin: 0 auto; }
.w-paddle { width: 36px; height: 36px; border-radius: 50%; border: 0; background: color-mix(in srgb, var(--w-text) 8%, transparent); color: var(--w-text); cursor: pointer; display: grid; place-items: center;
  transition: background .25s, opacity .25s; }
.w-paddle:hover { background: color-mix(in srgb, var(--w-text) 14%, transparent); }
.w-paddle:disabled { opacity: .35; cursor: default; }
.w-paddle svg { width: 16px; height: 16px; }

/* ---------- stats ---------- */
.w-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px 64px; margin-top: 48px; }
.w-stat { text-align: center; }
.w-stat b { display: block; font-size: clamp(44px, 5.4vw, 72px); line-height: 1; font-weight: 800; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.w-stat span { display: block; margin-top: 8px; color: var(--w-muted); font-size: 15px; }

/* ---------- words that light up as you read (data-w-words) ---------- */
.w-words { font: 700 clamp(30px, 4.4vw, 56px)/1.12 var(--w-font); letter-spacing: -.035em; max-width: 22ch; margin: 0 auto; }
.w-words .w { color: color-mix(in srgb, var(--w-text) 44%, transparent); transition: color .35s var(--w-ease); }
.w-words .w.on { color: var(--w-text); }
.w-words .w.on.hl { color: var(--w-accent); }

/* ---------- the sticky stage: a picture that stays while the copy scrolls past (data-w-stage) ---------- */
.w-stage { position: relative; }
.w-stage .w-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; place-items: center; overflow: hidden; }

/* ---------- reveals (data-w-reveal on anything; data-w-stagger on a parent) ---------- */
.w-js [data-w-reveal] { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--w-ease), transform 1.1s var(--w-ease); transition-delay: var(--w-d, 0ms); }
.w-js [data-w-reveal="scale"] { transform: scale(.92); }
.w-js [data-w-reveal="left"] { transform: translateX(-40px); }
.w-js [data-w-reveal="right"] { transform: translateX(40px); }
.w-js [data-w-reveal].w-in { opacity: 1; transform: none; }

/* ---------- pills, badges ---------- */
.w-pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 980px; font-size: 12px; font-weight: 600; letter-spacing: 0;
  background: color-mix(in srgb, var(--w-accent) 12%, transparent); color: var(--w-accent); }
.w-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }


/* ---------- FAQ (details/summary) ---------- */
.w-faq { max-width: 860px; margin: 0 auto; }
.w-faq details { border-bottom: 1px solid var(--w-line); }
.w-faq summary { list-style: none; cursor: pointer; padding: 26px 40px 26px 0; position: relative; font: 600 clamp(19px, 2vw, 24px)/1.25 var(--w-font); letter-spacing: -.025em; }
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-weight: 300; font-size: 30px; color: var(--w-muted); transition: transform .4s var(--w-ease); }
.w-faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.w-faq details > div { padding: 0 0 26px; color: var(--w-muted); font-size: 17px; max-width: 70ch; }

/* ---------- the footer: small, grey, a directory ---------- */
.w-footer { background: var(--w-bg-alt); color: var(--w-muted); font-size: 12px; line-height: 1.33; padding: 34px 0 26px; }
.w-footer a { color: var(--w-muted) !important; }
.w-footer a:hover { color: var(--w-text) !important; }
.w-footer .note { padding-bottom: 18px; border-bottom: 1px solid var(--w-line); }
.w-footer .cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 22px; padding: 22px 0; }
.w-footer h4 { margin: 0 0 10px; color: var(--w-text); font-size: 12px; font-weight: 600; }
.w-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.w-footer .legal { display: flex; flex-wrap: wrap; gap: 6px 20px; padding-top: 18px; border-top: 1px solid var(--w-line); }

@media (prefers-reduced-motion: reduce) {
  .w-js [data-w-reveal] { opacity: 1; transform: none; transition: none; }
  .w-tile .art img { transform: none; }
}
