:root{
  --paper:#FBFBFD;
  --ink:#17181D;
  --gray:#6B7080;
  --violet:#A058F6;
  --violet-deep:#7E3ECA;
  --lavender:#F1E6FE;
  --line:#E5E6EE;
  --card:#FFFFFF;
  --green:#00BB7C;
  --green-soft:#DFF7ED;
  --blue:#3C80F6;
  --blue-soft:#E3EEFE;
  --teal:#0FA3A3;
  --teal-soft:#E0F5F5;
  --amber:#BE7A06;
  --amber-soft:#FBEFD9;
  --rose:#D93A6C;
  --rose-soft:#FCE5EC;
  --slate:#5C6478;
  --slate-soft:#ECEEF4;
  /* Green and amber as text. --green and --amber are bright enough for a
     bar or an icon, but a word in them on their own -soft tint misses the
     4.5:1 small text needs; these are the same hues a step darker, the way
     --violet-deep stands to --violet. */
  --green-deep:#007A52;
  --amber-deep:#945E04;
  --blue-deep:#2A63C8;
  --radius:16px;

  /* The three families, each followed by its metric-matched fallback (see
     the @font-face rules below this block). */
  --font-display:'Sora','Sora Fallback','Sora Fallback Roboto',sans-serif;
  --font-text:'Figtree','Figtree Fallback','Figtree Fallback Roboto',system-ui,sans-serif;
  --font-mono:'JetBrains Mono','JetBrains Mono Fallback',monospace;

  /* Code, in the developer Academy. The one dark surface on the site, so it
     takes the ink as its ground and derives everything else from the
     palette above: keywords from violet, strings from green, functions from
     blue, types from teal, numbers from amber — each lightened until it
     reads on the dark. --code-add is the green of a new line, faint enough
     that the syntax colours on it still hold. */
  --code-bg:#17181D;
  --code-raised:#1F2029;
  --code-line:#262833;
  --code-edge:#34363F;
  --code-gutter:#4A4D5A;
  --code-ink:#E7E8EE;
  --code-soft:#C7CAD6;
  --code-muted:#A9ADBB;
  --code-dim:#7C8294;
  --code-kw:#C9A4FB;
  --code-str:#5FD4A8;
  --code-fn:#8DB6FB;
  --code-num:#E8B35A;
  --code-type:#7FD6D6;
  --code-add:rgba(0,187,124,.13);
  --code-add-mark:#2FD39A;
}
/* Fonts. Self-hosted rather than fetched from Google Fonts: the page used to
   paint its headlines in the fallback first and set them again once Sora
   arrived a second later, and the hero headline jumped from four lines to
   two. The files are the variable fonts Google serves (latin and latin-ext
   subsets, one file per family and subset covering every weight), licensed
   under the SIL Open Font License - see fonts/OFL-*.txt. layout.antlers.html
   preloads the two latin files the first screen needs.

   The "... Fallback" faces are what is on screen until then, or for good if
   a file does not load: a local Arial (Liberation Sans on Linux, Helvetica on
   a Mac, Roboto on Android as a second choice) scaled and shifted to the
   width and vertical metrics of the real font, one face per weight in use.
   The numbers are measured, not guessed: advance widths of the site's own
   German text shaped in both fonts (HarfBuzz, with kerning), and ascender
   and descender from the fonts' OS/2 tables divided by that factor. Swapping
   to the real font then changes the look of the letters, not the length of
   the lines. Measure again when a font file is replaced. */
@font-face{font-family:'Sora';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/sora-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Sora';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/sora-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Figtree';font-style:normal;font-weight:300 900;font-display:swap;src:url(../fonts/figtree-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'Figtree';font-style:normal;font-weight:300 900;font-display:swap;src:url(../fonts/figtree-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/jetbrainsmono-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF}
@font-face{font-family:'JetBrains Mono';font-style:normal;font-weight:400 800;font-display:swap;src:url(../fonts/jetbrainsmono-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD}
@font-face{font-family:'Sora Fallback';font-weight:400;src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Helvetica');size-adjust:112.81%;ascent-override:85.99%;descent-override:25.71%;line-gap-override:0%}
@font-face{font-family:'Sora Fallback';font-weight:600;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold'),local('LiberationSans-Bold'),local('Helvetica Bold'),local('Helvetica-Bold');size-adjust:107.03%;ascent-override:90.63%;descent-override:27.1%;line-gap-override:0%}
@font-face{font-family:'Sora Fallback';font-weight:700;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold'),local('LiberationSans-Bold'),local('Helvetica Bold'),local('Helvetica-Bold');size-adjust:107.79%;ascent-override:89.99%;descent-override:26.91%;line-gap-override:0%}
@font-face{font-family:'Sora Fallback Roboto';font-weight:400;src:local('Roboto'),local('Roboto-Regular');size-adjust:114.06%;ascent-override:85.05%;descent-override:25.43%;line-gap-override:0%}
@font-face{font-family:'Sora Fallback Roboto';font-weight:600;src:local('Roboto Bold'),local('Roboto-Bold');size-adjust:113.29%;ascent-override:85.62%;descent-override:25.6%;line-gap-override:0%}
@font-face{font-family:'Sora Fallback Roboto';font-weight:700;src:local('Roboto Bold'),local('Roboto-Bold');size-adjust:114.09%;ascent-override:85.02%;descent-override:25.42%;line-gap-override:0%}
@font-face{font-family:'Figtree Fallback';font-weight:400;src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Helvetica');size-adjust:100.3%;ascent-override:94.72%;descent-override:24.93%;line-gap-override:0%}
@font-face{font-family:'Figtree Fallback';font-weight:500;src:local('Arial'),local('ArialMT'),local('Liberation Sans'),local('LiberationSans'),local('Helvetica');size-adjust:101.05%;ascent-override:94.02%;descent-override:24.74%;line-gap-override:0%}
@font-face{font-family:'Figtree Fallback';font-weight:600;src:local('Arial Bold'),local('Arial-BoldMT'),local('Liberation Sans Bold'),local('LiberationSans-Bold'),local('Helvetica Bold'),local('Helvetica-Bold');size-adjust:95.46%;ascent-override:99.52%;descent-override:26.19%;line-gap-override:0%}
@font-face{font-family:'Figtree Fallback Roboto';font-weight:400;src:local('Roboto'),local('Roboto-Regular');size-adjust:101.41%;ascent-override:93.68%;descent-override:24.65%;line-gap-override:0%}
@font-face{font-family:'Figtree Fallback Roboto';font-weight:500;src:local('Roboto'),local('Roboto-Regular');size-adjust:102.17%;ascent-override:92.99%;descent-override:24.47%;line-gap-override:0%}
@font-face{font-family:'Figtree Fallback Roboto';font-weight:600;src:local('Roboto Bold'),local('Roboto-Bold');size-adjust:101.04%;ascent-override:94.02%;descent-override:24.74%;line-gap-override:0%}
@font-face{font-family:'JetBrains Mono Fallback';src:local('Courier New'),local('CourierNewPSMT'),local('Liberation Mono'),local('LiberationMono');size-adjust:99.98%;ascent-override:102.02%;descent-override:30%;line-gap-override:0%}
*{margin:0;padding:0;box-sizing:border-box}
/* The browser hides an element carrying "hidden" with display:none, and any
   class of ours that sets a display wins over it - a hidden grid or flex box
   would stay on the page. Everything that is switched on and off from a script
   uses this attribute, so it is settled here once. */
[hidden]{display:none!important}
html{scroll-behavior:smooth}
body{
  background:var(--paper);color:var(--ink);
  font-family:var(--font-text);
  font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
::selection{background:var(--violet);color:#fff}
.wrap{max-width:1140px;margin:0 auto;padding:0 24px}
.sr-only{
  position:absolute;width:1px;height:1px;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;
}

.progress{position:fixed;top:0;left:0;height:3px;width:0%;background:linear-gradient(90deg,#3C80F6,var(--violet));z-index:100}

/* ---------- Header ---------- */
header{
  position:fixed;top:0;left:0;right:0;z-index:90;
  background:color-mix(in srgb, var(--paper) 80%, transparent);
  backdrop-filter:blur(12px);
  border-bottom:1px solid transparent;transition:border-color .3s;
}
header.scrolled{border-bottom-color:var(--line)}
.header-inner{max-width:1140px;margin:0 auto;padding:16px 24px;display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink)}
.v-mark{width:30px;height:30px;display:grid;place-items:center;flex:none}
.v-mark img{width:100%;height:100%;display:block}
.brand b{font-family:var(--font-display);font-weight:700;font-size:18px;letter-spacing:-0.01em}
/* The icon stands beside the title, not inside its first line. As an inline
   box with vertical-align it sat on the baseline: low against one line, and
   with a second line the text ran on underneath it. Now the h1 is a row, the
   title wraps in its own column, and the icon is centred on the first line —
   1.12em is that line's height (the h1's line-height), so the offset follows
   the font size from phone to desktop. */
.tut-titleblock h1:has(.tut-title-icon){display:flex;align-items:flex-start;gap:14px}
.tut-title-icon{
  display:inline-flex;align-items:center;justify-content:center;flex:none;
  width:44px;height:44px;margin-top:calc((1.12em - 44px) / 2);
  border-radius:12px;background:var(--lavender);color:var(--violet-deep);
}
.tut-title-text{margin-top:14px;color:var(--gray);max-width:38.5em}
.tut-num svg{display:block}
.header-nav{display:flex;align-items:center;gap:26px}
.header-link{
  font-size:15px;font-weight:500;text-decoration:none;color:var(--ink);
  transition:color .2s;white-space:nowrap;
}
.header-link:hover{color:var(--violet-deep)}
.header-links{display:flex;align-items:center;gap:26px}
/* The Academy item and its menu: the two halves of the Academy, "Für
   Anwender" and "Für Entwickler". Opens on hover and on keyboard focus, on
   screens that can hover and are wide enough for the row of links. The panel
   hangs from the item with a strip of padding above it, part of the item, so
   the pointer crossing from the word to the panel never leaves it and the
   menu does not flicker shut on the way. It fades out a moment late for the
   same reason. header.js keeps aria-expanded in step and closes the menu on
   Escape (.is-closed). Everywhere else - touch screens, the folded panel on a
   phone - see below. */
.header-item{position:relative;display:flex;align-items:center}
.header-item > .header-link{display:inline-flex;align-items:center;gap:4px}
.header-item.active > .header-link{color:var(--violet-deep)}
.header-chev{flex:none;color:#9AA0AE;transition:transform .2s,color .2s}
.header-sub{display:none}
.header-sub-panel{
  display:flex;flex-direction:column;gap:2px;min-width:220px;padding:7px;
  background:#fff;border:1px solid var(--line);border-radius:14px;
  box-shadow:0 24px 50px -24px rgba(23,24,29,.28);
}
.header-sub-link{
  display:flex;align-items:center;gap:11px;padding:8px 14px 8px 8px;border-radius:10px;
  font-size:15px;font-weight:500;color:var(--ink);text-decoration:none;white-space:nowrap;
  transition:background-color .15s,color .15s;
}
.header-sub-link:hover,.header-sub-link:focus-visible{background:var(--lavender);color:var(--violet-deep);outline:none}
.header-sub-link[aria-current]{color:var(--violet-deep);font-weight:600}
.header-sub-icon{
  width:30px;height:30px;border-radius:9px;flex:none;display:grid;place-items:center;
  background:var(--lavender);color:var(--violet-deep);
}
.header-sub-link.developer .header-sub-icon{background:var(--card);border:1px solid #CFE0FC;color:var(--blue)}
@media (min-width:701px) and (hover:hover){
  .header-sub{
    display:block;position:absolute;top:100%;left:50%;z-index:2;
    padding-top:14px;transform:translate(-50%,-4px);
    opacity:0;visibility:hidden;
    transition:opacity .15s,transform .15s,visibility 0s linear .15s;
  }
  .has-sub:is(:hover,:focus-within):not(.is-closed) > .header-sub{
    opacity:1;visibility:visible;transform:translate(-50%,0);
    transition:opacity .15s,transform .15s,visibility 0s;
  }
  .has-sub:is(:hover,:focus-within):not(.is-closed) .header-chev{transform:rotate(180deg);color:var(--violet-deep)}
}
/* No hover, no menu: the item is a link to the Academy page, and a chevron
   would promise something a tap does not do. */
@media (hover:none){
  .header-chev{display:none}
}


/* The button that folds the links away. Hidden from 700 px up, where they
   fit next to each other again. */
.nav-toggle{
  display:none;align-items:center;justify-content:center;
  width:40px;height:40px;padding:0;flex:none;
  background:transparent;border:1px solid var(--line);border-radius:11px;
  color:var(--ink);cursor:pointer;
}
.nav-toggle:hover{border-color:var(--violet);color:var(--violet-deep)}
.nav-toggle-bars{position:relative}
.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after{
  display:block;width:17px;height:2px;border-radius:2px;background:currentColor;
  transition:transform .2s, background-color .2s;
}
.nav-toggle-bars::before,
.nav-toggle-bars::after{content:'';position:absolute;left:0}
.nav-toggle-bars::before{top:-6px}
.nav-toggle-bars::after{top:6px}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars{background:transparent}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before{transform:translateY(6px) rotate(45deg)}
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after{transform:translateY(-6px) rotate(-45deg)}

/* Narrow screens: brand, call to action and the button fit in the bar, the
   links do not — two of them plus the button already overflow a 390 px
   phone. So they fold into a panel under the bar. The scrollable strip that
   used to stand here kept every way visible, but pushed the links half out
   of the screen. */
@media (max-width:700px){
  .header-nav{gap:10px;min-width:0}
  .header-link{font-size:15.5px}
  .header-cta{flex:none;padding:9px 16px;font-size:14.5px}
  .nav-toggle{display:inline-flex}

  .header-links{
    position:absolute;left:0;right:0;top:100%;
    display:none;flex-direction:column;align-items:stretch;gap:0;
    padding:4px 20px 12px;
    background:var(--paper);
    border-bottom:1px solid var(--line);
    box-shadow:0 14px 26px rgba(17,17,26,.07);
  }
  .header-links.open{display:flex}
  .header-link{padding:14px 4px;border-top:1px solid var(--line)}
  .header-link:first-child{border-top:none}
  /* The Academy's two halves stand indented under it, always open. */
  .header-item{flex-direction:column;align-items:stretch;border-top:1px solid var(--line)}
  .header-item:first-child{border-top:none}
  .header-item > .header-link{border-top:none}
  .header-chev{display:none}
  .header-sub{display:block}
  .header-sub-panel{min-width:0;padding:0 0 10px 12px;background:none;border:none;border-radius:0;box-shadow:none;gap:0}
  .header-sub-link{padding:9px 4px;font-size:15px}
  .header-sub-icon{width:28px;height:28px;border-radius:8px}

  /* No JavaScript, no button — a panel nothing can open would hide the links
     for good. They move into a second row instead: everything stays readable,
     and the bar keeps its own line. */
  .no-js .nav-toggle{display:none}
  .no-js .header-nav{flex:1;flex-wrap:wrap;justify-content:flex-end;row-gap:2px}
  .no-js .header-links{
    position:static;order:2;flex-basis:100%;
    display:flex;flex-direction:row;align-items:center;justify-content:flex-start;
    gap:20px;padding:0 0 2px;background:none;border:none;box-shadow:none;
  }
  .no-js .header-link{padding:0;border-top:none;font-size:14.5px}
  .no-js .header-item{border-top:none}
  .no-js .header-sub{display:none}
}
.header-cta{
  font-size:15px;font-weight:600;text-decoration:none;
  padding:9px 20px;border-radius:99px;
  background:var(--violet);color:#fff;transition:background .2s;
}
.header-cta:hover{background:var(--violet-deep)}


/* ---------- Hero ---------- */
.hero{
  min-height:100svh;position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:110px 24px 70px;
  background:
    radial-gradient(900px 500px at 50% -10%, #F1E6FE 0%, transparent 65%),
    radial-gradient(700px 420px at 85% 20%, #E3EEFE 0%, transparent 60%),
    var(--paper);
}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  font-size:13.5px;font-weight:600;color:var(--violet);
  background:var(--lavender);border:1px solid #E4CDFC;
  padding:6px 14px;border-radius:99px;margin-bottom:26px;
}
.hero h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(38px,6.4vw,76px);
  line-height:1.05;letter-spacing:-0.03em;
  /* 17 zeros of Sora Bold, written in em. Widths across this file used to be
     in ch, and ch is the width of the "0" of whatever font is on screen:
     the fallback's is a quarter narrower than Sora's, so the headline wrapped
     at a different width until the web font arrived. em does not depend on
     the font. Every former ch width below is converted the same way, with
     the "0" of the font that rule sets (Figtree 0.641em, Sora 600 0.756em,
     Sora 700 0.763em). */
  max-width:12.97em;
  /* Balances the lines instead of letting the last one fray out short.
     Browsers without support simply ignore the declaration. */
  text-wrap:balance;
}
.hero h1 .highlight{
  background:linear-gradient(90deg,#3C80F6,#A058F6);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.hero p{margin-top:24px;max-width:35.9em;color:var(--gray);font-size:clamp(16.5px,1.5vw,19px)}
.hero-hint{
  margin-top:44px;
  font-family:var(--font-mono);font-size:12.5px;color:var(--gray);
  display:flex;flex-direction:column;align-items:center;gap:10px;
}
.mouse{
  width:24px;height:38px;border:2px solid var(--line);border-radius:99px;position:relative;
}
.mouse::after{
  content:"";position:absolute;left:50%;top:7px;width:4px;height:8px;
  margin-left:-2px;border-radius:99px;background:var(--violet);
  animation:rad 1.8s ease-in-out infinite;
}
@keyframes rad{50%{transform:translateY(10px);opacity:.3}}

/* ---------- Intro ---------- */
.intro{padding:110px 0;border-top:1px solid var(--line)}
.intro .wrap{display:grid;grid-template-columns:auto 1fr;gap:clamp(24px,5vw,70px);align-items:start}
.chapter-label{
  font-family:var(--font-mono);font-size:13px;color:var(--violet);
  letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;padding-top:8px;
}
.intro h2{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(24px,3.2vw,38px);line-height:1.25;letter-spacing:-0.02em;
  max-width:21.17em;
}
.intro h2 span{color:var(--gray)}

/* ---------- Scrollytelling stage ---------- */
.stage-area{position:relative}
.stage{
  position:sticky;top:0;height:100svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:20px;padding:78px 24px 24px;
}
.app{
  width:min(960px,100%);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:0 30px 80px -34px rgba(92,63,224,.28), 0 6px 24px -12px rgba(23,24,29,.10);
  overflow:hidden;
  flex:none;
}
.app-bar{display:flex;align-items:center;gap:6px;padding:11px 14px;border-bottom:1px solid var(--line)}
.app-bar i{width:9px;height:9px;border-radius:50%;background:var(--line)}
.app-bar .url{
  margin-left:10px;flex:1;background:#F3F4F8;border-radius:7px;
  font-family:var(--font-mono);font-size:11px;color:var(--gray);padding:4px 10px;
}
.app-body{display:grid;grid-template-columns:172px 1fr;height:clamp(400px,46svh,440px)}
.app-side{
  border-right:1px solid var(--line);background:#FCFCFE;
  padding:14px 10px;display:flex;flex-direction:column;gap:2px;min-height:0;overflow:hidden;
}
.app-side .header{display:flex;align-items:center;gap:8px;padding:2px 8px 12px}
.app-side .header .v-mark{width:22px;height:22px}
.app-side .header b{font-family:var(--font-display);font-size:13px}
.app-side .search{
  font-size:11px;color:var(--gray);background:#F3F4F8;border-radius:7px;
  padding:6px 9px;margin:0 4px 10px;display:flex;justify-content:space-between;
}
.app-side .search code{font-family:var(--font-mono);font-size:9.5px;background:#fff;border:1px solid var(--line);border-radius:4px;padding:0 4px}
.nav-item{
  font-size:12.5px;color:var(--gray);padding:6px 10px;border-radius:8px;flex:none;
  transition:background .3s,color .3s;
}
.nav-item.on{background:#E1E2FE;color:#3E8FFC;font-weight:600}
.app-content{position:relative;min-width:0}
.screen{
  position:absolute;inset:0;padding:18px 20px;
  display:flex;flex-direction:column;gap:12px;
  opacity:0;transform:translateY(16px) scale(.99);
  transition:opacity .5s ease,transform .5s ease;
  pointer-events:none;overflow:hidden;
}
.screen.active{opacity:1;transform:none}
.app-content.rw .screen{transform:translateY(-16px) scale(.99)}
.app-content.rw .screen.active{transform:none}
.screen h5{font-family:var(--font-display);font-size:15px;font-weight:600;display:flex;align-items:center;justify-content:space-between;gap:10px}
.btn-mini{
  font-size:11.5px;font-weight:600;color:var(--violet-deep);
  background:var(--lavender);border-radius:8px;padding:6px 12px;flex:none;
}
.row{
  display:flex;align-items:center;gap:10px;
  border:1px solid var(--line);border-radius:10px;padding:9px 12px;
  font-size:12px;background:#fff;
}
.row .avatar{
  width:22px;height:22px;border-radius:50%;flex:none;
  background:var(--lavender);color:var(--violet-deep);
  display:grid;place-items:center;font-size:9px;font-weight:700;
}
.row .who{min-width:0}
.row .who b{display:block;font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.row .who span{font-size:10.5px;color:var(--gray)}
.badge{font-size:10px;font-weight:600;padding:3px 9px;border-radius:99px;flex:none;margin-left:auto}
.b-green{background:var(--green-soft);color:var(--green)}
.b-blue{background:var(--blue-soft);color:var(--blue)}
.b-teal{background:var(--teal-soft);color:var(--teal)}
.b-lavender{background:var(--lavender);color:var(--violet-deep)}
.amount{font-family:var(--font-mono);font-size:11.5px;flex:none}

.timer-card{
  border:1px solid #E4CDFC;background:linear-gradient(180deg,#FBFAFF,#F4F1FF);
  border-radius:12px;padding:14px 16px;
  display:flex;align-items:center;gap:14px;
}
.timer-card .time{font-family:var(--font-mono);font-size:24px;font-weight:500;letter-spacing:.02em}
.timer-card .info{font-size:11px;color:var(--gray)}
.timer-card .stop{
  margin-left:auto;width:34px;height:34px;border-radius:50%;
  background:var(--violet);display:grid;place-items:center;flex:none;
}
.timer-card .stop i{width:10px;height:10px;background:#fff;border-radius:2px}
.pulse{width:8px;height:8px;border-radius:50%;background:var(--green);flex:none;animation:puls 1.6s infinite}
@keyframes puls{50%{opacity:.35}}

.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{font-size:11px;font-weight:500;border:1px solid var(--line);border-radius:99px;padding:5px 12px;color:var(--gray)}
.chip.on{background:var(--lavender);border-color:#E4CDFC;color:var(--violet-deep);font-weight:600}
.switch{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  border:1px solid var(--line);border-radius:10px;padding:10px 12px;font-size:12px;font-weight:600;
}
.switch .toggle{width:34px;height:19px;border-radius:99px;background:var(--violet);position:relative;flex:none}
.switch .toggle::after{content:"";position:absolute;right:2px;top:2px;width:15px;height:15px;border-radius:50%;background:#fff}
.schedule{display:flex;flex-direction:column;gap:0;font-size:11.5px}
.schedule .dot{display:flex;align-items:center;gap:10px;padding:4px 0;color:var(--gray)}
.schedule .dot i{width:7px;height:7px;border-radius:50%;background:var(--line);flex:none;margin-left:1px}
.schedule .dot:first-child{color:var(--ink);font-weight:600}
.schedule .dot:first-child i{background:var(--green)}
.schedule .dot em{font-style:normal;margin-left:auto;font-family:var(--font-mono);font-size:10px}

.invoice-mini{
  border:1px solid var(--line);border-radius:12px;background:#fff;
  padding:16px;display:flex;flex-direction:column;gap:9px;font-size:11px;
}
.invoice-mini .headline{display:flex;justify-content:space-between;align-items:center}
.invoice-mini .accent{height:3px;border-radius:99px;background:var(--accent,#F97316);width:52px}
.invoice-mini table{width:100%;border-collapse:collapse;font-size:10.5px}
.invoice-mini th{text-align:left;color:var(--gray);font-weight:500;padding:4px 0;border-bottom:1px solid var(--line)}
.invoice-mini td{padding:5px 0;border-bottom:1px solid #F1F2F7}
.invoice-mini td:last-child,.invoice-mini th:last-child{text-align:right;font-family:var(--font-mono)}
.qr-block{display:flex;gap:10px;align-items:center;margin-top:2px}
.qr{
  width:40px;height:40px;border-radius:6px;flex:none;
  background:
    conic-gradient(var(--ink) 25%, transparent 0 50%, var(--ink) 0 75%, transparent 0) 0 0/12px 12px,
    #fff;
  border:1px solid var(--line);
}
.qr-block span{font-size:10px;color:var(--gray);line-height:1.45}
.qr-block b{display:block;font-size:10.5px;color:var(--accent,#F97316)}
.color-choice{display:flex;align-items:center;gap:7px;font-size:11px;color:var(--gray)}
.color-choice i{width:16px;height:16px;border-radius:5px;border:2px solid #fff;box-shadow:0 0 0 1px var(--line)}

.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tile{border:1px solid var(--line);border-radius:12px;padding:12px;background:#fff}
.tile small{font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--gray);display:block;margin-bottom:4px}
.tile b{font-family:var(--font-display);font-size:17px;font-weight:700;letter-spacing:-0.01em}
.tile .plus{color:var(--green);font-size:10px;font-weight:600}
.budget{display:flex;flex-direction:column;gap:5px;font-size:11px}
.budget .b-row{display:flex;justify-content:space-between;color:var(--gray)}
.budget .b-row b{color:var(--ink);font-weight:600}
.bar{height:9px;border-radius:99px;background:#F1F2F7;overflow:hidden}
.bar i{display:block;height:100%;border-radius:99px;background:linear-gradient(90deg,#3C80F6,#A058F6)}
.bars{display:flex;align-items:flex-end;gap:7px;height:64px;padding-top:4px}
.bars i{flex:1;border-radius:4px 4px 0 0;background:var(--blue);opacity:.85}
.bars i:nth-child(2n){opacity:.45}

.plugin-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
.plugin{
  border:1px solid var(--line);border-radius:12px;background:#fff;
  padding:12px 13px;display:flex;flex-direction:column;gap:6px;
}
.plugin .p-header{display:flex;align-items:center;gap:8px}
.plugin .p-icon{
  width:24px;height:24px;border-radius:7px;flex:none;
  background:var(--lavender);color:var(--violet-deep);
  display:grid;place-items:center;font-size:11px;
}
.plugin b{font-size:12.5px;font-weight:600}
.plugin p{font-size:10.5px;color:var(--gray);line-height:1.45}
.plugin .p-btn{
  align-self:flex-start;margin-top:auto;
  font-size:10.5px;font-weight:600;
  background:var(--lavender);color:var(--violet-deep);
  border-radius:7px;padding:5px 11px;
}
.plugin .p-btn.done{background:var(--green-soft);color:var(--green)}

/* Caption below the app */
.caption-holder{position:relative;width:min(960px,100%);min-height:118px;flex:none}
.caption{
  position:absolute;inset:0;
  display:flex;gap:18px;align-items:flex-start;
  opacity:0;transform:translateY(12px);
  transition:opacity .5s ease,transform .5s ease;
  pointer-events:none;
}
.caption.active{opacity:1;transform:none}
.caption-holder.rw .caption{transform:translateY(-12px)}
.caption-holder.rw .caption.active{transform:none}
.caption .num{
  font-family:var(--font-mono);font-size:12.5px;color:var(--violet);
  border:1px solid #E4CDFC;background:var(--lavender);
  border-radius:99px;padding:5px 12px;flex:none;margin-top:3px;
}
.caption h3{font-family:var(--font-display);font-size:clamp(19px,2.2vw,24px);font-weight:600;letter-spacing:-0.015em;margin-bottom:5px}
.caption p{color:var(--gray);font-size:15.5px;max-width:39.7em}

/* Chapter rail */
.rail{
  position:absolute;right:26px;top:50%;transform:translateY(-50%);
  display:flex;flex-direction:column;gap:12px;
}
.rail i{
  width:8px;height:8px;border-radius:50%;background:var(--line);
  transition:background .3s,transform .3s;
}
.rail i.on{background:var(--violet);transform:scale(1.35)}
.trigger{height:100svh}

/* ---------- Scales with you ---------- */
.scale{padding:130px 0;border-top:1px solid var(--line)}
.scale .wrap{display:grid;grid-template-columns:auto 1fr;gap:clamp(24px,5vw,70px);align-items:start}
.scale h2{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(24px,3.2vw,38px);letter-spacing:-0.02em;line-height:1.22;
  margin-bottom:16px;max-width:16.63em;
}
.scale .text p{color:var(--gray);max-width:37.2em;margin-bottom:28px}
.tags{display:flex;gap:10px;flex-wrap:wrap}
.tag{
  font-size:14px;font-weight:500;
  border:1px solid var(--line);background:#fff;
  border-radius:99px;padding:9px 18px;
}
.tag b{color:var(--violet-deep);font-weight:600}

/* ---------- Pricing ---------- */
.prices{padding:130px 0;border-top:1px solid var(--line)}
.prices-header{text-align:center;margin-bottom:60px}
.prices-header .chapter-label{display:block;margin-bottom:14px}
.prices-header h2{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(26px,3.6vw,44px);letter-spacing:-0.02em;line-height:1.15;
  max-width:16.63em;margin:0 auto;
}
.prices-header p{color:var(--gray);margin:18px auto 0;max-width:33.3em}
.price-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:20px;
  align-items:stretch;
}
/* Three across is the design, and up to three the rule above is all of it.
   From the fourth plan on the row has to break, and grid would leave the
   remainder hanging left under the first column - so that case switches to
   flex, where a trailing row centres by itself. 366px is what a column
   measures at the widest wrap, so no card grows past the width it was drawn
   at. Scoped with :has() rather than applied to every page: a pricing section
   with three plans must render exactly as it did before. */
.price-grid:has(.price:nth-child(4)){
  display:flex;flex-wrap:wrap;justify-content:center;
}
/* The width a column has in the three-across grid, spelled out: 100% minus
   the two gaps, divided by three. Letting flex distribute the space instead
   would make the two cards of a trailing row wider than the three above
   them. */
.price-grid:has(.price:nth-child(4)) .price{flex:none;width:calc((100% - 40px) / 3)}
.price{
  position:relative;
  background:var(--card);
  border:1px solid var(--line);border-radius:20px;
  padding:34px 30px;
  display:flex;flex-direction:column;gap:0;
  opacity:0;transform:translateY(20px);
  transition:opacity .6s ease,transform .6s ease;
}
.price.visible{opacity:1;transform:none}
.price:nth-child(2){transition-delay:.1s}
.price:nth-child(3){transition-delay:.2s}
.price.featured{
  border-color:#CBBDFF;
  box-shadow:0 24px 60px -28px rgba(92,63,224,.35);
}
.price .popular{
  position:absolute;top:-13px;left:50%;transform:translateX(-50%);
  font-size:12px;font-weight:600;color:#fff;
  background:linear-gradient(90deg,#3C80F6,var(--violet));
  border-radius:99px;padding:5px 16px;white-space:nowrap;
}
.price h3{font-family:var(--font-display);font-size:19px;font-weight:600;letter-spacing:-0.01em}
.price .audience{font-size:14px;color:var(--gray);margin:4px 0 22px}
.price .amount-large{display:flex;align-items:baseline;gap:8px;margin-bottom:2px}
.price .amount-large b{
  font-family:var(--font-display);font-weight:700;font-size:40px;letter-spacing:-0.03em;
}
.price .amount-large span{font-size:14px;color:var(--gray)}
.price .unit{font-size:13px;color:var(--gray);margin-bottom:24px}
.price ul{list-style:none;display:flex;flex-direction:column;gap:11px;margin-bottom:30px}
.price li{display:flex;gap:10px;align-items:baseline;font-size:15px}
.price li::before{content:"✓";color:var(--green);font-weight:700;flex:none}
.price li b{font-weight:600}
.price li span{line-height:1.5}
.price li.excluded{color:var(--gray)}
.price li.excluded::before{content:"—";color:var(--line)}
.price .footer{margin-top:auto}
.price-btn{
  display:block;text-align:center;text-decoration:none;
  font-weight:600;font-size:15.5px;
  padding:13px 20px;border-radius:99px;
  border:1.5px solid var(--line);color:var(--ink);
  transition:all .2s;
}
.price-btn:hover{border-color:var(--violet);color:var(--violet-deep)}
.price-btn.solid{background:var(--violet);border-color:var(--violet);color:#fff}
.price-btn.solid:hover{background:var(--violet-deep);border-color:var(--violet-deep)}
/* Starter/Professional are <button> (Paddle checkout) rather than <a>:
   reset the browser defaults so both look identical. */
button.price-btn{
  width:100%;font-size:15.5px;
  font-family:inherit;background:transparent;cursor:pointer;
}
/* Before sales open. The badge by the plan name is what catches the eye:
   solid violet like the "Demnächst" of the Academy, with a dot that breathes
   slowly so it reads as "on its way", not as "switched off". The button in
   the footer, when it leads nowhere, is a soft lavender pill rather than an
   outline — it should not look like a button that failed to load. With a
   target it is an ordinary link and keeps the usual look. */
.price-soon{
  display:inline-flex;align-items:center;gap:6px;vertical-align:middle;
  margin-left:6px;padding:3px 10px 3px 8px;border-radius:99px;
  background:var(--violet);color:#fff;
  font-family:var(--font-text);font-size:11.5px;font-weight:600;letter-spacing:0;
  position:relative;top:-1px;
}
.price-soon i{
  width:6px;height:6px;border-radius:50%;background:#fff;flex:none;
  animation:price-soon-dot 2.4s ease-in-out infinite;
}
@keyframes price-soon-dot{0%,100%{opacity:1}50%{opacity:.35}}
@media (prefers-reduced-motion:reduce){.price-soon i{animation:none}}
span.price-btn.soon{
  background:var(--lavender);border-color:var(--lavender);color:var(--violet-deep);cursor:default;
}
span.price-btn.soon:hover{border-color:var(--lavender);color:var(--violet-deep)}
/* The sales start on the coming-soon button: a small pill half over its top
   right edge, like a notification count. A ring in the card colour cuts it
   off the button's border. On the solid (featured) button it turns white,
   or violet on violet would melt into the button. */
.price-btn.soon{position:relative}
.price-btn-date{
  position:absolute;top:0;right:16px;transform:translateY(-55%);
  padding:3px 9px;border-radius:99px;white-space:nowrap;
  background:var(--violet);color:#fff;
  font-size:11.5px;font-weight:600;line-height:1.35;letter-spacing:0;
  box-shadow:0 0 0 3px var(--card);
  pointer-events:none;
}
.price-btn.soon.solid .price-btn-date{background:#fff;color:var(--violet-deep);box-shadow:0 0 0 1.5px var(--violet),0 0 0 4px var(--card)}
.price-note{
  text-align:center;font-size:13.5px;color:var(--gray);margin-top:26px;
}
.banner-row{
  margin-top:44px;
  display:grid;grid-template-columns:1fr 1fr;gap:20px;
  align-items:stretch;
}
.banner-row .demo-banner{
  margin-top:0;
  flex-direction:column;align-items:flex-start;justify-content:space-between;
  gap:18px;
}
.demo-banner{
  margin-top:44px;
  background:var(--lavender);border:1px solid #E4CDFC;border-radius:20px;
  padding:28px 32px;
  display:flex;align-items:center;justify-content:space-between;
  gap:22px;flex-wrap:wrap;
}
.demo-banner.light{background:#fff;border-color:var(--line)}
.demo-banner.light .price-btn{background:var(--lavender);border-color:#E4CDFC;color:var(--violet-deep)}
.demo-banner h4{
  font-family:var(--font-display);font-size:19px;font-weight:600;
  letter-spacing:-0.01em;margin-bottom:5px;
}
.demo-banner p{font-size:15px;color:var(--gray);max-width:35.9em}
.demo-banner p b{color:var(--violet-deep);font-weight:600}
.demo-banner .price-btn{flex:none;background:#fff}

/* ---------- CTA ---------- */
.cta{
  margin:0 24px 24px;border-radius:24px;
  background:linear-gradient(135deg,#3C80F6 0%,#A058F6 100%);
  color:#fff;text-align:center;padding:110px 24px;
}
.cta h2{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(30px,4.4vw,52px);letter-spacing:-0.025em;line-height:1.08;
  max-width:15.26em;margin:0 auto;
}
.cta p{opacity:.92;margin:22px auto 38px;max-width:30.8em}
.cta a{
  display:inline-block;text-decoration:none;font-weight:600;font-size:16.5px;
  background:#fff;color:var(--violet-deep);
  padding:15px 34px;border-radius:99px;transition:transform .2s;
}
.cta a:hover{transform:translateY(-2px)}
.cta .cta-mail{margin-top:22px;font-size:14.5px;opacity:.85}
.cta .cta-mail a{
  display:inline;background:none;color:#fff;padding:0;
  font-size:inherit;text-decoration:underline;text-underline-offset:3px;
}
.cta .cta-mail a:hover{transform:none;opacity:.85}

/* ---------- Text section ---------- */
/* The block for everything with no block of its own. Same rhythm as .intro
   and .scale so a text between two of them keeps the page's spacing, but a
   narrower measure: this one is read, not scanned. */
.prose{padding:110px 0;border-top:1px solid var(--line)}
.prose .wrap{max-width:900px}
.prose .chapter-label{display:block;margin-bottom:14px;padding-top:0}
.prose h2{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(24px,3.2vw,38px);line-height:1.25;letter-spacing:-0.02em;
  max-width:21.17em;margin-bottom:26px;
}
.prose-body{color:var(--gray);max-width:43.6em}
.prose-body > * + *{margin-top:18px}
.prose-body h3{
  font-family:var(--font-display);font-weight:600;font-size:20px;
  letter-spacing:-0.01em;color:var(--ink);margin-top:34px;
}
/* The reset takes the indent off every list, so it comes back here — without
   it the markers would sit outside the text. */
.prose-body ul,.prose-body ol{padding-left:22px}
.prose-body li + li{margin-top:8px}
.prose-body a{color:var(--violet-deep)}
/* Simple pages (Impressum, Datenschutz, ...): .prose-body plus what a long
   text with sections needs. Text in ink rather than gray, it is read rather
   than skimmed; H2 opens a section with air above it, H3 stays close to its
   paragraph. Placeholders and labels are <strong>, which needs the ink too. */
.page h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(32px,4.4vw,48px);line-height:1.15;letter-spacing:-0.03em;
  margin-bottom:28px;
}
.page-body{color:var(--ink);font-size:16.5px;line-height:1.7;max-width:none}
.page-body h2{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(21px,2.4vw,26px);line-height:1.3;letter-spacing:-0.015em;
  margin-top:52px;padding-top:28px;border-top:1px solid var(--line);
}
.page-body > h2:first-child{margin-top:0;padding-top:0;border-top:0}
.page-body h3{font-size:18px;margin-top:30px}
.page-body h2 + *,.page-body h3 + *{margin-top:10px}
.page-body strong{font-weight:600;color:var(--ink)}
.page-body a{text-decoration:underline;text-underline-offset:2px;text-decoration-thickness:1px}
.prose-body blockquote{
  border-left:3px solid var(--lavender);padding-left:18px;color:var(--ink);
}
.prose-body strong{color:var(--ink);font-weight:600}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--line);padding:60px 0 40px;font-size:14.5px;color:var(--gray)}
.footer-top{
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px;
  padding-bottom:44px;
}
.footer-brand p{margin-top:14px;max-width:21.8em;font-size:14px}
.footer-column h6{
  font-family:var(--font-mono);font-size:11.5px;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:var(--ink);
  margin-bottom:16px;
}
.footer-column a{
  display:block;text-decoration:none;color:var(--gray);
  padding:5px 0;transition:color .2s;
}
.footer-column a:hover{color:var(--violet-deep)}
.footer-column .soon{
  font-size:10.5px;font-weight:600;color:var(--violet-deep);
  background:var(--lavender);border-radius:99px;padding:2px 8px;
  margin-left:7px;vertical-align:1px;
}
.footer-bottom{
  border-top:1px solid var(--line);padding-top:26px;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;
  font-size:13.5px;
}
.footer-bottom a{text-decoration:none;color:inherit}
.footer-bottom a:hover{color:var(--ink)}

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .app-body{grid-template-columns:1fr;height:clamp(300px,40svh,380px)}
  .app-side{display:none}
  .intro .wrap,.scale .wrap{grid-template-columns:1fr;gap:14px}
  .rail{display:none}
  .stage{padding-top:70px;gap:14px}
  .caption-holder{min-height:150px}
  .caption{gap:12px}
  .tiles{grid-template-columns:repeat(2,1fr)}
  .tile:nth-child(3){display:none}
  .price-grid{grid-template-columns:1fr;gap:26px}
  /* One per row on a phone, four or five plans included. */
  .price-grid:has(.price:nth-child(4)) .price{width:100%}
  .banner-row{grid-template-columns:1fr}
  .footer-top{grid-template-columns:1fr;gap:30px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .screen,.caption,.rail i,.price,
  .nav-toggle-bars,.nav-toggle-bars::before,.nav-toggle-bars::after,
  .lightbox-close,.header-sub,.header-chev{transition:none}
  .mouse::after,.pulse{animation:none}
  .cta a:hover{transform:none}
}

/* ---------- 404 ---------- */
.error{
  min-height:100svh;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:110px 24px 60px;
  background:
    radial-gradient(900px 500px at 50% -10%, #F1E6FE 0%, transparent 65%),
    radial-gradient(700px 420px at 85% 20%, #E3EEFE 0%, transparent 60%),
    var(--paper);
}
.error-code{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(90px,18vw,190px);line-height:1;letter-spacing:-0.04em;
  background:linear-gradient(90deg,#8a42d6,#0087e3,#16dba0);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.error h1{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(22px,3vw,32px);letter-spacing:-0.02em;margin-top:10px;
}
.error > p{color:var(--gray);margin-top:14px;max-width:29.5em}
.error-card{
  margin-top:36px;width:min(420px,100%);
  background:#fff;border:1px solid var(--line);border-radius:14px;
  padding:14px 16px;text-align:left;
  box-shadow:0 20px 50px -25px rgba(92,63,224,.3);
}
.error-card .row{border:none;padding:0}
.b-pink{background:#FDE8EC;color:#D6455D}
.error-buttons{display:flex;gap:14px;flex-wrap:wrap;justify-content:center;margin-top:40px}
.error-buttons .btn-solid{
  text-decoration:none;font-weight:600;font-size:15.5px;
  background:var(--violet);color:#fff;padding:13px 28px;border-radius:99px;
  transition:background .2s;
}
.error-buttons .btn-solid:hover{background:var(--violet-deep)}
.error-buttons .btn-outline{
  text-decoration:none;font-weight:600;font-size:15.5px;color:var(--ink);
  border:1.5px solid var(--line);padding:13px 28px;border-radius:99px;
  transition:border-color .2s,color .2s;
}
.error-buttons .btn-outline:hover{border-color:var(--violet);color:var(--violet-deep)}
.error-footer{margin-top:auto;padding-top:50px;font-size:13.5px;color:#9AA0AE}
.error-footer a{color:inherit}

/* ---------- Contact ---------- */
.contact{padding:130px 0;border-top:1px solid var(--line)}
.contact .wrap{max-width:820px}
.contact-header{text-align:center;margin-bottom:44px}
.contact-header .chapter-label{display:block;margin-bottom:14px}
.contact-header h2{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(26px,3.6vw,44px);letter-spacing:-0.02em;line-height:1.15;
}
.contact-header p{color:var(--gray);margin:16px auto 0;max-width:33.3em}
.contact-card{
  background:#fff;border:1px solid var(--line);border-radius:20px;
  padding:38px 36px;
  box-shadow:0 24px 60px -30px rgba(92,63,224,.22);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px}
.field label{font-size:14px;font-weight:600}
.field label small{font-weight:400;color:var(--gray)}
.field input,.field select,.field textarea{
  font-family:var(--font-text);font-size:15.5px;color:var(--ink);
  background:var(--paper);border:1.5px solid var(--line);border-radius:12px;
  padding:12px 14px;width:100%;
  transition:border-color .2s,box-shadow .2s;
}
.field textarea{min-height:130px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{
  outline:none;border-color:var(--violet);
  box-shadow:0 0 0 3px rgba(124,92,252,.15);
}
/* The "Worum geht's?" select. Closed, it gets its own chevron instead of
   the browser's arrow, so it matches the inputs everywhere. Open, browsers
   that support customizable select (appearance: base-select, Chromium) draw
   the list in the page and style it like the rest of the card: rounded
   panel, soft shadow, lavender hover, violet tick. The others keep their
   native list, which on phones is the better picker anyway. */
.field select{
  appearance:none;-webkit-appearance:none;cursor:pointer;padding-right:42px;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='%236B7080' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 16px center;
}
.field select:has(option[value=""]:checked){color:var(--gray)}
@supports (appearance: base-select){
  .field select,.field select::picker(select){appearance:base-select}
  .field select{background-image:none;display:flex;align-items:center;justify-content:space-between;padding-right:14px}
  .field select::picker-icon{
    content:"";width:12px;height:12px;flex:none;margin-left:12px;
    background:var(--gray);
    mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") center/contain no-repeat;
    transition:rotate .2s ease;
  }
  .field select:open::picker-icon{rotate:180deg}
  .field select:open{border-color:var(--violet);box-shadow:0 0 0 3px rgba(124,92,252,.15)}
  .field select::picker(select){
    /* Always below the field and as wide as it. No flip upwards: it covered
       the label, and Chrome took it even with room to spare. Physical
       keywords on purpose — the logical ones opened the list upwards. */
    position-area:bottom span-right;position-try-fallbacks:none;
    min-width:anchor-size(width);
    margin:6px 0;padding:6px;
    background:#fff;border:1px solid var(--line);border-radius:14px;
    box-shadow:0 22px 48px -20px rgba(40,24,90,.32);
    opacity:1;translate:0 0;
    transition:opacity .16s ease,translate .16s ease,display .16s allow-discrete,overlay .16s allow-discrete;
  }
  .field select:not(:open)::picker(select){opacity:0;translate:0 -4px}
  @starting-style{.field select:open::picker(select){opacity:0;translate:0 -4px}}
  .field select option{
    display:flex;align-items:center;gap:10px;
    padding:10px 12px;border-radius:9px;
    font-size:15px;color:var(--ink);cursor:pointer;
    transition:background .12s,color .12s;
  }
  /* The placeholder only belongs in the closed field, not in the list. */
  .field select option[value=""]{display:none}
  .field select option:hover,.field select option:focus-visible{background:var(--lavender);color:var(--violet-deep);outline:none}
  .field select option:checked{font-weight:600;color:var(--violet-deep)}
  .field select option::checkmark{order:1;margin-left:auto;color:var(--violet);font-weight:700}
  .field select selectedcontent{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
}
@media (prefers-reduced-motion:reduce){
  .field select::picker(select),.field select::picker-icon{transition:none}
}
.field input[aria-invalid="true"],.field textarea[aria-invalid="true"]{border-color:#D6455D}
.field [data-fs-error]{font-size:13px;color:#D6455D}
.field [data-fs-error]:empty{display:none}
.hp{display:none}
.form-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-top:6px}
.form-note{font-size:12.5px;color:var(--gray);max-width:33.3em}
.form-note a{color:var(--violet-deep)}
.form-submit{
  font-family:var(--font-text);
  font-size:15.5px;font-weight:600;color:#fff;
  background:var(--violet);border:none;border-radius:99px;
  padding:14px 32px;cursor:pointer;flex:none;
  transition:background .2s;
}
.form-submit:hover{background:var(--violet-deep)}
.form-submit:disabled{opacity:.6;cursor:wait}
[data-fs-success]:not(:empty){
  background:var(--green-soft);border:1px solid #BFEBDC;color:var(--green);
  border-radius:12px;padding:14px 18px;font-weight:600;font-size:15px;
  margin-bottom:20px;
}
.contact-card > [data-fs-error]:not(:empty){
  background:#FDE8EC;border:1px solid #F6C6D0;color:#D6455D;
  border-radius:12px;padding:14px 18px;font-size:14.5px;
  margin-bottom:20px;display:block;
}
@media (max-width:640px){
  .form-row{grid-template-columns:1fr}
  .contact-card{padding:28px 22px}
}

/* ---------- CI / brand page ---------- */
.ci{padding:150px 0 90px}
.ci .wrap{max-width:900px}
.ci-header{margin-bottom:70px}
.ci-header .chapter-label{display:block;margin-bottom:14px}
.ci-header h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(32px,5vw,54px);letter-spacing:-0.025em;line-height:1.08;
}
.ci-header p{color:var(--gray);margin-top:18px;max-width:35.9em}
.ci-header a{color:var(--violet-deep)}
.ci-block{padding:44px 0;border-top:1px solid var(--line)}
.ci-block h2{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(22px,2.6vw,30px);letter-spacing:-0.015em;margin-bottom:10px;
}
.ci-intro{color:var(--gray);max-width:38.5em;margin-bottom:28px}
.ci-intro a{color:var(--violet-deep)}

.ci-logo-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:24px}
.ci-logo-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.ci-logo-area{display:grid;place-items:center;height:180px}
.ci-logo-area img{width:84px;height:84px}
.ci-logo-area.light{background:var(--paper)}
.ci-logo-area.dark{background:linear-gradient(150deg,#221457,#101838)}
.ci-logo-footer{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  padding:14px 18px;border-top:1px solid var(--line);font-size:14.5px;
}
.ci-logo-footer a{color:var(--violet-deep);font-weight:600;text-decoration:none}
.ci-logo-footer a:hover{text-decoration:underline}
.ci-rules{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ci-rule{font-size:14.5px;border:1px solid var(--line);border-radius:12px;padding:11px 15px;background:#fff}
.ci-rule.good{color:var(--green);border-color:#BFEBDC;background:var(--green-soft)}
.ci-rule.bad{color:#D6455D;border-color:#F6C6D0;background:#FDE8EC}

.ci-colors{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:12px}
.ci-color{
  font-family:var(--font-text);text-align:left;cursor:pointer;
  background:#fff;border:1px solid var(--line);border-radius:14px;padding:12px;
  transition:border-color .2s,transform .15s;
}
.ci-color:hover{border-color:var(--violet);transform:translateY(-2px)}
.ci-color i{display:block;height:52px;border-radius:9px;margin-bottom:10px}
.ci-color b{display:block;font-size:14px;font-weight:600;color:var(--ink)}
.ci-color code{font-family:var(--font-mono);font-size:11.5px;color:var(--gray)}
.ci-color.copied{border-color:var(--green)}

.ci-fonts{display:flex;flex-direction:column;gap:16px}
.ci-font{border:1px solid var(--line);border-radius:16px;background:#fff;padding:22px 24px}
.ci-sample{margin-bottom:12px;color:var(--ink)}
.ci-font b{font-size:14.5px;font-weight:600}
.ci-font span{font-size:13.5px;color:var(--gray);margin-left:10px}

@media (max-width:640px){
  .ci-logo-grid,.ci-rules{grid-template-columns:1fr}
}

/* Keep the reCAPTCHA badge above the Chatwoot bubble */
.grecaptcha-badge{
  bottom: 96px !important;
  z-index: 40 !important;
  box-shadow: 0 0 6px rgba(0,0,0,.12) !important;
}

/* Narrow screens: the pager sticks to the bottom so "Weiter" stays reachable
   without scrolling to the end of the page.

   And the chat goes away while reading a tutorial. It used to be pushed up
   instead, which had two things wrong with it: the rule hung on
   .inner-page — every page but the home page, so the bubble sat in a
   different place on the Impressum than on the front page for no reason —
   and where the pager is, no amount of pushing keeps a round button off a
   full-width bar for long. It is hidden here rather than never loaded,
   because the reason is the width of the screen and not the page: turn a
   tablet sideways and the pager stops being sticky, so the chat comes back
   with it. */
@media (max-width:700px){
  body.inner-page .tut-pager{
    position:sticky;bottom:0;z-index:60;
    margin-top:32px;padding:12px 0 calc(12px + env(safe-area-inset-bottom));
    background:var(--paper);
    box-shadow:0 -10px 16px -12px rgba(23,24,29,.25);
  }
  body.inner-page .tut-btn{padding:12px 18px;font-size:15px}
  body.tutorial-page .woot--bubble-holder,
  body.tutorial-page .woot-widget-bubble,
  body.tutorial-page .woot-widget-holder{display:none !important}
}

/* ---------- Tutorials ---------- */
/* Short views (a category with three rows, say) do not fill the screen.
   Without this the footer stuck to the content instead of the bottom. */
/* A page built from blocks. Same column as .inner-page so a short page — a
   single text section, say — does not leave its footer halfway up the screen,
   but without what .inner-page carries for the tutorial pages. The sticky
   stage of the "Rundgang" block keeps working inside it: the flex container
   is the body, and sticky only breaks on an ancestor that scrolls. */
body.cms-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body.cms-page > main{flex:1 0 auto}
body.cms-page > footer{flex:none}

body.inner-page{min-height:100vh;min-height:100svh;display:flex;flex-direction:column}
body.inner-page > main{flex:1 0 auto}
body.inner-page > footer{flex:none}
/* The air before the footer belongs to the page, not to one box inside it.
   It used to sit on .tut-content, which only three of the five templates wrap
   in - the category page and the simple page (Impressum, Datenschutz) ended
   flush against the footer's top border. */
.tut{padding:110px 0 90px}
.tut .wrap{max-width:1140px}

/* Head of the overview */
.tut-header{
  padding:26px 0 44px;
  background:
    radial-gradient(900px 420px at 50% -40%, #F1E6FE 0%, transparent 62%),
    radial-gradient(700px 380px at 88% -10%, #E3EEFE 0%, transparent 58%);
}
.tut-header h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(32px,5vw,52px);letter-spacing:-0.025em;line-height:1.08;max-width:13.73em;
}
.tut-header h1 .highlight{
  background:linear-gradient(90deg,#3C80F6,#A058F6);
  -webkit-background-clip:text;background-clip:text;color:transparent;
}
.tut-header > .wrap > p{color:var(--gray);margin-top:18px;max-width:37.2em}

/* Field and Algolia's mark are one column: the mark sits on the right-hand
   edge of the field, not of the page. */
.tut-search-column{margin-top:32px;max-width:520px}
.tut-search{
  display:flex;align-items:center;gap:12px;
  background:#fff;border:1.5px solid var(--line);border-radius:14px;
  padding:13px 18px;transition:border-color .2s,box-shadow .2s;
}
.tut-search:focus-within{border-color:var(--violet);box-shadow:0 0 0 3px rgba(124,92,252,.15)}
.tut-search svg{color:var(--gray);flex:none}
.tut-search input{
  border:none;outline:none;background:none;width:100%;
  font-family:var(--font-text);font-size:16px;color:var(--ink);
}
.tut-search input::placeholder{color:#9AA0AE}
.tut-search kbd{
  font-family:var(--font-mono);font-size:11px;color:var(--gray);
  background:#F3F4F8;border:1px solid var(--line);border-radius:5px;padding:2px 7px;flex:none;
}
/* Algolia's mark under the field, on the right-hand edge of the same column.
   Small and quiet, but not hidden: the terms of the free plan ask for a
   visible place, and this is one. Its colours come with the markup - they are
   Algolia's, not ours to theme. */
.tut-algolia{
  display:block;width:max-content;margin:10px 0 0 auto;
  opacity:.75;transition:opacity .2s;
}
.tut-algolia:hover{opacity:1}
.tut-algolia:focus-visible{outline:2px solid var(--violet);outline-offset:3px;border-radius:4px}
.tut-algolia-logo{display:block}

/* Safari draws its own cross in a search field, and it sits where ours is. */
.tut-search input::-webkit-search-cancel-button,
.tut-search input::-webkit-search-decoration{-webkit-appearance:none;appearance:none}
.tut-search-clear{
  flex:none;display:grid;place-items:center;width:26px;height:26px;border-radius:8px;
  border:none;background:none;color:var(--gray);cursor:pointer;
  transition:background .2s,color .2s;
}
.tut-search-clear:hover{background:#F3F4F8;color:var(--ink)}

/* Results.
   They stand where the category tiles stand, and the line above them counts
   instead of naming - one place on the page, two states. So a result has to
   look like something that belongs in that column, and the row of a tutorial
   is what already does: same border, same lift, same chevron. */
.tut-results{display:flex;flex-direction:column;gap:10px}
/* Everything that belongs to the tiles rather than to the results steps aside
   while a search runs. Through a class on the column, so that an element which
   is hidden for a reason of its own - the progress line, which only appears
   once somebody has finished a tutorial - keeps that reason. */
.is-searching [data-search-hide]{display:none!important}
.tut-hit{
  display:flex;align-items:center;gap:18px;width:100%;text-align:left;
  font-family:var(--font-text);color:var(--ink);text-decoration:none;
  background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 22px;
  transition:border-color .2s,transform .18s,box-shadow .25s;
}
.tut-hit:hover,.tut-hit.active{
  border-color:#CBBDFF;transform:translateX(3px);
  box-shadow:0 18px 40px -30px rgba(92,63,224,.5);
}
.tut-hit:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
.tut-hit-mark{flex:none;display:flex}
/* The tile a category wears on the grid, at the size a row wants. */
.tut-hit .tut-cat-icon{margin-bottom:0;width:38px;height:38px;border-radius:11px}
.tut-hit-text{min-width:0;flex:1}
.tut-hit-text b{
  font-family:var(--font-display);font-size:17px;font-weight:600;letter-spacing:-0.01em;display:block;
}
.tut-hit-where{
  display:block;margin-top:4px;
  font-family:var(--font-mono);font-size:12px;color:var(--gray);
}
.tut-hit-snippet{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:14.5px;color:var(--gray);line-height:1.5;margin-top:5px;
}
/* The words that matched. Not italic - the mark is what the eye should find,
   and a slanted word in the middle of a German sentence is harder to read
   than a coloured one. */
.tut-hit em{
  font-style:normal;font-weight:600;color:var(--violet-deep);
  background:var(--lavender);border-radius:4px;padding:0 3px;
}
.tut-hit-where em{background:none;padding:0}
.tut-hit > svg{color:#C7CAD6;flex:none;transition:color .2s,transform .2s}
.tut-hit:hover > svg,.tut-hit.active > svg{color:var(--violet);transform:translateX(3px)}

/* Nothing found, and the search unreachable, share a shape: the dashed frame
   an unwritten tutorial already uses. */
.tut-noresults{
  text-align:center;color:var(--gray);padding:52px 24px;
  border:1.5px dashed var(--line);border-radius:18px;
}
.tut-noresults b{
  display:block;font-family:var(--font-display);font-size:18px;color:var(--ink);margin-bottom:6px;
}
.tut-noresults p{max-width:28.2em;margin:0 auto}


.tut-content{padding:0}
.tut-section{
  font-family:var(--font-mono);font-size:11.5px;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:var(--gray);margin:44px 0 18px;
}

/* Category cards */
.tut-cat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.tut-cat{
  display:flex;flex-direction:column;align-items:flex-start;text-align:left;width:100%;
  font-family:var(--font-text);color:var(--ink);text-decoration:none;
  background:var(--card);border:1px solid var(--line);border-radius:20px;
  padding:26px 26px 22px;cursor:pointer;
  transition:border-color .2s,transform .18s,box-shadow .25s;
}
.tut-cat:hover{
  border-color:#CBBDFF;transform:translateY(-3px);
  box-shadow:0 24px 50px -30px rgba(92,63,224,.42);
}
.tut-cat-icon{
  width:44px;height:44px;border-radius:13px;flex:none;
  display:grid;place-items:center;margin-bottom:18px;
  background:var(--lavender);color:var(--violet-deep);
}
/* The tones a category can carry. Same recipe throughout: the pale tint of a
   colour behind its saturated form, so a row of tiles reads as one family
   rather than as seven unrelated stickers. Violet needs no class - it is what
   .tut-cat-icon already is, and the templates only print the exception. */
.tut-cat-icon.blue{background:var(--blue-soft);color:var(--blue)}
.tut-cat-icon.teal{background:var(--teal-soft);color:var(--teal)}
.tut-cat-icon.green{background:var(--green-soft);color:var(--green)}
.tut-cat-icon.amber{background:var(--amber-soft);color:var(--amber)}
.tut-cat-icon.rose{background:var(--rose-soft);color:var(--rose)}
.tut-cat-icon.slate{background:var(--slate-soft);color:var(--slate)}
.tut-cat h3{
  font-family:var(--font-display);font-size:19px;font-weight:600;letter-spacing:-0.01em;
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
}
.tut-cat p{font-size:15px;color:var(--gray);line-height:1.5;margin-top:8px;margin-bottom:20px;text-wrap:pretty}
/* The footer sits on the floor of the card, not under the text: the tiles in a
   row are as tall as the longest one, and a two-line summary next to a
   four-line one otherwise left its rule and its "Ansehen" floating in the
   middle. The paragraph above carries the minimum gap, so "auto" only ever
   adds space, never takes it away. */
.tut-cat-footer{
  margin-top:auto;padding-top:16px;border-top:1px solid var(--line);width:100%;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  font-size:13.5px;color:var(--gray);
}
.tut-cat-footer b{font-family:var(--font-mono);font-size:12.5px;font-weight:500;color:var(--gray)}
.tut-cat-footer span{font-weight:600;color:var(--violet-deep);display:flex;align-items:center;gap:6px}
/* ---------- Plugins ---------- */
/* The plan a plugin needs. Solid violet rather than the pale pills used for
   "Bald" and "Weiter hier": those describe the reader's progress, this is a
   condition of the product, and it should not be mistaken for either. */
.tut-plan{
  display:inline-flex;align-items:center;vertical-align:.18em;white-space:nowrap;
  font-family:var(--font-text);font-size:12.5px;font-weight:600;
  letter-spacing:0;line-height:1;color:#fff;background:var(--violet-deep);
  border-radius:99px;padding:5px 10px 6px;
}
/* The plugin directory on the overview: one panel across the whole grid,
   however many plugins there are. Its own ground, cooler than the page and
   than the lavender help box further down, so the core visibly ends where the
   plugins begin; the symbols on the right stand in for the tiles it does not
   show. */
.tut-plugins-panel{
  grid-column:1/-1;
  display:flex;align-items:center;justify-content:space-between;gap:24px 40px;flex-wrap:wrap;
  padding:28px 30px;border-radius:20px;text-decoration:none;color:var(--ink);
  background:var(--slate-soft);border:1px solid #E1E4EC;
  transition:border-color .2s,box-shadow .25s;
}
.tut-plugins-panel:hover{border-color:#CBBDFF;box-shadow:0 24px 50px -30px rgba(92,63,224,.42)}
.tut-plugins-text{flex:1 1 23.1em;min-width:0}
.tut-plugins-text h3{
  font-family:var(--font-display);font-size:22px;font-weight:700;letter-spacing:-0.015em;
}
.tut-plugins-text h3 .tut-plan{margin-left:6px}
.tut-plugins-text p{font-size:15.5px;color:var(--gray);line-height:1.5;margin-top:8px;max-width:37.2em;text-wrap:pretty}
.tut-plugins-more{
  display:inline-flex;align-items:center;gap:4px;margin-top:14px;
  font-size:15px;font-weight:600;color:var(--violet-deep);
}
.tut-plugins-more .tut-chev{color:currentColor;width:18px;height:18px}
.tut-plugins-panel:hover .tut-plugins-more .tut-chev{transform:translateX(3px)}
/* The symbols, in a loose block of up to eleven plus a count. Each keeps the
   colour its category wears everywhere else. */
.tut-plugins-icons{
  display:grid;grid-template-columns:repeat(6,40px);gap:8px;flex:none;
}
.tut-plugins-icons .tut-cat-icon{width:40px;height:40px;border-radius:12px;margin:0;box-shadow:0 0 0 3px var(--slate-soft)}
.tut-plugins-rest{
  width:40px;height:40px;border-radius:12px;display:grid;place-items:center;
  font-family:var(--font-mono);font-size:12.5px;color:var(--gray);background:#fff;
}

/* ---------- Plugin directory ---------- */
.tut-plugins-header{padding-bottom:22px}
.tut-plugins-header h1 .tut-plan{font-size:14px;padding:6px 12px 7px;margin-left:6px;vertical-align:.35em}
.tut-plugins-link{margin-top:10px!important}
.tut-plugins-link a{color:var(--violet-deep);font-weight:600;text-underline-offset:3px}

/* Jump links to the groups. Only a handful, so they wrap rather than scroll. */
.tut-groups{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.tut-groups a{
  display:inline-flex;align-items:center;gap:8px;padding:7px 14px;border-radius:99px;
  font-size:14.5px;font-weight:500;color:var(--ink);text-decoration:none;
  background:var(--card);border:1px solid var(--line);transition:border-color .2s,color .2s;
}
.tut-groups a:hover{border-color:#CBBDFF;color:var(--violet-deep)}
.tut-groups b{font-family:var(--font-mono);font-size:12px;font-weight:500;color:var(--gray)}

.tut-group{margin-top:36px;scroll-margin-top:90px}
.tut-group h2{
  font-family:var(--font-display);font-size:18px;font-weight:600;letter-spacing:-0.01em;
  padding-bottom:12px;margin-bottom:14px;border-bottom:1px solid var(--line);
}
.tut-plugin-list{list-style:none;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tut-plugin{
  display:flex;align-items:center;gap:14px;height:100%;
  padding:14px 16px;border-radius:14px;text-decoration:none;color:var(--ink);
  background:var(--card);border:1px solid var(--line);
  transition:border-color .2s,box-shadow .25s;
}
.tut-plugin:hover{border-color:#CBBDFF;box-shadow:0 18px 40px -30px rgba(92,63,224,.5)}
.tut-plugin .tut-cat-icon{width:40px;height:40px;border-radius:12px;margin:0}
.tut-plugin-text{flex:1;min-width:0}
.tut-plugin-text b{display:block;font-weight:600;font-size:16.5px;line-height:1.3}
.tut-plugin-text .sub{
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
  font-size:14px;color:var(--gray);line-height:1.45;margin-top:2px;
}
.tut-plugin-meta{flex:none;font-family:var(--font-mono);font-size:12px;color:var(--gray)}
.tut-plugin.soon .tut-cat-icon{background:#F3F4F8;color:#9AA0AE}
.tut-plugin.is-complete .tut-plugin-meta{color:var(--green)}
.tut-plugin:hover .tut-chev{color:var(--violet);transform:translateX(3px)}

/* The same condition on a category page, between the heading and the path. */
.tut-plugin-note{
  display:flex;align-items:center;gap:14px;flex-wrap:wrap;
  margin:-6px 0 24px;padding:14px 18px;border-radius:14px;
  background:var(--card);border:1px solid var(--line);
}
.tut-plugin-note p{flex:1;min-width:15.4em;font-size:15px;color:var(--gray);line-height:1.5}
.tut-plugin-note a,
.tut-plugin-line a{color:var(--violet-deep);font-weight:600;text-underline-offset:3px}

/* And on a tutorial, one quiet line under the description. */
.tut-plugin-line{
  display:flex;align-items:center;gap:6px 10px;flex-wrap:wrap;
  margin-top:16px;font-size:15px;color:var(--gray);
}

/* A learning path: the numbers joined by a line. Drawn by each item for its
   own half — up from the number to the top edge, down from the number across
   the gap — so rows of different heights still meet in the middle. The
   offsets follow from .tut-row's padding and .tut-num's size. */
.tut-path{list-style:none}
.tut-path > li{position:relative;--path-x:41px;--path-half:19px}
.tut-path > li::before,
.tut-path > li::after{
  content:'';position:absolute;left:calc(var(--path-x) - 1px);width:2px;
  background:#D9CCF7;z-index:1;pointer-events:none;
}
.tut-path > li::before{top:0;height:calc(50% - var(--path-half))}
.tut-path > li::after{top:calc(50% + var(--path-half));bottom:-10px}
.tut-path > li:first-child::before,
.tut-path > li:last-child::after{display:none}
.tut-path .tut-row.available:hover{transform:none}

/* Breadcrumbs */
.tut-crumbs{
  display:flex;align-items:center;gap:9px;flex-wrap:wrap;
  font-size:14px;color:var(--gray);padding:26px 0 0;
}
.tut-crumbs a{color:var(--gray);text-decoration:none;transition:color .2s}
.tut-crumbs a:hover{color:var(--violet-deep)}
.tut-crumbs i{font-style:normal;color:#C7CAD6}
.tut-crumbs .current{color:var(--ink);font-weight:600}

/* Category page */
.tut-cat-header{display:flex;align-items:flex-start;gap:20px;padding:26px 0 30px}
.tut-cat-header .tut-cat-icon{margin-bottom:0;width:54px;height:54px;border-radius:16px}
.tut-cat-header h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(28px,3.6vw,40px);letter-spacing:-0.025em;line-height:1.1;
}
.tut-cat-header p{color:var(--gray);margin-top:10px;max-width:38.5em}

/* Tutorial rows */
.tut-list{display:flex;flex-direction:column;gap:10px;padding-bottom:20px}
.tut-row{
  display:flex;align-items:center;gap:18px;width:100%;text-align:left;
  font-family:var(--font-text);color:var(--ink);text-decoration:none;
  background:var(--card);border:1px solid var(--line);border-radius:16px;padding:18px 22px;
  transition:border-color .2s,transform .18s,box-shadow .25s;
}
.tut-row.available{cursor:pointer}
.tut-row.available:hover{
  border-color:#CBBDFF;transform:translateX(3px);
  box-shadow:0 18px 40px -30px rgba(92,63,224,.5);
}
.tut-row.soon{cursor:default;background:transparent;border-style:dashed}
.tut-num{
  width:38px;height:38px;border-radius:11px;flex:none;display:grid;place-items:center;
  font-family:var(--font-mono);font-size:14px;
  background:var(--lavender);color:var(--violet-deep);
}
.tut-row.soon .tut-num{background:#F3F4F8;color:#9AA0AE}
/* In a search result the numbered tile takes the colour of the category it
   belongs to - see .tut-cat-icon for the same seven tones. On a category page
   there is nothing to tell apart and it stays violet. */
.tut-num.blue{background:var(--blue-soft);color:var(--blue)}
.tut-num.teal{background:var(--teal-soft);color:var(--teal)}
.tut-num.green{background:var(--green-soft);color:var(--green)}
.tut-num.amber{background:var(--amber-soft);color:var(--amber)}
.tut-num.rose{background:var(--rose-soft);color:var(--rose)}
.tut-num.slate{background:var(--slate-soft);color:var(--slate)}

/* ---------- Finished tutorials ---------- */
/* A check in place of the number rather than beside it: the row keeps its
   shape, and reading down the list says at once how far someone has got. Green
   is what "done" looks like on this site — the same green as the check on the
   closing screen and the features of a plan card. */
.tut-row.is-done .tut-num{background:var(--green-soft);color:var(--green)}
/* The row itself steps back without becoming unreadable: finished is not the
   same as disabled, it stays clickable. */
.tut-row.is-done .tut-row-text b{color:var(--gray)}
.tut-row.is-done:hover .tut-row-text b{color:var(--ink)}

/* The signpost to the next open row. The same pill as "Bald", violet instead
   of grey — the pattern is already there, it gains a second meaning rather
   than a second shape. */
.tut-next-pill{
  display:inline-block;vertical-align:2px;margin-left:8px;
  font-family:var(--font-mono);font-size:10.5px;font-weight:500;
  letter-spacing:.04em;padding:2px 8px;border-radius:99px;
  background:var(--lavender);color:var(--violet-deep);
}
.tut-row.is-next{border-color:#E4CDFC}

/* The count under the category heading and the reset line: both are numbers
   and both are asides, so mono and quiet. */
.tut-cat-count,.tut-reset{
  font-family:var(--font-mono);font-size:12.5px;color:var(--gray);
}
.tut-cat-count{margin-top:12px}
.tut-reset{margin-top:34px;text-align:center}
.tut-reset-btn{
  font:inherit;color:var(--violet-deep);background:none;border:none;padding:0;
  cursor:pointer;text-decoration:underline;text-underline-offset:3px;
}
.tut-reset-btn:hover{color:var(--ink)}

/* A category worked all the way through says so in the tile's footer. No
   second badge next to it — the number is the message. */
.tut-cat.is-complete .tut-cat-footer b{color:var(--green)}
.tut-row-text{min-width:0;flex:1}
.tut-row-text b{
  font-family:var(--font-display);font-size:17px;font-weight:600;letter-spacing:-0.01em;
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;
}
.tut-row.soon .tut-row-text b{color:var(--gray);font-weight:500}
.tut-row-text .sub{display:block;font-size:14.5px;color:var(--gray);line-height:1.5;margin-top:3px}
.tut-row-meta{
  display:flex;align-items:center;gap:14px;flex:none;
  font-family:var(--font-mono);font-size:12px;color:var(--gray);
}
.tut-soon-pill{
  font-size:10.5px;font-weight:600;color:var(--violet-deep);
  background:var(--lavender);border-radius:99px;padding:2px 9px;
  font-family:var(--font-text);
}
/* Content for a version not out yet: "Ab 2027.1" in the list, "Demnächst" on
   the page, "Neu mit 2027.1" on a step. Solid violet rather than the lavender
   of "Bald": this is news worth seeing, not a placeholder. */
.tut-release-pill{
  display:inline-block;vertical-align:middle;
  font-size:10.5px;font-weight:600;color:#fff;
  background:var(--violet);border-radius:99px;padding:2px 9px;
  font-family:var(--font-text);letter-spacing:0;text-transform:none;
}
.tut-release{
  display:flex;align-items:center;gap:8px;flex-wrap:wrap;
  margin-top:14px;padding:10px 14px;border-radius:12px;max-width:38.5em;
  background:var(--lavender);color:var(--violet-deep);font-size:14.5px;line-height:1.45;
}
.tut-release a{color:var(--violet-deep);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.tut-chev{color:#C7CAD6;flex:none;transition:color .2s,transform .2s}
.tut-row.available:hover .tut-chev{color:var(--violet);transform:translateX(3px)}

/* Tutorial page */
.tut-titleblock{padding:24px 0 6px}
.tut-titleblock h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(27px,3.4vw,38px);letter-spacing:-0.025em;line-height:1.12;max-width:15.26em;
}
.tut-titleblock .rows{
  display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:14px;
  font-family:var(--font-mono);font-size:12.5px;color:var(--gray);
}
.tut-titleblock .rows i{font-style:normal;color:#C7CAD6}

.tut-progress{
  position:sticky;top:62px;z-index:50;
  background:color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);margin-top:26px;
}
.tut-progress .wrap{display:flex;align-items:center;gap:14px;padding-top:14px;padding-bottom:14px}
.tut-segments{display:flex;gap:6px;flex:1;min-width:0}
.tut-seg{
  flex:1;display:flex;flex-direction:column;gap:7px;align-items:stretch;
  text-align:left;background:none;border:none;padding:0;cursor:pointer;
  font-family:var(--font-text);
}
.tut-seg .bar{height:5px;border-radius:99px;background:var(--line);transition:background .3s}
.tut-seg.done .bar{background:var(--green)}
.tut-seg.current .bar{background:var(--violet)}
.tut-seg .name{
  font-size:12.5px;font-weight:500;color:var(--gray);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .2s;
}
.tut-seg.current .name{color:var(--ink)}
.tut-seg:hover .name{color:var(--ink)}
.tut-counter{
  flex:none;font-family:var(--font-mono);font-size:12.5px;color:var(--gray);
  padding-bottom:20px;
}

/* Narrower column: image and instructions fit on screen together, and the
   body copy keeps a comfortable measure. */
.tut-stage{padding:34px 0 0}
.tut .wrap.tut-column{max-width:840px}
.tut-step{animation:tut-auf .35s ease}
/* With JavaScript the page shows one step at a time. Without it all steps
   sit below each other – then the pager is hidden, because there is nothing
   to page through. */
.has-js .tut-step:not(.active){display:none}
/* The browser jumps to the anchor itself on /#step-3 – without this the
   start of the step disappears under the header and progress bar. */
.tut-step{scroll-margin-top:142px}
.has-js .tut-step-label{display:none}
.no-js .tut-progress,
.no-js .tut-pager,
.no-js .tut-keys{display:none}
.no-js .tut-step + .tut-step{margin-top:56px;padding-top:48px;border-top:1px solid var(--line)}
.tut-step-label{
  font-family:var(--font-mono);font-size:11.5px;color:var(--violet);
  letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px;
}
.tut-step[hidden]{display:none}
@keyframes tut-auf{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* The frame, in the state it has before there is a picture in it: the shape
   the screenshots come in, 2560x1264, a touch over 2:1, so a step still
   waiting for its screenshot has the size of the one that will replace it.
   Once an image is there the frame follows the image instead — see
   .tut-image.has-image further down. It was 16:10 until 2.13.0. */
.tut-image{
  position:relative;width:100%;aspect-ratio:2560/1264;
  border-radius:18px;border:1.5px dashed #CFD3E0;background:#F3F4F8;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;
  color:#9AA0AE;overflow:hidden;
}
.tut-image img{width:100%;height:100%;object-fit:contain;display:block}

/* Several images in one step. Stacked, because a landscape shot at half the
   column width can no longer be read. */
.tut-images{display:flex;flex-direction:column;gap:14px}
/* Unless they are all portrait: two phones side by side tell a sequence, one
   under the other only makes the page long. Read as "contains no image that is
   not portrait" — a mixed step therefore stays stacked instead of squeezing
   the landscape one. */
.tut-images:not(:has(> .tut-image:not(.is-portrait))){flex-direction:row;flex-wrap:wrap}
.tut-images:not(:has(> .tut-image:not(.is-portrait))) > .tut-image{flex:1 1 240px}

/* ---------- Portrait screenshots ---------- */
/* A shot from a phone in a frame drawn for a laptop. Cropping it leaves a
   slice, and scaling it into the landscape height leaves it about 190px wide -
   narrower than the handset it came from, so the interface is below the size
   it was drawn to be read at. Hence a taller stage: at 560px the phone lands
   near 260px wide, which is about life size, and the reader is not asked to
   squint at a picture of something already small.

   The space either side is not empty, it is the same light paper the home page
   puts under the interface - violet left, blue right, the two ends of the
   mark's own gradient. A blurred copy of the screenshot would have done the
   job too, and every media player does it that way; on a page this white it
   would be the loudest thing on it. */
/* .has-image in the selector on purpose: that rule paints the frame white and
   is declared further down, so an equally specific .is-portrait would lose. */
.tut-image.has-image.is-portrait{
  aspect-ratio:auto;
  height:clamp(420px,58vh,560px);
  padding:22px 0;
  background:
    radial-gradient(420px 300px at 14% 50%, #F1E6FE 0%, transparent 70%),
    radial-gradient(420px 300px at 86% 50%, #E3EEFE 0%, transparent 70%),
    var(--paper);
}
/* Not cover: the whole picture, scaled to the stage, never cut. The radius is
   a touch rounder than the frame around it and the border hairline-thin -
   enough to read as a handset, without drawing a bezel, a notch and a speaker
   over a real screenshot. */
.tut-image.has-image.is-portrait img{
  width:auto;max-width:100%;height:100%;object-fit:contain;
  border-radius:22px;border:1px solid var(--line);
  box-shadow:0 22px 44px -26px rgba(92,63,224,.5);
}

/* ---------- Landscape screenshots ---------- */
/* The frame takes its height from the picture instead of the other way round.

   Until now it held 2560x1264 and object-fit:cover filled it, so a shot of any
   other height lost the difference at its edges: a browser window 89px too
   tall was enough to cut the wordmark off the top of the setup wizard and the
   buttons off the bottom — in the lightbox too, which shows the same file.
   Whoever takes a screenshot should not have to hit a pixel height for the
   page to show what they took.

   Fitting the picture into the fixed frame instead (contain) would keep it
   whole, but leaves a strip of frame either side wherever the screenshot's own
   edge is not white — the wizard's blue right-hand column shows it plainly.
   Letting the height follow is the honest version: the picture arrives
   complete and edge to edge, whatever shape it is.

   Nothing jumps while reading. The screenshots of one tutorial come out of one
   sitting and share a size, so stepping through keeps the same height; only
   the next tutorial may be a little taller or shorter. The width/height
   attributes on the img reserve the right box before it loads.

   The empty placeholder keeps the nominal 2560x1264 above, so a step whose
   screenshot is still missing looks the same in every tutorial.

   The delivered file is scaled rather than cropped as well — "fit max" in
   tutorials/tutorial.antlers.html. Both halves have to agree, or the crop just
   moves to the server. */
.tut-image.has-image{
  border-style:solid;border-color:var(--line);background:#fff;
  aspect-ratio:auto;height:auto;
}
.tut-image.has-image img{width:100%;max-width:100%;height:auto}
.tut-image .title{font-size:15px;font-weight:600;color:var(--gray);padding:0 24px;text-align:center}
.tut-image .dimensions{font-family:var(--font-mono);font-size:11.5px}
.tut-image .brand{
  position:absolute;left:16px;top:14px;font-family:var(--font-mono);
  font-size:10.5px;letter-spacing:.1em;text-transform:uppercase;color:#A9AEBD;
}
/* Screenshots at full size.
   The overlay is built by tutorials.js, so it only exists where JavaScript
   runs — without it a screenshot stays what it is, a picture in the flow of
   the text. */
.tut-image.zoomable{cursor:zoom-in}
.tut-image.zoomable:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
/* On a phone the whole screenshot is about 360px wide, which is enough to see
   where something sits but not to read it. Tapping opens the same overlay the
   mouse gets — there is just no cursor to announce it, so the frame says so
   itself. Only where the overlay exists (.zoomable is set by tutorials.js) and
   only for a finger. */
@media (pointer:coarse){
  .tut-image.zoomable.has-image::after{
    content:"Tippen zum Vergrößern";position:absolute;right:8px;bottom:8px;
    padding:4px 9px;border-radius:999px;
    background:rgba(17,17,26,.62);color:#fff;
    font-size:10.5px;letter-spacing:.02em;line-height:1.4;
    pointer-events:none;
  }
}
.lightbox{position:fixed;inset:0;z-index:200;background:rgba(17,17,26,.88);backdrop-filter:blur(4px)}
.lightbox[hidden]{display:none}
/* The picture scrolls, the close button does not: backdrop-filter makes the
   overlay the frame of reference for position:fixed, so a fixed button would
   scroll away with the zoomed picture. Hence a scroll layer of its own. */
.lightbox-scroll{
  position:absolute;inset:0;padding:26px;
  display:flex;align-items:center;justify-content:center;
  overflow:auto;overscroll-behavior:contain;
}
.lightbox img{
  max-width:100%;max-height:100%;margin:auto;display:block;
  border-radius:12px;box-shadow:0 24px 60px rgba(0,0,0,.45);cursor:zoom-in;
}
/* Zoomed the picture is shown at its own size — tutorials.js swaps in the
   full-size rendition — and can be panned.

   "safe center" is what makes both cases work: a picture larger than the
   screen aligns to the top left, so every part of it can be scrolled to, and
   one that fits stays centred. Plain "center" would push the overflowing half
   out on the left, where no scrollbar reaches it; block layout, which this was
   until 2.22.1, left a picture that fits pinned to the top left corner — the
   zoom looked like the screenshot had jumped away.

   width:auto rather than a fixed 1600px: the file is scaled into its box
   rather than cropped to it, so its width follows the picture — and forcing a
   width it does not have only enlarges pixels. */
.lightbox.zoomed .lightbox-scroll{
  display:flex;padding:0;
  align-items:safe center;justify-content:safe center;
}
.lightbox.zoomed img{
  max-width:none;max-height:none;width:auto;height:auto;margin:0;
  border-radius:0;box-shadow:none;cursor:zoom-out;
}
/* A portrait screenshot is taller than the screen rather than wider than it,
   so the overlay works the other way round: it fits to the height first, and
   zooming shows it at the size it was rendered at - never blown up to 1600,
   which would only enlarge the pixels. Centred, because a picture narrower
   than the screen has nothing to pan sideways. */
.lightbox.portrait img{width:auto;max-height:calc(100dvh - 52px)}
.lightbox.zoomed.portrait img{width:auto;height:auto;max-height:none;margin:0 auto}
.lightbox-close{
  position:absolute;top:14px;right:14px;z-index:1;width:44px;height:44px;
  display:grid;place-items:center;padding:0;
  border:none;border-radius:50%;background:rgba(255,255,255,.16);
  color:#fff;font-size:27px;line-height:1;cursor:pointer;transition:background .2s;
}
.lightbox-close:hover{background:rgba(255,255,255,.28)}
body.lightbox-open{overflow:hidden}
/* Chatwoot puts its bubble above everything. While a screenshot stands open
   it would float in the middle of it, so it steps aside. */
body.lightbox-open .woot-widget-bubble,
body.lightbox-open .woot--bubble-holder,
body.lightbox-open .woot-widget-holder{display:none !important}

.tut-step-title{
  font-family:var(--font-display);font-weight:600;
  font-size:clamp(21px,2.4vw,27px);letter-spacing:-0.02em;line-height:1.2;margin:34px 0 4px;
}
.tut-lead{color:var(--gray);max-width:41em;margin-bottom:24px}
.tut-points{list-style:none;display:flex;flex-direction:column;gap:14px;max-width:43.6em}
.tut-point{display:flex;gap:14px;align-items:flex-start}
.tut-point-num{
  width:26px;height:26px;border-radius:50%;flex:none;margin-top:1px;display:grid;place-items:center;
  font-family:var(--font-mono);font-size:12.5px;
  background:var(--lavender);color:var(--violet-deep);
}
.tut-point p{font-size:16.5px;line-height:1.55;text-wrap:pretty}
/* Code in a point and code in a note are the same thing and look the same.
   A note sits on paper rather than white, so its chip carries the frame's
   white instead of the page's grey — otherwise it disappears into the wash. */
.tut-point code,
.tut-note code,
.dev-brief code{
  font-family:var(--font-mono);font-size:13.5px;
  background:#F3F4F8;border:1px solid var(--line);border-radius:6px;padding:1px 7px;
  /* A class name with its namespace or a curl command has no place to break,
     and on a phone it ran out of the column and under the page edge. */
  overflow-wrap:anywhere;
}
.tut-note code{background:#fff;font-size:12.5px}
/* Callouts. The shape is shared and the type only ever changes two things:
   the wash it sits on and the colour of its mark. The base carries neither, so
   a type without a block of its own reads as a quiet note rather than
   borrowing whichever colour happened to be the default - which is how a tip
   came to look exactly like an info. */
.tut-note{
  display:flex;gap:13px;align-items:flex-start;max-width:43.6em;
  margin-top:26px;padding:16px 20px;border-radius:14px;
  background:var(--paper);border:1px solid var(--line);font-size:15px;line-height:1.55;
}
/* The heading is its own element, and only it stands on a line of its own.
   As ".tut-note b" the rule caught every bold word an editor set inside the
   text as well, and broke the sentence around it into three lines. */
.tut-note-title{font-weight:600;display:block;margin-bottom:2px}
.tut-note b{font-weight:600}
/* Since note_text became a Bard field, real paragraphs arrive. The reset takes
   their spacing away; here they get it back — but only between two of them,
   never before the first. */
.tut-note p + p{margin-top:8px}
/* A link carries the colour of the box it sits in, not the violet used
   everywhere else: in a blue box that would be a foreign body. */
.tut-note a{color:var(--violet-deep);text-decoration:underline;text-underline-offset:2px}
.tut-note.info a{color:var(--blue)}
.tut-note.tipp a{color:var(--violet-deep)}
.tut-note .header{color:var(--gray);flex:none;margin-top:2px}

/* Info - a fact worth having before the next step. Blue, the colour this site
   already uses for something neutral and true. */
.tut-note.info{background:var(--blue-soft);border-color:#C9DDFD}
.tut-note.info .header{color:var(--blue)}

/* Tipp - a shortcut, a nicer way round. Violet, because that is Vendority
   speaking rather than the software stating a fact. */
.tut-note.tipp{background:var(--lavender);border-color:#E4CDFC}
.tut-note.tipp .header{color:var(--violet-deep)}

.tut-pager{
  display:flex;align-items:center;justify-content:space-between;gap:16px;
  margin-top:44px;padding-top:26px;border-top:1px solid var(--line);
}
.tut-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  font-family:var(--font-text);font-weight:600;font-size:15.5px;
  padding:13px 26px;border-radius:99px;min-height:48px;
  border:1.5px solid var(--line);color:var(--ink);background:transparent;
  text-decoration:none;cursor:pointer;transition:border-color .2s,color .2s,background .2s;
}
.tut-btn:hover{border-color:var(--violet);color:var(--violet-deep)}
.tut-btn.solid{background:var(--violet);border-color:var(--violet);color:#fff}
.tut-btn.solid:hover{background:var(--violet-deep);border-color:var(--violet-deep);color:#fff}
.tut-btn.muted{border-color:transparent;color:var(--gray)}
.tut-btn.muted:hover{color:var(--ink)}
.tut-btn:disabled{opacity:.35;cursor:default}
.tut-btn:disabled:hover{border-color:var(--line);color:var(--ink)}
.tut-keys{
  text-align:center;font-family:var(--font-mono);font-size:11.5px;color:#9AA0AE;
  margin-top:18px;
}
.tut-keys kbd{
  background:#F3F4F8;border:1px solid var(--line);border-radius:5px;padding:1px 6px;
}

/* Completion */
.tut-done{text-align:center;max-width:560px;margin:0 auto;padding:30px 0 10px;border-top:none}
.tut-done .check{
  width:72px;height:72px;border-radius:50%;margin:0 auto 24px;display:grid;place-items:center;
  background:var(--green-soft);color:var(--green);
}
.tut-done h2{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(26px,3.2vw,34px);letter-spacing:-0.025em;line-height:1.15;
}
.tut-done > p{color:var(--gray);margin-top:14px}
.tut-next{
  margin-top:32px;text-align:left;width:100%;
  font-family:var(--font-text);color:var(--ink);text-decoration:none;
  background:var(--card);border:1px solid var(--line);border-radius:18px;
  padding:20px 22px;display:flex;align-items:center;gap:16px;cursor:pointer;
  transition:border-color .2s,box-shadow .25s;
}
.tut-next:hover{border-color:#CBBDFF;box-shadow:0 18px 40px -30px rgba(92,63,224,.5)}
.tut-next small{
  display:block;font-family:var(--font-mono);font-size:11px;
  letter-spacing:.1em;text-transform:uppercase;color:var(--gray);margin-bottom:4px;
}
.tut-next b{font-family:var(--font-display);font-size:17px;font-weight:600;letter-spacing:-0.01em}
.tut-done-buttons{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-top:30px}

.tut-empty{
  text-align:center;color:var(--gray);padding:60px 20px;
  border:1.5px dashed var(--line);border-radius:18px;margin-top:30px;
}
.tut-empty b{display:block;font-family:var(--font-display);font-size:18px;color:var(--ink);margin-bottom:6px}
/* The developer Academy's placeholder points to the documentation. */
.tut-empty a{color:var(--violet-deep);font-weight:600;text-underline-offset:3px}

.tut-help{
  margin-top:56px;background:var(--lavender);border:1px solid #E4CDFC;border-radius:20px;
  padding:26px 30px;display:flex;align-items:center;justify-content:space-between;
  gap:22px;flex-wrap:wrap;
}
.tut-help h4{font-family:var(--font-display);font-size:19px;font-weight:600;letter-spacing:-0.01em;margin-bottom:5px}
.tut-help p{font-size:15px;color:var(--gray);max-width:35.9em}
.tut-help .tut-btn{background:#fff;flex:none;border-color:#E4CDFC}

@media (max-width:720px){
  .tut{padding-top:86px}
  .tut-header{padding:14px 0 30px}
  .tut-header h1{font-size:31px}
  .tut-search-column{margin-top:24px}
  .tut-search{padding:12px 15px}
  .tut-search kbd{display:none}
  .tut-cat-grid{grid-template-columns:1fr;gap:14px}
  .tut-hit{padding:14px 16px;gap:13px;border-radius:14px}
  .tut-hit-text b{font-size:16px}
  .tut-hit .tut-cat-icon{width:32px;height:32px;border-radius:10px}
  .tut-hit > svg{display:none}
  .tut-noresults{padding:38px 18px}
  .tut-cat{padding:20px 20px 18px;border-radius:18px}
  .tut-cat-icon{width:38px;height:38px;border-radius:11px;margin-bottom:14px}
  .tut-cat h3{font-size:18px}
  .tut-section{margin:30px 0 14px}
  .tut-content{padding-bottom:30px}

  .tut-cat-header{gap:14px;padding:20px 0 22px}
  .tut-cat-header .tut-cat-icon{width:44px;height:44px;border-radius:13px}
  .tut-row{padding:15px 16px;gap:13px;border-radius:14px}
  .tut-path > li{--path-x:33px;--path-half:16px}
  .tut-plugins-panel{padding:20px;border-radius:18px}
  .tut-plugins-icons{grid-template-columns:repeat(6,34px);gap:6px}
  .tut-plugins-icons .tut-cat-icon,.tut-plugins-rest{width:34px;height:34px;border-radius:10px}
  .tut-plugin-list{grid-template-columns:1fr}
  .tut-plugin-meta{display:none}
  .tut-plugin .tut-chev{display:none}
  .tut-num{width:32px;height:32px;border-radius:10px;font-size:13px}
  .tut-row-text b{font-size:16px}
  .tut-row-text .sub{display:none}
  .tut-row-meta{display:none}
  .tut-row.soon .tut-row-meta{display:flex}

  .tut-progress{top:62px}
  .tut-progress .wrap{flex-direction:column;align-items:stretch;gap:8px;padding-top:12px;padding-bottom:12px}
  .tut-seg .name{display:none}
  .tut-seg .bar{height:6px}
  .tut-counter{padding-bottom:0;text-align:center}
  .tut-stage{padding:22px 0 30px}
  .tut .wrap.tut-column{max-width:none}
  /* Only the placeholder gets the taller box — it carries text, not a
     screenshot. A real screenshot is rendered 2560:1264, and a 4:3 frame with
     object-fit:cover cut it off left and right. */
  .tut-image{border-radius:14px}
  /* On a phone a portrait shot stands under the other one too. */
  .tut-images{flex-direction:column}
  .lightbox-scroll{padding:10px}
  .lightbox-close{top:8px;right:8px}
  .tut-image:not(.has-image){aspect-ratio:4/3}
  .tut-step-title{margin-top:24px;font-size:22px}

  .tut-pager{
    position:sticky;bottom:0;margin-top:34px;padding:12px 0 14px;
    background:color-mix(in srgb, var(--paper) 94%, transparent);
    backdrop-filter:blur(10px);border-top:1px solid var(--line);gap:10px;z-index:45;
  }
  .tut-pager .tut-btn{flex:1;padding:13px 14px}
  .tut-pager .tut-btn.solid{flex:1.4}
  .tut-keys{display:none}
  .tut-help{padding:20px;border-radius:16px}
}

@media (prefers-reduced-motion:reduce){
  .tut-step{animation:none}
  .tut-cat:hover,.tut-row.available:hover,.tut-hit:hover,.tut-hit.active{transform:none}
}

/* ---------------------------------------------------------------------------
   Developer Academy — /academy/entwickler and everything below it.

   Built from the Academy's own parts: the landing page is the overview, a
   category is a category page, a tutorial steps like a tutorial and closes
   the same way. What is new is only what a developer tutorial has and the
   other one does not: code blocks, a level, "what you build" and
   "prerequisites" before the first step, a result box at the end of each
   step, links into the documentation after the last one. All of it is
   prefixed dev- so it can never land on a class the rest of the site uses —
   .badge, .chip and .code are all taken by the home page's app mockup.
   --------------------------------------------------------------------------- */

/* The landing page opens with breadcrumbs, like every page below it, where
   the Academy page has its chapter label. The crumbs bring their own top
   padding for the pages without a header band; inside the band it would
   double the band's. */
.tut-header .tut-crumbs{padding-top:0}
.tut-header .tut-crumbs + h1{margin-top:18px}

/* The level of a tutorial, in the list and over the tutorial. A property of
   the tutorial, not of the reader's progress — so a quiet tint in the
   colours of the path, never the violet of "Bald" and "Weiter hier". */
.dev-level{
  display:inline-flex;align-items:center;white-space:nowrap;
  font-family:var(--font-text);font-size:12px;font-weight:600;letter-spacing:0;
  border-radius:99px;padding:2px 9px;background:var(--slate-soft);color:var(--slate);
}
.dev-level.einsteiger{background:var(--green-soft);color:var(--green-deep)}
.dev-level.fortgeschritten{background:var(--amber-soft);color:var(--amber-deep)}

/* The small mono heading above a box — the same voice as .tut-section over
   the tiles, one size down because it heads a box, not a page. */
.dev-kicker{
  font-family:var(--font-mono);font-size:11.5px;font-weight:500;
  letter-spacing:.12em;text-transform:uppercase;color:var(--gray);margin-bottom:10px;
}

/* "Was Sie bauen" and "Voraussetzungen". Side by side where there is room,
   one under the other where there is not; a tutorial with only one of them
   gives it the whole width. */
.dev-brief{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));
  gap:16px;margin-top:26px;
}
.dev-brief > section{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px 20px;min-width:0}
.dev-brief p{font-size:15.5px;line-height:1.55;text-wrap:pretty}
.dev-checklist{list-style:none;display:flex;flex-direction:column;gap:8px;font-size:15px;line-height:1.5}
.dev-checklist li{display:flex;gap:10px;align-items:flex-start}
.dev-checklist svg{flex:none;margin-top:5px;color:var(--green)}
.dev-checklist a{color:var(--violet-deep);font-weight:600;text-underline-offset:3px}

/* A step here starts with its heading; the user Academy's step starts with a
   screenshot, which is what the heading's top margin is measured against. */
.dev-steps .tut-step-title{margin-top:0}
.dev-steps .tut-points{margin-top:26px}

/* ---------- Code blocks ---------- */
/* Dark, like the terminal and the editor the code is going to end up in. The
   head names the file and says what happens to it; the body scrolls sideways
   on its own, so a long line never pushes the page wider than the phone. */
.dev-code{
  max-width:100%;min-width:0;border-radius:var(--radius);overflow:hidden;
  background:var(--code-bg);color:var(--code-ink);border:1px solid var(--code-bg);
}
.dev-code + .dev-code{margin-top:14px}
.dev-code-head{
  display:flex;align-items:center;gap:10px;min-width:0;
  padding:9px 10px 9px 16px;border-bottom:1px solid var(--code-line);
}
.dev-code-file{display:flex;align-items:center;gap:9px;flex:1;min-width:0}
.dev-code-file svg{flex:none;color:var(--code-dim)}
/* A path is read from the end: the file name is what tells two blocks apart.
   So it is cut on the left when it does not fit — rtl moves the ellipsis
   there, the <bdi> inside keeps the path itself in reading order. */
.dev-code-file code{
  font-family:var(--font-mono);font-size:12.5px;color:var(--code-soft);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;direction:rtl;text-align:left;min-width:0;
}
.dev-code-badge{
  flex:none;font-family:var(--font-text);font-size:11.5px;font-weight:600;
  border-radius:99px;padding:2px 9px;
}
.dev-code-badge.neu{background:rgba(0,187,124,.18);color:var(--code-add-mark)}
.dev-code-badge.geaendert{background:rgba(160,88,246,.22);color:var(--code-kw)}
.dev-code-badge.befehl{background:rgba(60,128,246,.22);color:var(--code-fn)}

/* The copy button. Its confirmation happens on the button — label and icon
   change for two seconds, see assets/js/code.js. */
.dev-copy{
  flex:none;display:inline-flex;align-items:center;gap:7px;
  font-family:var(--font-text);font-size:13px;font-weight:600;
  color:var(--code-ink);background:var(--code-line);border:1px solid var(--code-edge);
  border-radius:99px;padding:6px 12px;cursor:pointer;
  transition:background .2s,border-color .2s,color .2s;
}
.dev-copy:hover{border-color:var(--violet)}
.dev-copy:focus-visible{outline:2px solid var(--violet);outline-offset:2px}
.dev-copy-done{display:none}
.dev-copy.is-copied{color:var(--code-add-mark);border-color:rgba(47,211,154,.45)}
.dev-copy.is-copied .dev-copy-icon{display:none}
.dev-copy.is-copied .dev-copy-done{display:block}
.dev-copy.is-selected{color:var(--code-num);border-color:rgba(232,179,90,.45)}

.dev-code-body{overflow-x:auto;-webkit-overflow-scrolling:touch}
.dev-code-body:focus-visible{outline:2px solid var(--violet);outline-offset:-2px}
/* At least as wide as the box, and as wide as the longest line when that is
   wider: the green of a new line then runs to the edge of what can be
   scrolled, not to the edge of the first screenful. */
.dev-code pre{
  font-family:var(--font-mono);font-size:13.5px;line-height:1.75;
  padding:12px 0;min-width:100%;width:max-content;tab-size:4;
  /* JetBrains Mono draws "=>" as an arrow and "!==" as one sign. Pretty, but
     the reader types what they see, and there is no ⇒ on a keyboard. */
  font-variant-ligatures:none;
}
/* One row per line: number, marker, code. The number and the marker are
   there to be read, not copied — user-select keeps them out of a selection
   made by hand. */
.dev-ln{display:grid;grid-template-columns:44px 20px auto;padding-right:20px}
.dev-ln-no{text-align:right;color:var(--code-gutter);user-select:none;-webkit-user-select:none;padding-right:4px}
.dev-ln-mk{text-align:center;user-select:none;-webkit-user-select:none}
.dev-ln-src{white-space:pre}
/* A command has a prompt where the number would be, in the colour a prompt
   has in a terminal. */
.dev-code-befehl .dev-ln-no{color:var(--code-dim)}
/* In a changed file: new lines stand on green with a "+" in the margin,
   existing ones step back so the eye finds what to type. Dimmed rather than
   greyed out: they stay readable, they are what places the new ones. */
.dev-ln.add{background:var(--code-add)}
.dev-ln.add .dev-ln-mk{color:var(--code-add-mark)}
.dev-ln.add .dev-ln-no{color:#3F8F72}
/* .7, not less: below it the syntax colours on a grey line drop under
   4.5:1. The comment colour is already at the edge on the plain ground, so
   on a grey line and on the green of a new one it takes the lighter muted
   tone to stay readable. */
.dev-ln.ctx{opacity:.7}
.dev-ln:is(.ctx,.add) :is(.hljs-comment,.hljs-quote,.hljs-meta){color:var(--code-muted)}
.dev-ln.gap .dev-ln-src{color:var(--code-gutter)}
.dev-code-foot{
  display:block;font-size:13px;color:var(--code-muted);padding:10px 16px;border-top:1px solid var(--code-line);
}
.dev-code-foot b{color:var(--code-add-mark);font-weight:600;margin-right:4px;white-space:nowrap}

/* Syntax colours, for the classes highlight.php writes (see Code\CodeBlock)
   and the few spans the Academy panel sets by hand. Anything not named here
   stays in the ink of the block. */
:is(.dev-code,.dev-panel-code) :is(.hljs-keyword,.hljs-built_in,.hljs-literal,.hljs-selector-tag){color:var(--code-kw)}
:is(.dev-code,.dev-panel-code) :is(.hljs-string,.hljs-regexp,.hljs-attribute,.hljs-symbol){color:var(--code-str)}
:is(.dev-code,.dev-panel-code) :is(.hljs-title,.hljs-section,.hljs-name,.hljs-tag){color:var(--code-fn)}
:is(.dev-code,.dev-panel-code) :is(.hljs-number,.hljs-bullet){color:var(--code-num)}
:is(.dev-code,.dev-panel-code) :is(.hljs-type,.hljs-class .hljs-title,.hljs-variable,.hljs-template-variable){color:var(--code-type)}
:is(.dev-code,.dev-panel-code) .hljs-attr{color:var(--code-fn)}
:is(.dev-code,.dev-panel-code) :is(.hljs-comment,.hljs-quote,.hljs-meta){color:var(--code-dim)}
:is(.dev-code,.dev-panel-code) .hljs-comment{font-style:italic}
/* The punctuation of a tag belongs to the tag, its text content does not. */
:is(.dev-code,.dev-panel-code) .hljs-tag .hljs-string{color:var(--code-str)}
:is(.dev-code,.dev-panel-code) .hljs-tag .hljs-attr{color:var(--code-type)}

/* ---------- Result of a step ---------- */
/* One more kind of note: the same box, the green of "done". Written as a
   type of .tut-note on purpose — the shape, the spacing and the code chips
   inside come with it. The content may carry a terminal block, so it is
   allowed to shrink, and the block scrolls instead of widening the box. */
.tut-note.result{background:var(--green-soft);border-color:#BDEBD8}
.tut-note.result .header{color:var(--green)}
.tut-note.result > div{flex:1;min-width:0}
.dev-output{
  margin-top:10px;padding:12px 16px;border-radius:10px;overflow-x:auto;
  background:var(--code-bg);color:var(--code-ink);
  font-family:var(--font-mono);font-size:13px;line-height:1.7;white-space:pre;
  font-variant-ligatures:none;
}
.dev-output:focus-visible{outline:2px solid var(--violet);outline-offset:2px}

/* ---------- After the last step ---------- */
.dev-further{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));
  gap:28px 20px;margin-top:56px;
}
.dev-further > section{min-width:0}
.dev-link{
  display:flex;gap:14px;align-items:center;padding:16px 18px;
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  color:var(--ink);text-decoration:none;transition:border-color .2s,box-shadow .25s;
}
.dev-link + .dev-link{margin-top:10px}
.dev-link:hover{border-color:#CBBDFF;box-shadow:0 18px 40px -30px rgba(92,63,224,.5)}
.dev-link-text{flex:1;min-width:0}
.dev-link-text b{display:block;font-weight:600;font-size:15.5px;line-height:1.35}
.dev-link-text span{
  display:block;margin-top:2px;overflow-wrap:anywhere;
  font-family:var(--font-mono);font-size:12px;color:var(--gray);
}
.dev-link > svg{flex:none;color:#C7CAD6;transition:color .2s,transform .2s}
.dev-link:hover > svg{color:var(--violet)}

/* ---------- The way in, on the Academy page ---------- */
/* The same bones as the plugin panel above it — a row across the grid, text
   on the left, a picture on the right — in the colours of a code block. */
.dev-panel{
  grid-column:1/-1;
  display:flex;align-items:center;justify-content:space-between;gap:22px 40px;flex-wrap:wrap;
  padding:28px 30px;border-radius:20px;text-decoration:none;
  background:var(--code-bg);color:var(--code-ink);border:1px solid var(--code-bg);
  transition:box-shadow .25s;
}
.dev-panel:hover{box-shadow:0 24px 50px -30px rgba(23,24,29,.6)}
.dev-panel:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
.dev-panel-text{flex:1 1 23.1em;min-width:0}
.dev-panel-text h3{font-family:var(--font-display);font-size:22px;font-weight:700;letter-spacing:-0.015em;color:#fff}
.dev-panel-text p{font-size:15.5px;color:var(--code-muted);line-height:1.5;margin-top:8px;max-width:37.2em;text-wrap:pretty}
.dev-panel-more{
  display:inline-flex;align-items:center;gap:4px;margin-top:14px;
  font-size:15px;font-weight:600;color:var(--code-kw);
}
.dev-panel-more .tut-chev{color:currentColor;width:18px;height:18px}
.dev-panel:hover .dev-panel-more .tut-chev{transform:translateX(3px)}
.dev-panel-code{
  flex:none;max-width:100%;overflow:hidden;
  font-family:var(--font-mono);font-size:12.5px;line-height:1.7;
  color:var(--code-dim);background:var(--code-raised);border-radius:12px;padding:12px 16px;
}

@media (max-width:720px){
  .dev-code{border-radius:14px}
  .dev-code pre{font-size:12.5px}
  .dev-ln{grid-template-columns:34px 16px auto;padding-right:14px}
  /* Two rows in the head of a block: the path gets the whole width, badge
     and button go below it. Side by side, "Neue Zeilen kopieren" left the
     path a dozen characters. */
  .dev-code-head{flex-wrap:wrap;padding:9px 10px 9px 14px;row-gap:8px}
  .dev-code-file{flex:1 1 100%}
  .dev-code-badge{margin-right:auto}
  /* A "Bald" row keeps its meta on a phone (see .tut-row.soon above); with
     the level beside the duration it took so much of the row that a title
     like "Konfiguration und Umgebungsvariablen" ran under the chip. The
     level is on the tutorial page anyway. Long compounds break with a
     hyphen rather than running out of the row. */
  .tut-row-meta .dev-level{display:none}
  .tut-row-text b{hyphens:auto;-webkit-hyphens:auto}
  .dev-further{margin-top:40px}
  .dev-panel{padding:20px;border-radius:18px}
  .dev-panel-text h3{font-size:20px}
}

/* ---------- The Academy page: which half ---------- */
/* One question, two cards, one screen. The page fills the viewport below the
   header and does not scroll wherever both cards fit; the footer shrinks to
   its bottom line so the legal links stay on screen. Below the heights in the
   media queries at the end there is no room for that, and the page scrolls
   like any other. The user card is the Academy's white tile, the developer
   card the dark ground of the code blocks it leads to, as in .dev-panel. */
body.choice-page > footer{padding:16px 0 18px}
body.choice-page .footer-top{display:none}
/* Copyright and legal links side by side on the left: the chat bubble sits
   in the bottom right corner and would cover the links there. */
body.choice-page .footer-bottom{border-top:none;padding-top:0;justify-content:flex-start;column-gap:32px}
.choice{display:flex;align-items:center;padding:92px 0 28px}
.choice > .wrap{width:100%}
.choice-head{text-align:center;max-width:46em;margin:0 auto 40px}
.choice-head .chapter-label{display:block;margin-bottom:12px;padding-top:0}
.choice-head h1{
  font-family:var(--font-display);font-weight:700;
  font-size:clamp(30px,4.2vw,48px);letter-spacing:-0.025em;line-height:1.1;text-wrap:balance;
}
.choice-head p{color:var(--gray);margin:16px auto 0;max-width:37.2em;text-wrap:pretty}
.choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1000px;margin:0 auto}
.choice-grid:has(> :only-child){grid-template-columns:minmax(0,1fr);max-width:490px}
.choice-card{
  display:flex;flex-direction:column;align-items:flex-start;min-height:290px;
  padding:32px 34px 24px;border-radius:24px;text-decoration:none;color:var(--ink);
  background:radial-gradient(520px 260px at 100% 0%, #F1E6FE 0%, transparent 62%) var(--card);
  border:1px solid var(--line);
  transition:border-color .2s,transform .18s,box-shadow .25s;
}
.choice-card:hover{border-color:#CBBDFF;transform:translateY(-3px);box-shadow:0 24px 50px -30px rgba(92,63,224,.42)}
.choice-card:focus-visible{outline:2px solid var(--violet);outline-offset:3px}
.choice-icon{
  width:54px;height:54px;border-radius:16px;flex:none;display:grid;place-items:center;
  margin-bottom:22px;background:var(--lavender);color:var(--violet-deep);
}
.choice-card h2{font-family:var(--font-display);font-size:26px;font-weight:700;letter-spacing:-0.02em;line-height:1.2}
.choice-card p{font-size:16px;color:var(--gray);line-height:1.5;margin:10px 0 24px;max-width:28em;text-wrap:pretty}
.choice-footer{
  margin-top:auto;width:100%;padding-top:16px;border-top:1px solid var(--line);
  display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:15px;
}
.choice-footer b{font-family:var(--font-mono);font-size:12.5px;font-weight:500;color:var(--gray)}
.choice-footer span{display:flex;align-items:center;gap:4px;font-weight:600;color:var(--violet-deep)}
.choice-footer .tut-chev{width:18px;height:18px;color:currentColor;transition:transform .2s}
.choice-card:hover .choice-footer .tut-chev{transform:translateX(3px)}
/* The developer half: the same light card, told apart by blue and by a fine
   dot grid that fades out towards the text, like squared paper under a
   sketch. The dots sit on a pseudo-element so the fade can cover them
   without touching the card's own background or border. */
.choice-card.dev{
  position:relative;overflow:hidden;
  background:radial-gradient(520px 260px at 100% 0%, var(--blue-soft) 0%, transparent 62%) var(--card);
}
.choice-card.dev::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 1px 1px, rgba(60,128,246,.24) 1px, transparent 1.6px) 0 0/18px 18px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,transparent 72%);
  mask-image:linear-gradient(180deg,#000 0%,transparent 72%);
}
.choice-card.dev > *{position:relative}
.choice-card.dev:hover{border-color:#B9D2FB;box-shadow:0 24px 50px -30px rgba(42,99,200,.42)}
.choice-card.dev:focus-visible{outline-color:var(--blue)}
.choice-card.dev .choice-icon{background:var(--card);border:1px solid #CFE0FC;color:var(--blue)}
.choice-card.dev .choice-footer span{color:var(--blue-deep)}
/* Level with the symbol, not above the title: both cards' titles then stand
   on the same line, the way the rest of a card pair lines up. */
.choice-card.dev > .choice-eyebrow{
  position:absolute;top:50px;right:34px;
  font-family:var(--font-mono);font-size:11.5px;font-weight:500;letter-spacing:.12em;
  text-transform:uppercase;color:var(--blue-deep);
}
@media (max-width:700px){
  .choice{align-items:flex-start;padding:78px 0 18px}
  .choice-head{text-align:left;margin-bottom:18px}
  .choice-head h1{font-size:28px}
  .choice-head p{font-size:15.5px;margin-top:10px}
  .choice-grid{grid-template-columns:minmax(0,1fr);gap:14px}
  /* Symbol and title share a row, and the footer keeps only the arrow:
     both cards and the footer line have to fit on one phone screen. */
  .choice-card{
    display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:14px;
    min-height:0;padding:18px 20px 14px;border-radius:18px;
  }
  .choice-card > p,.choice-footer{grid-column:1/-1}
  .choice-eyebrow{display:none}
  .choice-icon{width:40px;height:40px;border-radius:12px;margin-bottom:0}
  .choice-card h2{font-size:20px}
  .choice-card p{font-size:14.5px;margin:10px 0 12px}
  .choice-footer{padding-top:12px;font-size:14.5px}
  .choice-footer .choice-more{display:none}
  /* The chat bubble leaves this page on a phone, as it leaves a tutorial:
     on a page that does not scroll it would sit on the second card and the
     legal links for good. */
  body.choice-page .woot--bubble-holder,
  body.choice-page .woot-widget-bubble,
  body.choice-page .woot-widget-holder{display:none !important}
}
@media (prefers-reduced-motion:reduce){
  .choice-card,.choice-footer .tut-chev{transition:none}
  .choice-card:hover{transform:none}
}
/* On a wide screen the page is exactly one screen high and cannot scroll,
   from the height up where everything fits: measured, the content needs
   about 665 px at 1280 px width and 690 px at 760. Below that height it
   scrolls like any other page.

   A phone gets no overflow:hidden. The page fills the screen there as well
   (body.inner-page is 100svh high and .choice takes what is left) and does
   not scroll while it fits, but the toolbars of a mobile browser change the
   height under it, and a locked page would cut off the second card and the
   legal links whenever they are shown. Measured at 390 px width it fits from
   752 px on; at 390 x 700 both cards are still on screen and only the footer
   line is below the fold. */
@media (min-width:701px) and (min-height:700px){
  body.choice-page{height:100vh;height:100svh;min-height:0;overflow:hidden}
}

/* ---------------------------------------------------------------------------
   Changelog — /changelog and a single release.

   Laid out as a timeline rather than a stack of cards: the release number and
   its dates sit in their own column on the left, so the versions line up and
   the eye can run down them without reading a word. Below 720px that column
   folds above the text, because a 90px rail leaves nothing for the sentences.
   --------------------------------------------------------------------------- */
/* The site header is fixed, so every page under it opens with room for it —
   the same 110px the Academy uses. Without it the first heading slides
   underneath the navigation. */
.chg{padding:110px 0 90px}
.chg-header{padding:20px 0 34px;max-width:38.5em}
.chg-header h1{font-size:38px;line-height:1.15;letter-spacing:-.022em}
.chg-header p{margin-top:12px;color:var(--gray);font-size:17px}

.chg-list{display:flex;flex-direction:column}
.chg-entry{
  display:grid;grid-template-columns:150px minmax(0,1fr);gap:28px;
  padding:30px 0;border-top:1px solid var(--line);
}
.chg-entry:first-child{border-top:0}

.chg-meta{display:flex;flex-direction:column;gap:6px;align-items:flex-start}
.chg-version{
  font-size:19px;font-weight:700;letter-spacing:-.02em;color:var(--violet-deep);
  background:var(--lavender);border-radius:10px;padding:3px 11px;
  font-variant-numeric:tabular-nums;
}
.chg-meta time{color:var(--gray);font-size:14px}
.chg-support{color:var(--gray);font-size:13px}
/* A version that has not shipped yet. Amber rather than violet: violet is what
   this site uses for what is there, and the same colour for both would make a
   planned release look like a published one at a glance. */
.chg-upcoming{
  font-size:11.5px;font-weight:600;letter-spacing:.02em;
  color:var(--amber);background:var(--amber-soft);border-radius:99px;padding:3px 10px;
}

.chg-body h2{font-size:24px;line-height:1.25;letter-spacing:-.018em;text-wrap:balance}
.chg-body h2 a{color:var(--ink);text-decoration:none}
.chg-body h2 a:hover{color:var(--violet-deep)}
.chg-body>p{margin-top:10px;color:var(--gray);font-size:16px;max-width:39.7em}

.chg-highlights{margin-top:16px;list-style:none;display:flex;flex-direction:column;gap:9px}
.chg-highlights li{position:relative;padding-left:26px;font-size:15px;max-width:39.7em}
/* A check drawn from two borders — the site carries no icon font, and one
   inline SVG per bullet is a lot of markup for a tick. */
.chg-highlights li::before{
  content:"";position:absolute;left:4px;top:6px;width:6px;height:11px;
  border:solid var(--green);border-width:0 2px 2px 0;transform:rotate(45deg);
}
.chg-highlights-large li{font-size:16px}

.chg-more{
  display:inline-block;margin-top:18px;font-size:15px;font-weight:600;
  color:var(--violet-deep);text-decoration:none;
}
.chg-more:hover{text-decoration:underline}
.chg-more::after{content:" →"}

.chg-feed{margin-top:44px;padding-top:20px;border-top:1px solid var(--line);color:var(--gray);font-size:14px}
.chg-feed code{background:var(--slate-soft);border-radius:6px;padding:1px 6px}
.chg-feed a{color:var(--violet-deep)}

.chg-single .chg-header{max-width:43.6em;padding-bottom:26px}
.chg-single .chg-meta{flex-direction:row;align-items:center;gap:14px;flex-wrap:wrap;margin-bottom:16px}
.chg-summary{margin-top:14px;color:var(--gray);font-size:18px}
.chg-crumbs{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--gray);padding-top:8px}
.chg-crumbs a{color:var(--gray);text-decoration:none}
.chg-crumbs a:hover{color:var(--violet-deep)}
.chg-crumbs i{font-style:normal;opacity:.5}
.chg-crumbs .current{color:var(--ink)}

.chg-after{
  margin-top:32px;background:var(--amber-soft);border-radius:var(--radius);padding:22px 24px;
}
.chg-after h2{font-size:17px;letter-spacing:-.01em}
.chg-after ul{margin-top:12px;padding-left:20px;display:flex;flex-direction:column;gap:8px}
.chg-after li{font-size:15px;max-width:39.7em}

.chg-notes{margin-top:38px;max-width:43.6em}
.chg-notes h2{font-size:22px;margin-top:32px;letter-spacing:-.015em}
.chg-notes h3{font-size:18px;margin-top:24px}
.chg-notes p{margin-top:12px;font-size:16px;line-height:1.65}
.chg-notes ul,.chg-notes ol{margin-top:12px;padding-left:22px;display:flex;flex-direction:column;gap:8px}
.chg-notes li{font-size:16px;line-height:1.6}
.chg-notes a{color:var(--violet-deep)}

/* Tutorials linked from a release. The rows themselves are the Academy's
   (.tut-list, .tut-row) — the same shape wherever a tutorial is listed, so
   nothing here restyles them; this only sets the section apart from the
   changes above it. */
.chg-tutorials{margin-top:44px;padding-top:28px;border-top:1px solid var(--line)}
.chg-tutorials h2{font-size:17px;letter-spacing:-.01em;margin-bottom:16px}

@media (max-width:720px){
  .chg-entry{grid-template-columns:1fr;gap:14px}
  .chg-meta{flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}
  .chg-header h1{font-size:30px}
}

/* Highlights of a release, as cards — three at most, so they sit in a row on
   a wide screen and stack below 900px without a media query of their own. */
/* The highlights as a bento. Six columns; the lead tile takes four of them and
   two rows, the next two stack beside it, whatever follows fills the row
   below in equal parts. One arrangement per count, because a grid that
   guesses leaves holes: with four tiles the last one would sit alone in a
   half-empty row. Below 760px everything is one column, the lead first. */
.chg-bento{margin-top:34px;display:grid;gap:14px;grid-template-columns:repeat(6,minmax(0,1fr))}
.chg-tile{
  background:var(--card);border:1px solid var(--line);border-radius:var(--radius);
  padding:20px 22px;display:flex;flex-direction:column;gap:10px;min-width:0;grid-column:span 2;
}
.chg-tile h2{font-size:17px;line-height:1.35;letter-spacing:-.012em}
.chg-tile p{color:var(--gray);font-size:14px;line-height:1.6}
.chg-tile-lead{grid-column:span 4;grid-row:span 2;padding:26px 28px}
.chg-tile-lead h2{font-size:clamp(19px,2.2vw,23px);line-height:1.3}
.chg-tile-lead p{font-size:15px}

.chg-bento-1 .chg-tile-lead{grid-column:1 / -1;grid-row:auto}
/* A tile across the whole width — the lead when it is alone, the fourth of
   four — would grow its image to that width too and turn it into a banner
   taller than the lead. Text left, image right instead. */
.chg-bento-1 .chg-tile-lead:has(.chg-tile-image),
.chg-bento-4 .chg-tile:nth-child(4):has(.chg-tile-image){
  display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);column-gap:32px;row-gap:10px;align-content:center;
}
.chg-bento-1 .chg-tile-lead .chg-tile-image,
.chg-bento-4 .chg-tile:nth-child(4) .chg-tile-image{grid-column:2;grid-row:1 / span 4;align-self:center;margin:0;padding:0}
.chg-bento-2 .chg-tile-lead{grid-row:auto}
.chg-bento-4 .chg-tile:nth-child(4){grid-column:1 / -1}
.chg-bento-5 .chg-tile:nth-child(n+4){grid-column:span 3}
/* 3 and 6 need nothing: two beside the lead, then a row of three. */

/* The image sits at the bottom of its tile, on a lavender ground, so a
   screenshot with white edges still reads as a picture. */
.chg-tile-image{margin-top:auto;padding-top:6px}
.chg-tile-image img{display:block;width:100%;height:auto;border-radius:12px;background:var(--lavender)}

.chg-tile-area{
  align-self:flex-start;justify-self:start;font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  border-radius:999px;padding:3px 10px;white-space:nowrap;
  background:var(--lavender);color:var(--violet-deep);
}
.chg-tile-area-angebote{background:var(--rose-soft);color:var(--rose)}
.chg-tile-area-rechnungen{background:var(--blue-soft);color:var(--blue-deep)}
.chg-tile-area-zeiterfassung,.chg-tile-area-projekte{background:var(--green-soft);color:var(--green-deep)}
.chg-tile-area-kontakte,.chg-tile-area-plugins{background:var(--teal-soft);color:#0B7C7C}
.chg-tile-area-einstellungen,.chg-tile-area-updates,.chg-tile-area-navigation{background:var(--slate-soft);color:var(--slate)}

@media (max-width:760px){
  .chg-bento{grid-template-columns:1fr}
  .chg-bento .chg-tile{grid-column:auto !important;grid-row:auto}
  .chg-bento-1 .chg-tile-lead:has(.chg-tile-image),
  .chg-bento-4 .chg-tile:nth-child(4):has(.chg-tile-image){display:flex}
}

/* The changes themselves, grouped by kind. The kind is a coloured label rather
   than a heading in the running text: a reader scanning for what got fixed
   should find it without reading the additions first. */
.chg-changes{margin-top:44px;display:flex;flex-direction:column;gap:34px}
.chg-kind{
  display:inline-block;font-size:12px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;
  border-radius:999px;padding:4px 12px;
}
.chg-kind-added{background:var(--green-soft);color:#00895C}
.chg-kind-changed{background:var(--blue-soft);color:#2A62C9}
.chg-kind-fixed{background:var(--lavender);color:var(--violet-deep)}
.chg-kind-removed{background:var(--slate-soft);color:var(--slate)}
.chg-kind-security{background:var(--rose-soft);color:var(--rose)}

.chg-items{margin-top:16px;list-style:none;display:flex;flex-direction:column;gap:20px}
.chg-items>li{padding-left:18px;border-left:2px solid var(--line);max-width:43.6em}
.chg-items h3{font-size:16px;line-height:1.45;letter-spacing:-.008em;display:inline}
.chg-items p{margin-top:8px;color:var(--gray);font-size:15px;line-height:1.6}
.chg-area{
  margin-left:8px;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;
  color:var(--gray);background:var(--slate-soft);border-radius:6px;padding:2px 7px;white-space:nowrap;
}

.chg-after li b{font-size:15px}
.chg-after li p{margin-top:5px;color:var(--slate);font-size:14px;line-height:1.6}

/* ---------- Sign-up and setup (signup.js, setup.js) ----------
   The sign-up in front of the Paddle checkout, and the page that follows the
   setup in Tower. The address is the product here: the dialog sets it large
   as an address bar, and on the setup page the visitor's own Vendority takes
   shape at that address, one piece per step Tower finishes. That window is
   the one moving thing; everything around it stays quiet. */

.signup{
  width:min(640px,calc(100% - 32px));max-height:calc(100svh - 32px);
  margin:auto;padding:0;border:0;border-radius:22px;
  background:var(--card);color:var(--ink);
  box-shadow:0 40px 120px -40px rgba(92,63,224,.45), 0 10px 30px -14px rgba(23,24,29,.25);
}
.signup::backdrop{background:rgba(23,24,29,.38);backdrop-filter:blur(3px)}
.signup[open]{animation:signup-in .28s ease-out}
@keyframes signup-in{from{opacity:0;transform:translateY(14px) scale(.985)}}
.signup-form{position:relative;padding:34px 34px 28px}
.signup h2{font-family:var(--font-display);font-weight:700;font-size:clamp(24px,3.2vw,30px);letter-spacing:-0.02em;line-height:1.15;padding-right:40px}
.signup-plan{color:var(--gray);font-size:14.5px;margin:6px 0 26px}
.signup-close{
  position:absolute;top:22px;right:22px;width:38px;height:38px;border-radius:50%;
  border:1.5px solid var(--line);background:var(--card);cursor:pointer;display:grid;place-items:center;
}
.signup-close svg{width:16px;height:16px;fill:none;stroke:var(--ink);stroke-width:2;stroke-linecap:round}
.signup-close:hover{border-color:var(--violet)}
.signup :focus-visible{outline:3px solid rgba(160,88,246,.45);outline-offset:2px}

/* The address bar: the visitor types into the middle of their own URL. */
.signup-address{margin-bottom:24px}
.signup-address label{display:block;font-size:14px;font-weight:600;margin-bottom:9px}
.signup-url{
  display:flex;align-items:baseline;gap:0;cursor:text;
  background:var(--paper);border:1.5px solid var(--line);border-radius:14px;
  padding:16px 18px;transition:border-color .2s,box-shadow .2s;
  font-family:var(--font-display);font-size:clamp(19px,3vw,25px);letter-spacing:-0.01em;
}
.signup-url:focus-within{border-color:var(--violet);box-shadow:0 0 0 3px rgba(124,92,252,.15)}
.signup-url-domain{color:var(--gray)}
/* The input is as wide as what is typed, so the domain follows it like in a real address bar. */
.signup-url input{
  flex:0 1 auto;width:11ch;min-width:2ch;max-width:100%;
  border:0;outline:0;background:transparent;padding:0;
  font:inherit;font-weight:600;color:var(--ink);
}
.signup-url input::placeholder{color:#C9CBD6;font-weight:600}
.signup-url[data-state="ok"]{border-color:var(--green)}
.signup-url[data-state="bad"]{border-color:#D6455D}
.signup-slug-state{font-size:13.5px;color:var(--gray);margin-top:9px;min-height:1.4em;display:flex;gap:7px;align-items:center}
.signup-url[data-state="ok"] + .signup-slug-state{color:var(--green-deep)}
.signup-url[data-state="bad"] + .signup-slug-state{color:#C23650}
.signup-url[data-state="ok"] + .signup-slug-state::before{content:"";width:14px;height:14px;flex:none;border-radius:50%;background:var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat}
.signup-url[data-state="checking"] + .signup-slug-state::before{content:"";width:12px;height:12px;flex:none;border-radius:50%;border:2px solid var(--lavender);border-top-color:var(--violet);animation:spin .8s linear infinite}
@keyframes spin{to{transform:rotate(360deg)}}

.signup .req{color:#D6455D;font-weight:700}
.signup-terms{margin:2px 0 14px}
.signup-check{display:flex;align-items:flex-start;gap:10px;font-size:14px;line-height:1.45;cursor:pointer}
.signup-check input{flex:none;width:18px;height:18px;margin:1px 0 0;accent-color:var(--violet);cursor:pointer}
.signup-check input[aria-invalid="true"]{outline:2px solid #C23650;outline-offset:2px}
.signup-check a{color:var(--violet-deep);text-decoration:underline;text-underline-offset:2px}
.signup-terms .signup-error{display:block;margin:6px 0 0 28px}
.signup-terms .signup-error:empty{display:none}
.signup-required{font-size:12.5px;color:var(--gray);margin:-6px 0 14px}
.signup-error{font-size:13px;color:#C23650}
.signup-error:empty{display:none}
.signup-error-form{margin-bottom:14px}
.signup-footer{display:flex;align-items:center;justify-content:space-between;gap:18px;border-top:1px solid var(--line);padding-top:20px;margin-top:4px}
.signup-footer p{font-size:12.5px;color:var(--gray);max-width:24em}
.signup-footer .price-btn{flex:none;width:auto;padding:13px 26px}
.signup-footer .price-btn:disabled{opacity:.6;cursor:progress}

/* The setup page */
/* The setup takes the top of the page: it clears the fixed header like .tut does, and the
   welcome content below follows without its own top padding. */
.has-setup .tut-header{display:none}
.has-setup .tut{padding-top:0}
.setup{
  padding:110px 0 64px;
  background:
    radial-gradient(900px 420px at 30% -30%, #F1E6FE 0%, transparent 62%),
    radial-gradient(700px 380px at 92% 0%, #E3EEFE 0%, transparent 58%);
}
.setup-grid{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:56px;align-items:start}
.setup-title{font-family:var(--font-display);font-weight:700;font-size:clamp(32px,4.6vw,48px);letter-spacing:-0.025em;line-height:1.08}
.setup-lead{color:var(--gray);margin:16px 0 30px;max-width:30em}
.setup-lead:empty{display:none}
.setup-note{
  display:flex;gap:12px;align-items:flex-start;margin:-12px 0 28px;max-width:30em;
  padding:14px 16px;border-radius:14px;background:#F4EEFE;border:1px solid #E6DAFD;
  font-size:14.5px;line-height:1.5;color:var(--ink);
}
.setup-note[hidden]{display:none}
.setup-note svg{width:20px;height:20px;flex:none;margin-top:1px;fill:none;stroke:var(--violet-deep);stroke-width:1.8;stroke-linejoin:round}
.setup-note b{font-weight:700}

/* Tower's steps, as a line the progress runs down */
.setup-steps{list-style:none;padding:0;margin:0;position:relative}
.setup-step{position:relative;display:flex;gap:14px;padding:0 0 18px;min-height:40px}
.setup-step:not(:last-child)::after{
  content:"";position:absolute;left:11px;top:26px;bottom:2px;width:2px;border-radius:2px;
  background:var(--line);transition:background .4s;
}
.setup-step[data-status="done"]::after,.setup-step[data-status="skipped"]::after{background:var(--violet)}
.setup-step-mark{
  width:24px;height:24px;flex:none;border-radius:50%;margin-top:1px;
  border:2px solid var(--line);background:var(--card);transition:all .3s;
}
.setup-step[data-status="running"] .setup-step-mark{border-color:var(--lavender);border-top-color:var(--violet);animation:spin .9s linear infinite}
.setup-step[data-status="done"] .setup-step-mark,.setup-step[data-status="skipped"] .setup-step-mark{
  border-color:var(--violet);
  background:var(--violet) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat;
}
.setup-step[data-status="failed"] .setup-step-mark{border-color:#D6455D;background:#D6455D}
.setup-step-text{display:flex;flex-direction:column;gap:2px;padding-top:2px}
.setup-step-text b{font-weight:600;font-size:15.5px;color:var(--gray);transition:color .3s}
.setup-step[data-status="running"] b,.setup-step[data-status="done"] b{color:var(--ink)}
.setup-step-text em{font-style:normal;font-size:13px;color:var(--violet-deep)}
.setup-step-text em:empty{display:none}
.setup-done{margin-top:10px;display:flex;flex-direction:column;gap:12px;align-items:flex-start}
.setup-done .price-btn{padding:14px 30px}
.setup-done p{font-size:13.5px;color:var(--gray)}
.setup-failed{margin-top:10px;background:var(--rose-soft);border-radius:14px;padding:16px 18px;font-size:14.5px}
.setup-failed a{color:var(--violet-deep)}
.setup-elapsed{margin-top:14px;font-size:13px;color:var(--gray);font-variant-numeric:tabular-nums}
.setup-elapsed:empty{display:none}

/* The window: the visitor's own Vendority, assembled step by step */
.setup-stage{position:relative;padding-top:44px}
.ss-slot{
  position:absolute;top:0;left:18px;display:inline-flex;align-items:center;gap:8px;
  font-size:12.5px;color:var(--gray);background:var(--card);border:1px solid var(--line);
  border-radius:99px;padding:6px 12px 6px 10px;opacity:0;transform:translateY(6px);transition:all .5s;
}
.ss-slot-dot{width:8px;height:8px;border-radius:50%;background:var(--amber)}
.setup-stage.is-check_capacity-running .ss-slot,.setup-stage.is-check_capacity-done .ss-slot{opacity:1;transform:none}
.setup-stage.is-check_capacity-running .ss-slot-dot{animation:pulse 1.2s ease-in-out infinite}
.setup-stage.is-check_capacity-done .ss-slot-dot{background:var(--green)}
@keyframes pulse{50%{opacity:.35;transform:scale(.7)}}

.ss-window{
  background:var(--card);border:1.5px dashed #D3D5E0;border-radius:var(--radius);overflow:hidden;
  opacity:.55;transform:translateY(14px);
  transition:opacity .7s ease,transform .7s ease,border-color .7s,box-shadow 1s;
}
.setup-stage.is-check_capacity-done .ss-window{
  opacity:1;transform:none;border-style:solid;border-color:var(--line);
  box-shadow:0 30px 80px -34px rgba(92,63,224,.28), 0 6px 24px -12px rgba(23,24,29,.10);
}
.setup-stage[data-state="ready"] .ss-window{box-shadow:0 34px 90px -30px rgba(160,88,246,.55), 0 6px 24px -12px rgba(23,24,29,.10)}
.setup-stage[data-state="failed"] .ss-window{filter:grayscale(1);opacity:.7}
.ss-bar{display:flex;align-items:center;gap:6px;padding:11px 14px;border-bottom:1px solid var(--line)}
.ss-bar i{width:9px;height:9px;border-radius:50%;background:var(--line)}
.ss-url{
  margin-left:10px;flex:1;display:flex;align-items:center;gap:7px;min-width:0;
  background:#F3F4F8;border-radius:7px;padding:5px 10px;
  font-family:var(--font-mono);font-size:12px;color:#A3A7B5;transition:color .6s,background .6s;
}
.ss-url span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ss-lock{
  width:11px;height:12px;flex:none;border-radius:2px;background:#C9CBD6;position:relative;margin-top:3px;transition:background .6s;
}
.ss-lock::before{content:"";position:absolute;left:2px;right:2px;top:-5px;height:7px;border:2px solid #C9CBD6;border-bottom:0;border-radius:5px 5px 0 0;transition:border-color .6s}
.setup-stage.is-health_check-done .ss-url{color:var(--ink);background:var(--green-soft)}
.setup-stage.is-health_check-done .ss-lock{background:var(--green)}
.setup-stage.is-health_check-done .ss-lock::before{border-color:var(--green)}

.ss-body{display:grid;grid-template-columns:168px 1fr;min-height:330px}
.ss-side{border-right:1px solid var(--line);background:#FCFCFE;padding:14px 10px;display:flex;flex-direction:column;gap:2px}
.ss-brand{display:flex;align-items:center;gap:8px;padding:2px 8px 12px;opacity:0;transition:opacity .6s}
.ss-brand .v-mark{width:22px;height:22px}
.ss-brand b{font-family:var(--font-display);font-size:13px}
.setup-stage.is-create_registry_token-done .ss-brand{opacity:1}
.ss-nav{
  font-size:12.5px;color:var(--gray);padding:6px 10px;border-radius:8px;
  opacity:0;transform:translateX(-8px);transition:opacity .4s,transform .4s;
}
/* While Vendority installs the menu fills in, one module after the other. */
.setup-stage.is-deploy_job-running .ss-nav{animation:ss-arrive .45s ease-out forwards;animation-delay:calc(var(--i) * 2.4s)}
.setup-stage.is-deploy_job-done .ss-nav{opacity:1;transform:none;animation:none}
@keyframes ss-arrive{to{opacity:1;transform:none}}
.setup-stage[data-state="ready"] .ss-brand + .ss-nav{background:#E1E2FE;color:#3E8FFC;font-weight:600}

.ss-main{padding:20px 22px;display:flex;flex-direction:column;gap:16px;min-width:0}
.ss-hello{display:flex;flex-direction:column;gap:2px;opacity:0;transform:translateY(8px);transition:all .7s}
.ss-hello span{font-size:12px;color:var(--gray)}
.ss-hello b{font-family:var(--font-display);font-size:20px;letter-spacing:-0.01em}
.setup-stage[data-state="ready"] .ss-hello{opacity:1;transform:none}
.ss-services{display:flex;flex-wrap:wrap;gap:8px}
.ss-service{
  display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--gray);
  border:1px solid var(--line);border-radius:99px;padding:5px 11px;background:#fff;
  opacity:0;transform:translateY(6px);transition:opacity .4s,transform .4s;
}
.ss-service i{width:7px;height:7px;border-radius:50%;background:#C9CBD6}
.setup-stage.is-deploy_job-done .ss-service{opacity:1;transform:none;transition-delay:calc(var(--i) * .12s)}
.setup-stage.is-wait_pods-running .ss-service i{background:var(--amber);animation:pulse 1.1s ease-in-out infinite;animation-delay:calc(var(--i) * .25s)}
.setup-stage.is-wait_pods-done .ss-service{color:var(--ink)}
.setup-stage.is-wait_pods-done .ss-service i{background:var(--green);animation:none}
.ss-skeleton{display:flex;flex-direction:column;gap:9px}
.ss-skeleton i{
  height:34px;border-radius:10px;
  background:linear-gradient(90deg,#F3F4F8 0%,#ECEDF4 40%,#F3F4F8 80%) 0 0/200% 100%;
  opacity:.5;transition:opacity .5s;
}
.setup-stage.is-deploy_job-done .ss-skeleton i{opacity:1;animation:ss-shimmer 1.8s linear infinite}
.setup-stage[data-state="ready"] .ss-skeleton i{animation:none;background:#F6F6FA}
@keyframes ss-shimmer{to{background-position:-200% 0}}
.ss-account{
  display:flex;align-items:center;gap:10px;margin-top:auto;align-self:flex-start;
  border:1px solid var(--line);border-radius:12px;padding:9px 14px 9px 9px;background:#fff;
  opacity:0;transform:translateY(10px);transition:all .6s;
}
.ss-avatar{
  width:32px;height:32px;border-radius:50%;display:grid;place-items:center;flex:none;
  background:linear-gradient(135deg,#3C80F6,#A058F6);color:#fff;font-family:var(--font-display);font-size:12px;font-weight:700;
}
.ss-account b{display:block;font-size:12.5px}
.ss-account em{display:block;font-style:normal;font-size:11.5px;color:var(--gray);max-width:24ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
/* The wizard card: the last thing the visitor does is theirs, at /setup. */
.setup-stage[data-state="ready"] .ss-account{opacity:1;transform:none}

/* The welcome e-mail leaves the window */
.ss-mail{
  position:absolute;right:18px;bottom:-14px;display:inline-flex;align-items:center;gap:8px;
  font-size:12.5px;font-weight:600;color:var(--violet-deep);background:var(--lavender);
  border-radius:99px;padding:7px 14px 7px 10px;opacity:0;transform:translateY(0);pointer-events:none;
}
.ss-mail svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linejoin:round}
.setup-stage.is-welcome_email-running .ss-mail,.setup-stage.is-welcome_email-done .ss-mail{animation:ss-send 1.6s ease-out forwards}
@keyframes ss-send{0%{opacity:0;transform:translateY(10px)}25%{opacity:1;transform:none}70%{opacity:1;transform:translate(0,0)}100%{opacity:0;transform:translate(26px,-40px) rotate(-8deg)}}

/* One column: the window moves between the heading and the steps, so it is in view while it builds. */
@media (max-width:860px){
  .setup-grid{display:flex;flex-direction:column;gap:0}
  .setup-copy{display:contents}
  .setup-title{order:1}
  .setup-lead{order:2}
  .setup-note{order:2}
  .setup-stage{order:3;margin-bottom:36px}
  .setup-steps{order:4}
  .setup-done,.setup-failed{order:5}
  .setup-elapsed{order:6}
}
@media (max-width:640px){
  .signup-form{padding:26px 20px 22px}
  .signup .form-row{grid-template-columns:1fr;gap:0}
  .signup-url{padding:14px}
  .signup-footer{flex-direction:column;align-items:stretch}
  .ss-body{grid-template-columns:1fr}
  .ss-side{display:none}
}
@media (prefers-reduced-motion:reduce){
  .signup[open],.setup-step[data-status="running"] .setup-step-mark,.ss-slot-dot,.ss-service i,.ss-skeleton i,.ss-mail,.signup-slug-state::before{animation:none !important}
  .setup-stage.is-deploy_job-running .ss-nav{animation:none;opacity:1;transform:none}
  .ss-window,.ss-slot,.ss-nav,.ss-service,.ss-account,.ss-hello{transition:none}
  .setup-stage.is-welcome_email-done .ss-mail{opacity:1}
}

/* ------------------------------------------------------------------ *
 * Cookie notice — CookieConsent v3 (assets/vendor/cookieconsent) in the
 * site's colours. Its own stylesheet does the layout; only the variables
 * it offers are set here, so an update of the library keeps working.
 * #cc-main is its root and wins over its :root defaults.
 * ------------------------------------------------------------------ */
#cc-main{
  --cc-font-family:var(--font-text);
  --cc-bg:var(--card);
  --cc-primary-color:var(--ink);
  --cc-secondary-color:var(--gray);
  --cc-link-color:var(--violet-deep);
  --cc-modal-border-radius:var(--radius);
  --cc-btn-border-radius:999px;
  --cc-btn-primary-bg:var(--violet);
  --cc-btn-primary-color:#fff;
  --cc-btn-primary-border-color:var(--violet);
  --cc-btn-primary-hover-bg:var(--violet-deep);
  --cc-btn-primary-hover-color:#fff;
  --cc-btn-primary-hover-border-color:var(--violet-deep);
  --cc-btn-secondary-bg:var(--lavender);
  --cc-btn-secondary-color:var(--violet-deep);
  --cc-btn-secondary-border-color:var(--lavender);
  --cc-btn-secondary-hover-bg:#E6D3FD;
  --cc-btn-secondary-hover-color:var(--violet-deep);
  --cc-btn-secondary-hover-border-color:#E6D3FD;
  --cc-separator-border-color:var(--line);
  --cc-toggle-on-bg:var(--violet);
  --cc-toggle-off-bg:#C9CBD6;
  --cc-toggle-readonly-bg:var(--lavender);
  --cc-toggle-readonly-knob-icon-color:var(--violet);
  --cc-cookie-category-block-bg:var(--paper);
  --cc-cookie-category-block-border:var(--line);
  --cc-cookie-category-block-hover-bg:var(--slate-soft);
  --cc-cookie-category-block-hover-border:var(--line);
  --cc-cookie-category-expanded-block-bg:var(--paper);
  --cc-footer-bg:var(--paper);
  --cc-footer-border-color:var(--line);
  --cc-footer-color:var(--gray);
  --cc-overlay-bg:rgba(23,24,29,.5);
}
#cc-main .cm__title,#cc-main .pm__title{font-family:var(--font-display);letter-spacing:-.01em}
#cc-main code{font-family:var(--font-mono);font-size:.85em;word-break:break-all}

/* The footer link that reopens it: a button, dressed like its neighbours. */
.footer-consent{background:none;border:0;padding:0;font:inherit;color:inherit;cursor:pointer}
.footer-consent:hover{color:var(--ink)}
