/* Avolié Systems website
   Palette: chalk (page), paper (tiles), ink (text), slate (secondary text), brass (the one accent).
   Type: Bricolage Grotesque only, in two weights (400 and 700).
   Contrast checked: ink on chalk 14.8:1, slate on chalk 5.7:1, brass on chalk 4.8:1. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-400.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/assets/fonts/bricolage-700.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter Display";
  src: url("/assets/fonts/inter-display-600.woff") format("woff");
  font-weight: 600 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --chalk: #f2f3ef;
  --paper: #ffffff;
  --ink: #17202b;
  --slate: #556070;
  --brass: #8a6420;
  --brass-soft: #eadfc6;
  --brass-light: #e3c377;
  --line: #d6d9d0;
  --on-ink: #c4cad3;
  --radius: 14px;
  --gutter: clamp(20px, 4vw, 48px);
  --max: 1180px;
  --font: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-head: "Inter Display", "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--chalk);
  color: var(--ink);
  font-family: var(--font);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ul, ol {
  margin: 0;
}

a {
  color: inherit;
}

svg {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--brass);
  outline-offset: 3px;
  border-radius: 4px;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.skip {
  position: absolute;
  left: 16px;
  top: -64px;
  padding: 0.7em 1em;
  background: var(--ink);
  color: var(--chalk);
  border-radius: 8px;
  z-index: 10;
}
.skip:focus {
  top: 16px;
}

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

/* Header */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  padding-block: 12px;
  background: color-mix(in srgb, var(--chalk) 84%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
.site-head.is-stuck {
  border-bottom-color: var(--line);
}
html {
  scroll-padding-top: 76px;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand__sub {
  font-weight: 400;
  color: var(--slate);
}
.brand {
  white-space: nowrap;
}
.btn--small {
  white-space: nowrap;
}
@media (max-width: 36em) {
  .site-head .btn--small {
    display: none;
  }
  .site-head .acct__pop .btn--small { display: inline-flex; }
}

/* Buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 1.35em;
  border: 2px solid transparent;
  border-radius: 10px;
  font: 700 1rem/1.2 var(--font);
  text-decoration: none;
  transition: background-color 0.15s, color 0.15s;
}
.btn--primary {
  background: var(--ink);
  color: var(--chalk);
}
.btn--primary:hover {
  background: var(--brass);
  color: #fff;
}
.btn--small {
  padding: 0.6em 1em;
  font-size: 0.95rem;
}
.btn--light {
  background: var(--chalk);
  color: var(--ink);
}
.btn--light:hover {
  background: var(--brass-soft);
}
.textlink {
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
  text-decoration-color: var(--brass);
}
.textlink:hover {
  color: var(--brass);
}

/* Hero */
.hero {
  padding-block: clamp(40px, 7vw, 96px) clamp(72px, 10vw, 128px);
  overflow-x: clip;
}
.hero__grid {
  display: grid;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}
@media (min-width: 60em) {
  .hero__grid {
    grid-template-columns: 7fr 5fr;
  }
}
.hero h1 {
  font-size: clamp(2.75rem, 2rem + 5.2vw, 5.25rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__lead {
  margin-top: clamp(20px, 3vw, 32px);
  max-width: 34em;
  font-size: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  line-height: 1.45;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: clamp(28px, 4vw, 40px);
}
.hero__note {
  margin-top: 20px;
  max-width: 34em;
  color: var(--slate);
  font-size: 0.95rem;
}
.hero__board {
  width: 100%;
  max-width: 520px;
  margin-inline: auto;
}
@media (min-width: 60em) {
  .hero__board {
    justify-self: end;
  }
}

/* The board: five tiles that assemble into one system */
.board {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}
.tile__bg {
  fill: var(--paper);
  stroke: var(--line);
  stroke-width: 1;
}
.tile__label {
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  fill: var(--ink);
}
.glyph {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile .glyph {
  color: var(--brass);
}
.bar {
  fill: var(--line);
}
.bar--soft {
  fill: #e7e9e2;
}
.dot {
  fill: var(--brass-soft);
}
.chip {
  fill: var(--brass-soft);
}
.file {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}
.file--hot {
  fill: var(--brass-soft);
  stroke: var(--brass-soft);
}
.track {
  fill: var(--line);
}
.track--on {
  fill: var(--brass);
}
.knob {
  fill: var(--paper);
}
.sign {
  fill: none;
  stroke: var(--brass);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.tile--ink .tile__bg {
  fill: var(--ink);
  stroke: var(--ink);
}
.tile--ink .tile__label {
  fill: var(--chalk);
}
.tile--ink .glyph {
  color: var(--brass-light);
}
.bubble {
  fill: rgba(255, 255, 255, 0.16);
}
.bubble--reply {
  fill: var(--brass-soft);
}
.seam {
  fill: none;
  stroke: var(--brass);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.joint {
  fill: var(--brass);
}

/* Before the animation starts (only when scripting is available) */
.js .board .tile,
.js .board .joint {
  opacity: 0;
}
.js .board .seam {
  stroke-dashoffset: 1;
}
.js .steps__line {
  transform: scaleY(0);
}

/* Sections */
.section {
  padding-block: clamp(72px, 10vw, 128px);
}
.section--paper {
  background: var(--paper);
}
.split {
  display: grid;
  gap: clamp(32px, 6vw, 96px);
}
@media (min-width: 60em) {
  .split {
    grid-template-columns: 5fr 7fr;
    align-items: start;
  }
  .split__head {
    position: sticky;
    top: 32px;
  }
}
h2 {
  font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3.1rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
h3 {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.sub {
  margin-top: 18px;
  max-width: 28em;
  color: var(--slate);
}

/* Modules */
.mods {
  display: grid;
  gap: clamp(28px, 4vw, 44px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mod {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
}
.mod__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--brass);
}
.mod--assistant .mod__icon {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--brass-light);
}
.mod p {
  margin-top: 6px;
  max-width: 34em;
  color: var(--slate);
}

/* Own domain */
.mock {
  display: block;
  width: 100%;
  height: auto;
}
.mock__win {
  fill: var(--chalk);
  stroke: var(--line);
}
.mock__bar {
  fill: var(--paper);
  stroke: var(--line);
}
.mock__lock {
  color: var(--brass);
}
.mock__url {
  font-family: var(--font);
  font-weight: 700;
  font-size: 17px;
  fill: var(--ink);
}
.mock__side,
.mock__card {
  fill: var(--paper);
  stroke: var(--line);
}
.mock__name {
  font-family: var(--font);
  font-weight: 700;
  font-size: 15px;
  fill: var(--ink);
}
.copy p + p {
  margin-top: 16px;
}
.copy p {
  max-width: 32em;
}

/* Security */
.points {
  display: grid;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.points p {
  margin-top: 6px;
  max-width: 32em;
  color: var(--slate);
}

/* Steps: a real sequence, so numbered */
.steps {
  --steps-gap: clamp(28px, 4vw, 44px);
  display: grid;
  gap: var(--steps-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li {
  position: relative;
  min-height: 56px;
  padding-left: 76px;
}
.steps li:not(:last-child)::before,
.steps__line {
  content: "";
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: calc(-1 * var(--steps-gap));
  width: 2px;
}
.steps li:not(:last-child)::before {
  background: var(--line);
}
.steps__line {
  background: var(--brass);
  transform-origin: top center;
}
.steps__n {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  background: var(--paper);
  border: 2px solid var(--brass);
  border-radius: 50%;
  color: var(--brass);
  font-size: 1.3rem;
  font-weight: 700;
}
.steps p {
  margin-top: 6px;
  max-width: 32em;
  color: var(--slate);
}

/* Closing band and footer */
.close {
  padding-block: clamp(72px, 10vw, 120px) 40px;
  background: var(--ink);
  color: var(--chalk);
}
.close__grid {
  display: grid;
  gap: 32px;
}
@media (min-width: 60em) {
  .close__grid {
    grid-template-columns: 7fr 5fr;
    align-items: end;
  }
}
.close p {
  margin-top: 18px;
  max-width: 30em;
  color: var(--on-ink);
}
.close :focus-visible {
  outline-color: var(--brass-light);
}
.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  margin-top: clamp(64px, 9vw, 112px);
  padding-top: 28px;
  border-top: 1px solid rgba(242, 243, 239, 0.18);
  color: var(--on-ink);
  font-size: 0.95rem;
}
.foot a {
  color: inherit;
}
.foot a:hover {
  color: #fff;
}
.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot__brand {
  color: var(--chalk);
  font-weight: 700;
}
/* Footer-only band on the legal pages */
.close--slim {
  padding-block: 40px;
}
.close--slim .foot {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

/* Legal pages and 404 */
.doc {
  padding-block: clamp(32px, 6vw, 72px) clamp(72px, 10vw, 120px);
}
.doc__body {
  max-width: 44rem;
}
.doc h1 {
  font-size: clamp(2.2rem, 1.6rem + 3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.doc h2 {
  margin-top: 2.2em;
  font-size: 1.5rem;
  line-height: 1.15;
}
.doc p,
.doc ul {
  margin-top: 0.9em;
}
.doc ul {
  padding-left: 1.2em;
}
.doc li + li {
  margin-top: 0.4em;
}
.doc__meta {
  margin-top: 14px;
  color: var(--slate);
}
.draft-note {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--brass-soft);
  border-left: 4px solid var(--brass);
  border-radius: 4px;
}
.todo {
  background: var(--brass-soft);
  padding: 0 0.3em;
  border-radius: 4px;
}

/* Visually hidden text for screen readers */
.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Feature tour: a globe of hexagons. Without JS (or with reduced motion) it is a plain list of cards. */
.tour {
  background: var(--paper);
  padding-top: clamp(72px, 10vw, 128px);
}
.tour__head {
  padding-bottom: clamp(32px, 5vw, 56px);
}
.tour__globe {
  display: none;
}
.tour__panels {
  display: grid;
  gap: 20px;
  padding-bottom: clamp(72px, 10vw, 128px);
}
.tour__grid {
  display: block;
}
.panel {
  display: grid;
  gap: 20px;
  padding: 20px;
  background: var(--chalk);
  border-radius: var(--radius);
}
.panel__media {
  border-radius: 12px;
  overflow: hidden;
}
.hs svg.mock-svg {
  display: block;
  width: 100%;
  height: 100%;
}
.panel__count {
  color: var(--slate);
  font-size: 0.95rem;
}
.panel h3 {
  margin-top: 6px;
}
.panel__text p + p,
.panel__text h3 + p {
  margin-top: 10px;
}
.panel .btn {
  margin-top: 20px;
}
@media (min-width: 52em) {
  .panel {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 36px;
    padding: 28px;
  }
}

/* Honeycomb mode: the page is pinned while you scroll through the 18 features */
.globe-on .tour__track {
  height: calc(var(--steps, 18) * 58vh + 100vh - 66px);
  height: calc(var(--steps, 18) * 58svh + 100svh - 66px);
}
.globe-on .tour__stage {
  position: sticky;
  top: 66px;
  height: calc(100vh - 66px);
  height: calc(100svh - 66px);
  display: flex;
  align-items: center;
}
.globe-on .tour__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 34%) minmax(0, 1fr);
  gap: 6px;
  height: 100%;
  padding-block: 10px;
}
.globe-on .tour__globe {
  display: block;
  min-height: 0;
}
.globe-on .tour__canvas {
  display: block;
  width: 100%;
  height: 100%;
}
.globe-on .tour__panels {
  position: relative;
  display: block;
  padding-bottom: 0;
  min-height: 0;
}
.globe-on .panel {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto auto;
  align-content: start;
  gap: 10px;
  padding: 0;
  background: none;
  contain: layout style;
  visibility: hidden;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.globe-on .panel.is-active {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease 0.1s, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s, visibility 0s;
}
.globe-on .panel__media {
  width: min(100%, calc(27svh * 1.5));
  margin-inline: auto;
  background: none;
  overflow: visible;
}
.globe-on .panel .mock-svg > * {
  animation: none !important;
}
.globe-on .panel__text .panel__count { font-size: 0.85rem; }
.globe-on .panel__text h3 { font-size: 1.25rem; }
.globe-on .panel__text p { font-size: 0.95rem; }
.globe-on .panel .btn { margin-top: 12px; }
@media (min-width: 52em) {
  .globe-on .tour__grid {
    display: block;
    width: min(100% - 2 * var(--gutter), 1400px);
    padding-block: 0;
  }
  .globe-on .tour__globe {
    position: absolute;
    left: 0;
    top: 3%;
    width: 34%;
    height: 56%;
  }
  .globe-on .tour__panels {
    position: absolute;
    inset: 0;
    pointer-events: none;
  }
  .globe-on .panel {
    grid-template-columns: 34% minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-content: stretch;
    column-gap: 3%;
    gap: 0 3%;
  }
  .globe-on .panel__media {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    width: min(100%, calc((100svh - 230px) * 1.5));
    margin-inline: auto 0;
    pointer-events: auto;
  }
  .globe-on .panel__text {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
    padding-bottom: clamp(24px, 7svh, 72px);
    max-width: 30em;
    pointer-events: auto;
  }
  .globe-on .panel__text .panel__count { font-size: 0.95rem; }
  .globe-on .panel__text h3 { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); }
  .globe-on .panel__text p { font-size: 1rem; }
  .globe-on .panel .btn { margin-top: 18px; }
}

/* Feature pages */
.feature {
  padding-block: clamp(32px, 6vw, 72px) clamp(72px, 10vw, 128px);
}
.crumbs {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 28px;
}
.crumbs a {
  text-decoration-thickness: 2px;
}
.feature h1 {
  font-size: clamp(2.2rem, 1.5rem + 3.4vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  text-wrap: balance;
}
.feature__lead {
  margin-top: 20px;
  max-width: 30em;
  color: var(--slate);
}
.feature__top {
  display: grid;
  gap: 36px;
  align-items: center;
}
.feature__top .btn {
  margin-top: 28px;
}
.feature__media {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 12px;
  border: 1px solid var(--line);
}
.feature__points {
  list-style: none;
  padding: 0;
  margin-top: clamp(48px, 8vw, 96px);
  display: grid;
  gap: 28px;
}
.feature__points h2 {
  font-size: 1.35rem;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.feature__points p {
  margin-top: 8px;
  color: var(--slate);
}
.feature__nav {
  margin-top: clamp(48px, 8vw, 96px);
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
}
.feature__nav a {
  text-decoration: none;
  font-weight: 700;
}
.feature__nav a:hover {
  color: var(--brass);
}
.feature__nav span {
  display: block;
  color: var(--slate);
  font-weight: 400;
  font-size: 0.95rem;
}
.feature__list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  gap: 12px;
}
.feature__list a {
  display: block;
  padding: 18px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
}
.feature__list a:hover {
  border-color: var(--brass);
}
.feature__list span {
  display: block;
  margin-top: 4px;
  color: var(--slate);
}
@media (min-width: 52em) {
  .feature__top {
    grid-template-columns: 1fr 1.1fr;
    gap: 64px;
  }
  .feature__points {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
  }
}

/* Pictures: a mockup or a real screenshot, with callouts on top */
.hs {
  position: relative;
  width: 100%;
  padding-top: var(--zone, 0px);
  --rx: 0deg;
  --ry: 0deg;
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.25s ease-out;
}
.hs__pic {
  position: relative;
  aspect-ratio: 3 / 2;
}
.shot {
  margin: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.shot__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: var(--chalk);
  border-bottom: 1px solid var(--line);
  flex: none;
}
.shot__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--line);
}
.shot__bar span {
  margin-left: 10px;
  padding: 2px 12px;
  border-radius: 999px;
  background: var(--paper);
  color: var(--slate);
  font-size: 0.72rem;
}
.shot__view {
  flex: 1;
  min-height: 0;
  overflow: hidden;
}
.shot__view img {
  display: block;
  width: 100%;
  height: auto;
  transform: translateY(calc(var(--over, 0px) * -1 * var(--lp, 0)));
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 58, 58, 0.5); }
  100% { box-shadow: 0 0 0 12px rgba(217, 58, 58, 0); }
}

/* Motion (only when the visitor has not asked for less) */

.globe-on .panel.is-active .hs {
  --ry: 0deg;
  --rx: 0deg;
  transition: none;
}

.motion .feature__media {
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion .feature__media.is-in {
  opacity: 1;
  transform: none;
}
.motion .feature__points li {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.motion .feature__points li.is-in {
  opacity: 1;
  transform: none;
}
.motion .feature__points li:nth-child(2) { transition-delay: 0.08s; }
.motion .feature__points li:nth-child(3) { transition-delay: 0.16s; }
.motion .feature__points li:nth-child(4) { transition-delay: 0.08s; }
.motion .feature__points li:nth-child(5) { transition-delay: 0.16s; }
.motion .feature__points li:nth-child(6) { transition-delay: 0.24s; }

/* Feature pages: steps, hexagon points, related, closing band */

.flow { margin-top: clamp(48px, 8vw, 96px); }
.flow > h2, .related > h2 { font-size: 1.6rem; letter-spacing: -0.015em; line-height: 1.15; }
.flow__steps { list-style: none; padding: 0; margin-top: 28px; display: grid; gap: 16px; counter-reset: s; }
.flow__steps li { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 22px 24px; }
.flow__n { display: grid; place-items: center; width: 40px; height: 44px; margin-bottom: 14px; background: var(--brass); color: #fff; font-weight: 700; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.flow__steps h3 { font-size: 1.15rem; line-height: 1.2; }
.flow__steps p { margin-top: 6px; color: var(--slate); }
.feature__points li { position: relative; padding-left: 40px; }
.hexa { position: absolute; left: 0; top: 4px; width: 22px; height: 24px; background: var(--soft); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.hexa::after { content: ""; position: absolute; inset: 6px; background: var(--brass); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.related { margin-top: clamp(48px, 8vw, 96px); }
.related__list { list-style: none; padding: 0; margin-top: 24px; display: grid; gap: 12px; }
.related__list a { display: block; height: 100%; padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
.related__list a:hover { border-color: var(--brass); }
.related__list span { display: block; margin-top: 4px; color: var(--slate); font-size: 0.95rem; }
.band { margin-top: clamp(48px, 8vw, 96px); padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: var(--ink); color: #fff; display: grid; gap: 20px; align-items: center; }
.band h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); line-height: 1.15; letter-spacing: -0.015em; text-wrap: balance; }
.band p { margin-top: 8px; color: #c9ced6; max-width: 34em; }
@media (min-width: 52em) {
  .flow__steps, .related__list { grid-template-columns: repeat(3, 1fr); }
  .band { grid-template-columns: 1fr auto; gap: 40px; }
}
.motion .flow__steps li, .motion .related__list li { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.motion .flow__steps li.is-in, .motion .related__list li.is-in { opacity: 1; transform: none; }
.motion .flow__steps li:nth-child(2) { transition-delay: .1s; }
.motion .flow__steps li:nth-child(3) { transition-delay: .2s; }

/* Callouts: red frame, a line up, a short note above the picture */
.hs { --lift: 14px; --hot: #d93a3a; --zone: 128px; }
.motion .hs { --zone: 70px; }
.hs svg.mock-svg { border-radius: 12px; }
.hot { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hot--b { --lift: 78px; }
.motion .hot--b { --lift: 14px; }
.hot__box { position: absolute; border: 2px solid var(--hot); border-radius: 8px; background: rgba(217, 58, 58, 0.07); }
.hot__lead { position: absolute; width: 2px; margin-left: -1px; background: var(--hot); }
.hot__tag { position: absolute; width: max-content; max-width: min(230px, 62vw); padding: 6px 10px 7px; border-radius: 10px; background: #fff; border: 1.5px solid var(--hot); color: var(--slate); font-size: 0.74rem; line-height: 1.3; box-shadow: 0 6px 18px rgba(23, 32, 43, 0.2); transform: translate(-50%, -100%); }
.hot__tag strong { display: block; color: var(--ink); font-size: 0.8rem; line-height: 1.25; }
.hot--ls .hot__tag { transform: translate(-10px, -100%); }
.hot--rs .hot__tag { transform: translate(calc(-100% + 10px), -100%); }
.motion .hot { opacity: 0; transition: opacity 0.4s ease; }
.motion .hot.is-on { opacity: 1; }
.motion .hot__lead { transform: scaleY(0); transform-origin: bottom; transition: transform 0.45s ease 0.1s; }
.motion .hot.is-on .hot__lead { transform: scaleY(1); }
@media (max-width: 40em) {
  .globe-on .hs { --zone: 0px; }
  .globe-on .hot { display: none; }
  .hot__tag { font-size: 0.7rem; max-width: 180px; }
}

/* Clickable pictures */
.is-off { display: none; }
svg.mock-svg .hit { cursor: pointer; outline: none; }
svg.mock-svg .hb { fill: transparent; stroke: transparent; stroke-width: 1.5; transition: fill 0.15s, stroke 0.15s; }
svg.mock-svg .hit:hover > .hb { fill: rgba(201, 160, 87, 0.1); stroke: rgba(201, 160, 87, 0.7); }
svg.mock-svg .hit:focus-visible > .hb { stroke: #f2f4f7; stroke-width: 2; fill: rgba(201, 160, 87, 0.12); }
svg.mock-svg .hit.is-sel > .hb { stroke: #d1a85c; fill: rgba(209, 168, 92, 0.12); }
svg.mock-svg .tab.is-sel .tt { fill: #0e1218; }
svg.mock-svg .tab.is-sel .tb { fill: #f2f4f7; stroke: #f2f4f7; }
svg.mock-svg .tg .tg-bg { fill: #2a3140; transition: fill 0.2s; }
svg.mock-svg .tg .tg-knob { fill: #8c96a8; transition: transform 0.2s, fill 0.2s; }
svg.mock-svg .tg.is-on .tg-bg { fill: #d1a85c; }
svg.mock-svg .tg.is-on .tg-knob { fill: #1a1405; transform: translateX(14px); }
svg.mock-svg .tg:hover > .hb { fill: transparent; stroke: transparent; }
svg.mock-svg .star .star-t { fill: #2a3140; transition: fill 0.15s; }
svg.mock-svg .star.is-on .star-t { fill: #d1a85c; }
svg.mock-svg .tool.is-on .hb { stroke: #d1a85c; fill: rgba(201, 160, 87, 0.18); }
svg.mock-svg .portal.is-on .pbg { fill: #d1a85c; stroke: #d1a85c; }
svg.mock-svg .portal .p-on, svg.mock-svg .portal:not(.is-on) .p-on { display: none; }
svg.mock-svg .portal.is-on .p-off { display: none; }
svg.mock-svg .portal.is-on .p-on { display: block; }
svg.mock-svg .confirm .ck { opacity: 0; }
svg.mock-svg .confirm.is-on .ck { opacity: 1; }
svg.mock-svg .confirm .c-on, svg.mock-svg .confirm:not(.is-on) .c-on { display: none; }
svg.mock-svg .confirm.is-on .c-off { display: none; }
svg.mock-svg .confirm.is-on .c-on { display: block; }
svg.mock-svg .confirm.is-on > rect:first-of-type { fill: #3a2f18; stroke: #d1a85c; }
svg.mock-svg .st .sc { fill: #1b212c; stroke: #2a3140; transition: fill 0.2s; }
svg.mock-svg .st.is-done .sc { fill: #d1a85c; stroke: #d1a85c; }
svg.mock-svg .st.is-cur .sc { fill: #1b212c; stroke: #d1a85c; }
svg.mock-svg .st .sk { display: none; }
svg.mock-svg .st.is-done .sk { display: block; }
svg.mock-svg .st.is-done .sn { display: none; }
svg.mock-svg .st .sn { fill: #8c96a8; }
svg.mock-svg .st.is-cur .sn { fill: #d1a85c; }
svg.mock-svg .st.is-cur .sl { fill: #f2f4f7; font-weight: 700; }
svg.mock-svg .cn { fill: #2a3140; }
svg.mock-svg .cn.is-done { fill: #d1a85c; }
svg.mock-svg .ob .ck { opacity: 0; }
svg.mock-svg .ob.is-on .ck { opacity: 1; }
svg.mock-svg .ob.is-on .cb { fill: #d1a85c; stroke: #d1a85c; }
svg.mock-svg .ob.is-on .ob-t { fill: #8c96a8; }
svg.mock-svg .opt .ck { opacity: 0; }
svg.mock-svg .opt.is-on .ck, svg.mock-svg .opt.is-sel .ck { opacity: 1; }
svg.mock-svg .opt.is-on .cb, svg.mock-svg .opt.is-sel .cb { stroke: #d1a85c; }
svg.mock-svg .opt.is-sel > .hb { fill: transparent; stroke: transparent; }
svg.mock-svg .rate.is-on .rate-t { fill: #d1a85c; }
svg.mock-svg .rate.is-sel > .hb { fill: transparent; stroke: transparent; }
svg.mock-svg .legend.is-dim { opacity: 0.4; }
svg.mock-svg.hide-gold .ev-gold, svg.mock-svg.hide-blue .ev-blue, svg.mock-svg.hide-green .ev-green { display: none; }
svg.mock-svg .bar { transition: fill 0.2s; }
svg.mock-svg .bar.is-played { fill: #d1a85c; }
svg.mock-svg .pad { cursor: crosshair; }
svg.mock-svg .pad--draw { touch-action: none; cursor: crosshair; }
svg.mock-svg .barh:hover > .hb { fill: rgba(242, 244, 247, 0.12); stroke: transparent; }
svg.mock-svg .demo-in { display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; color: #f2f4f7; font: 400 11px "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif; outline: none; box-sizing: border-box; }
svg.mock-svg .demo-in--lg { font-size: 13px; font-weight: 700; }
svg.mock-svg .demo-in::placeholder { color: #8c96a8; opacity: 1; }
svg.mock-svg .demo-in:focus { box-shadow: 0 1px 0 #d1a85c; }
svg.mock-svg .toast { pointer-events: none; }
svg.mock-svg .modal .dim { cursor: default; }

/* The picture builds itself, like an app that is loading */
@keyframes uiin {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.motion .panel.is-active .mock-svg > :not(.modal):not(.toast):not(:first-child),
.motion .feature__media.is-in .mock-svg > :not(.modal):not(.toast):not(:first-child),
.motion .demo__stage .mock-svg > :not(.modal):not(.toast):not(:first-child) {
  animation: uiin 0.5s ease both;
}
.motion .panel.is-active .mock-svg > :nth-child(3), .motion .feature__media.is-in .mock-svg > :nth-child(3), .motion .demo__stage .mock-svg > :nth-child(3) { animation-delay: 0.03s; }
.motion .panel.is-active .mock-svg > :nth-child(4), .motion .feature__media.is-in .mock-svg > :nth-child(4), .motion .demo__stage .mock-svg > :nth-child(4) { animation-delay: 0.06s; }
.motion .panel.is-active .mock-svg > :nth-child(5), .motion .feature__media.is-in .mock-svg > :nth-child(5), .motion .demo__stage .mock-svg > :nth-child(5) { animation-delay: 0.09s; }
.motion .panel.is-active .mock-svg > :nth-child(6), .motion .feature__media.is-in .mock-svg > :nth-child(6), .motion .demo__stage .mock-svg > :nth-child(6) { animation-delay: 0.12s; }
.motion .panel.is-active .mock-svg > :nth-child(7), .motion .feature__media.is-in .mock-svg > :nth-child(7), .motion .demo__stage .mock-svg > :nth-child(7) { animation-delay: 0.15s; }
.motion .panel.is-active .mock-svg > :nth-child(8), .motion .feature__media.is-in .mock-svg > :nth-child(8), .motion .demo__stage .mock-svg > :nth-child(8) { animation-delay: 0.18s; }
.motion .panel.is-active .mock-svg > :nth-child(9), .motion .feature__media.is-in .mock-svg > :nth-child(9), .motion .demo__stage .mock-svg > :nth-child(9) { animation-delay: 0.21s; }
.motion .panel.is-active .mock-svg > :nth-child(10), .motion .feature__media.is-in .mock-svg > :nth-child(10), .motion .demo__stage .mock-svg > :nth-child(10) { animation-delay: 0.24s; }
.motion .panel.is-active .mock-svg > :nth-child(11), .motion .feature__media.is-in .mock-svg > :nth-child(11), .motion .demo__stage .mock-svg > :nth-child(11) { animation-delay: 0.27s; }
.motion .panel.is-active .mock-svg > :nth-child(12), .motion .feature__media.is-in .mock-svg > :nth-child(12), .motion .demo__stage .mock-svg > :nth-child(12) { animation-delay: 0.3s; }
.motion .panel.is-active .mock-svg > :nth-child(13), .motion .feature__media.is-in .mock-svg > :nth-child(13), .motion .demo__stage .mock-svg > :nth-child(13) { animation-delay: 0.33s; }
.motion .panel.is-active .mock-svg > :nth-child(14), .motion .feature__media.is-in .mock-svg > :nth-child(14), .motion .demo__stage .mock-svg > :nth-child(14) { animation-delay: 0.36s; }
.motion .panel.is-active .mock-svg > :nth-child(15), .motion .feature__media.is-in .mock-svg > :nth-child(15), .motion .demo__stage .mock-svg > :nth-child(15) { animation-delay: 0.39s; }
.motion .panel.is-active .mock-svg > :nth-child(16), .motion .feature__media.is-in .mock-svg > :nth-child(16), .motion .demo__stage .mock-svg > :nth-child(16) { animation-delay: 0.42s; }
.motion .panel.is-active .mock-svg > :nth-child(17), .motion .feature__media.is-in .mock-svg > :nth-child(17), .motion .demo__stage .mock-svg > :nth-child(17) { animation-delay: 0.45s; }
.motion .panel.is-active .mock-svg > :nth-child(18), .motion .feature__media.is-in .mock-svg > :nth-child(18), .motion .demo__stage .mock-svg > :nth-child(18) { animation-delay: 0.48s; }
.motion .panel.is-active .mock-svg > :nth-child(19), .motion .feature__media.is-in .mock-svg > :nth-child(19), .motion .demo__stage .mock-svg > :nth-child(19) { animation-delay: 0.51s; }
.motion .panel.is-active .mock-svg > :nth-child(20), .motion .feature__media.is-in .mock-svg > :nth-child(20), .motion .demo__stage .mock-svg > :nth-child(20) { animation-delay: 0.54s; }
.motion .panel.is-active .mock-svg > :nth-child(21), .motion .feature__media.is-in .mock-svg > :nth-child(21), .motion .demo__stage .mock-svg > :nth-child(21) { animation-delay: 0.57s; }
.motion .panel.is-active .mock-svg > :nth-child(22), .motion .feature__media.is-in .mock-svg > :nth-child(22), .motion .demo__stage .mock-svg > :nth-child(22) { animation-delay: 0.6s; }
.motion .panel.is-active .mock-svg > :nth-child(23), .motion .feature__media.is-in .mock-svg > :nth-child(23), .motion .demo__stage .mock-svg > :nth-child(23) { animation-delay: 0.63s; }
.motion .panel.is-active .mock-svg > :nth-child(24), .motion .feature__media.is-in .mock-svg > :nth-child(24), .motion .demo__stage .mock-svg > :nth-child(24) { animation-delay: 0.66s; }
.motion .panel.is-active .mock-svg > :nth-child(25), .motion .feature__media.is-in .mock-svg > :nth-child(25), .motion .demo__stage .mock-svg > :nth-child(25) { animation-delay: 0.69s; }
.motion .panel.is-active .mock-svg > :nth-child(26), .motion .feature__media.is-in .mock-svg > :nth-child(26), .motion .demo__stage .mock-svg > :nth-child(26) { animation-delay: 0.72s; }
.motion .panel.is-active .mock-svg > :nth-child(27), .motion .feature__media.is-in .mock-svg > :nth-child(27), .motion .demo__stage .mock-svg > :nth-child(27) { animation-delay: 0.75s; }
.motion .panel.is-active .mock-svg > :nth-child(28), .motion .feature__media.is-in .mock-svg > :nth-child(28), .motion .demo__stage .mock-svg > :nth-child(28) { animation-delay: 0.78s; }
.motion .panel.is-active .mock-svg > :nth-child(29), .motion .feature__media.is-in .mock-svg > :nth-child(29), .motion .demo__stage .mock-svg > :nth-child(29) { animation-delay: 0.81s; }
.motion .panel.is-active .mock-svg > :nth-child(30), .motion .feature__media.is-in .mock-svg > :nth-child(30), .motion .demo__stage .mock-svg > :nth-child(30) { animation-delay: 0.84s; }

/* Hint on the pictures */
.hs__try { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px 2px; color: var(--slate); font-size: 0.92rem; font-weight: 700; transition: opacity 0.3s ease; }
.hs__try i { display: none; }
.motion .hs__try i { display: none; }
.hsw:has(.hs.is-used) .hs__try { opacity: 0; }
@media (max-width: 40em) { .hs__try { font-size: 0.8rem; margin-bottom: 6px; } }


/* Before / after */
.story { padding-block: clamp(64px, 9vw, 112px); }
.story .sub { max-width: 34em; margin-top: 14px; }
.story__switch { display: inline-flex; margin-top: 28px; padding: 4px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; }
.story__btn { font: inherit; font-weight: 700; padding: 9px 18px; border: 0; border-radius: 999px; background: transparent; color: var(--slate); cursor: pointer; }
.story__btn.is-on { background: var(--ink); color: #fff; }
.story__btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.story__stage { position: relative; margin-top: 28px; }
.sg { container-type: inline-size; }
.sg__in { --R: min(12.5cqw, 78px); --sx: 1; position: relative; height: calc(var(--R) * 8); margin-top: 8px; }
@container (min-width: 700px) { .sg__in { --sx: 2.5; } }
.sg__cells { list-style: none; margin: 0; padding: 0; position: absolute; inset: 0; }
.sg__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; transition: opacity 0.5s; }
.sg__lines path { fill: none; stroke: var(--brass); stroke-width: 1.5; stroke-dasharray: 3 7; stroke-linecap: round; opacity: 0.7; animation: sgflow 1.6s linear infinite; }
@keyframes sgflow { to { stroke-dashoffset: -20; } }
.sg[data-state="after"] .sg__lines { opacity: 0; }
.sg__c { position: absolute; left: 50%; top: 50%; width: calc(var(--R) * 1.732); height: calc(var(--R) * 2); margin: calc(var(--R) * -1) 0 0 calc(var(--R) * -0.866); color: var(--ink);
  background: var(--brass); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%);
  translate: calc(var(--bx) * var(--sx) * var(--R)) calc(var(--by) * var(--R)); rotate: var(--r);
  animation: sgbob var(--f, 6s) ease-in-out infinite alternate; }
.sg__c::before { content: ""; position: absolute; inset: 2px; background: var(--paper); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sg__t { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 2px; padding: 0 10%; }
.sg__t b { font-size: max(10px, calc(var(--R) * 0.215)); line-height: 1.12; font-weight: 700; }
.sg__t i { font-style: normal; font-size: max(9px, calc(var(--R) * 0.18)); color: var(--slate); }
.sg__k::before { content: ""; display: inline-block; width: 0.6em; height: 0.6em; margin-right: 0.4em; border-radius: 50%; border: 2px solid var(--brass); vertical-align: -1px; }
.sg__a { position: absolute; inset: 0; display: grid; place-content: center; opacity: 0; }
.sg__c--core { translate: 0 0; rotate: 0deg; scale: 0; opacity: 0; animation: none; background: linear-gradient(145deg, #e3c377, #b88a3a); }
.sg__c--core::before { background: linear-gradient(160deg, #2a2113, #14181f); }
.sg__c--core .sg__t { color: #f6e7bf; }
.sg__c--core .sg__t i { color: #e3c377; }
.sg__key { width: calc(var(--R) * 0.5); height: calc(var(--R) * 0.5); color: #e3c377; margin-bottom: 2px; }
.sg[data-state="after"] .sg__cells { filter: drop-shadow(0 0 calc(var(--R) * 0.3) rgba(201, 160, 87, 0.4)); }
.sg[data-state="after"] .sg__c:not(.sg__c--core) { translate: calc(var(--ax) * var(--R)) calc(var(--ay) * var(--R)); rotate: 0deg; animation: none; }
.sg[data-state="after"] .sg__c--core { scale: 1; opacity: 1; }
.sg[data-state="after"] .sg__b, .sg[data-state="after"] .sg__k { opacity: 0; }
.sg[data-state="after"] .sg__a { opacity: 1; }
.sg__count { margin: 6px 0 0; text-align: center; color: var(--slate); font-weight: 600; }
.sg__num { font-size: 2.2rem; color: var(--ink); display: inline-block; min-width: 0.7em; font-variant-numeric: tabular-nums; }
.sg__w--one, .sg[data-state="after"] .sg__w--many { display: none; }
.sg[data-state="after"] .sg__w--one { display: inline; }
@keyframes sgbob { from { transform: translateY(-5px); } to { transform: translateY(6px); } }
.motion .sg__c { transition: translate 1s cubic-bezier(.65, 0, .2, 1) var(--d, 0ms), rotate 0.8s ease var(--d, 0ms), scale 0.8s cubic-bezier(.2, 1.3, .4, 1) 0.7s, opacity 0.5s ease 0.7s; }
.motion .sg__b, .motion .sg__k, .motion .sg__a { transition: opacity 0.45s ease 0.35s; }
.motion .sg__cells { transition: filter 0.8s ease 0.9s; }
@media (prefers-reduced-motion: reduce) { .sg__c, .sg__lines path { animation: none; } }

/* Up and down buttons */
.pager { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: flex; flex-direction: column; gap: 8px; }
.pager__btn { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); box-shadow: 0 6px 18px rgba(23, 32, 43, 0.16); cursor: pointer; transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s; }
.pager__btn:hover { background: var(--ink); color: #fff; }
.pager__btn:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.pager__btn.is-hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }
@media print { .pager { display: none; } }

/* Demo page */
.demo { display: grid; gap: 28px; margin-top: 40px; }
.demo__nav ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.demo__group { margin-top: 14px; color: var(--slate); font-size: 0.85rem; font-weight: 700; }
.demo__group:first-child { margin-top: 0; }
.demo__nav button { font: inherit; font-weight: 700; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; }
.demo__nav button:hover { border-color: var(--brass); }
.demo__nav button.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.demo__nav button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.demo__media { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.demo__stage h2 { margin-top: 22px; font-size: 1.5rem; }
.demo__stage p { margin-top: 8px; color: var(--slate); max-width: 36em; }
.demo__stage .btn { margin-top: 18px; }
@media (min-width: 62em) {
  .demo { grid-template-columns: 230px minmax(0, 1fr); gap: 40px; }
  .demo__nav ul { flex-direction: column; flex-wrap: nowrap; gap: 2px; }
  .demo__nav button { width: 100%; text-align: left; border-radius: 10px; border-color: transparent; background: transparent; }
  .demo__nav button.is-on { background: var(--ink); }
}

/* Data page */
.data { margin-top: 28px; display: grid; gap: 14px; }
.data__item { padding: 18px 20px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.data dt { font-weight: 700; font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.data dd { margin: 6px 0 0; color: var(--slate); }
.status { font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); }
.status--done { background: #e3f1e8; border-color: #9fcfb0; color: #1f5a37; }
.status--wip { background: var(--brass-soft); border-color: var(--light, #e3c377); color: var(--brass); }
.status--plan { background: var(--chalk); color: var(--slate); }

/* Early access form */
.form { margin-top: 32px; display: grid; gap: 18px; max-width: 34rem; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; }
.opt { font-weight: 400; color: var(--slate); }
.field input, .field select, .field textarea { font: inherit; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); color: var(--ink); width: 100%; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible, .check input:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.field--half { display: inline-grid; }
.check { display: flex; gap: 10px; align-items: flex-start; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.form__hint { color: var(--slate); font-size: 0.95rem; margin: 0; }
.form .btn { justify-self: start; }
@media (min-width: 40em) {
  .form { grid-template-columns: 1fr 1fr; }
  .form .field, .form .check, .form .btn, .form .form__hint, .form .draft-note { grid-column: 1 / -1; }
  .form .field--half { grid-column: auto; }
}


/* Callouts, version 2: a gold viewfinder slides over the picture and dims the rest, a dark note sits above it */
.hs { --hot: #e3c377; }
.hot__box { border: 1.5px solid #e3c377; background: transparent; border-radius: 6px; }
.hot__lead { width: 1px; margin-left: -0.5px; background: #e3c377; }
.hot__lead::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: #e3c377; }
.hot__tag { position: absolute; padding: 7px 11px 8px; border: 0; border-left: 2px solid #e3c377; border-radius: 4px; background: #10151d; color: #aab3c0; box-shadow: 0 8px 20px rgba(8, 10, 14, 0.3); }
.hot__tag strong { color: #f2f3ef; }
.motion .hot.is-on .hot__box { animation: none; }
.motion .hot__box { opacity: 0; }
.veil { position: absolute; inset: 0; z-index: 2; overflow: hidden; border-radius: 12px; pointer-events: none; display: none; }
.motion .veil { display: block; }
.lens { position: absolute; left: 0; top: 0; width: 0; height: 0; opacity: 0; border-radius: 9px;
  box-shadow: 0 0 0 100vmax rgba(7, 9, 13, 0.56), inset 0 0 0 1.5px rgba(227, 195, 119, 0.85), 0 0 30px rgba(227, 195, 119, 0.4);
  transition: left 0.8s cubic-bezier(0.65, 0, 0.2, 1), top 0.8s cubic-bezier(0.65, 0, 0.2, 1), width 0.8s cubic-bezier(0.65, 0, 0.2, 1), height 0.8s cubic-bezier(0.65, 0, 0.2, 1), opacity 0.5s ease, box-shadow 0.4s ease; }
.lens.is-live { opacity: 1; }
.lens.is-first { transition: opacity 0.5s ease, box-shadow 0.4s ease; }
.hs:hover .lens { box-shadow: inset 0 0 0 1.5px rgba(227, 195, 119, 0.85), 0 0 30px rgba(227, 195, 119, 0.4); }
.hs.is-used .veil { opacity: 0; transition: opacity 0.4s ease; }
.lens i { position: absolute; width: 14px; height: 14px; border: 3px solid #e3c377; }
.lens i:nth-child(1) { left: -5px; top: -5px; border-right: 0; border-bottom: 0; border-radius: 7px 0 0 0; }
.lens i:nth-child(2) { right: -5px; top: -5px; border-left: 0; border-bottom: 0; border-radius: 0 7px 0 0; }
.lens i:nth-child(3) { left: -5px; bottom: -5px; border-right: 0; border-top: 0; border-radius: 0 0 0 7px; }
.lens i:nth-child(4) { right: -5px; bottom: -5px; border-left: 0; border-top: 0; border-radius: 0 0 7px 0; }

/* ---------------------------------------------------------------- language change: the flag wipe */
.flagwipe { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.skyfx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 1200; pointer-events: none; }

/* honeycomb behind everything */
.hive { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; display: block; }
.tour { background: transparent; }
.section--paper { background: color-mix(in srgb, var(--paper) 58%, transparent); }

/* header: search + sound buttons */
.sndbtn[aria-pressed="true"] { border-color: var(--brass); color: var(--brass); }
@media (max-width: 640px) { .sndbtn { display: none; } }

/* ---------- site search ---------- */
.sx, .sxp { font-family: var(--font, system-ui, sans-serif); }
.sx { position: fixed; inset: 0; z-index: 1500; display: grid; align-items: start; justify-items: center; padding: 8vh 16px 16px; }
.sx[hidden] { display: none; }
.sx__back { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 38%, transparent); backdrop-filter: blur(10px) saturate(1.2); -webkit-backdrop-filter: blur(10px) saturate(1.2); opacity: 0; transition: opacity 0.25s; }
.sx.is-on .sx__back { opacity: 1; }
.sx__panel { position: relative; width: min(920px, 100%); max-height: 84vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.45); overflow: hidden; opacity: 0; transform: translateY(-14px) scale(0.975); transition: opacity 0.25s, transform 0.3s cubic-bezier(0.2, 0.9, 0.3, 1); }
.sx.is-on .sx__panel { opacity: 1; transform: none; }
.sx__bar { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.sx__lens { color: var(--brass); flex: none; }
.sx__in { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font: 500 clamp(18px, 2.4vw, 24px)/1.2 var(--font, system-ui, sans-serif);  letter-spacing: -0.01em; }
.sx__in::placeholder { color: var(--slate); opacity: 0.8; }
.sx__esc { border: 1px solid var(--line); background: transparent; color: var(--slate); border-radius: 8px; padding: 4px 9px; font: 600 12px/1 var(--font, system-ui, sans-serif);  cursor: pointer; }
.sx__esc:hover { border-color: var(--brass); color: var(--ink); }
.sx__beam { position: absolute; left: 0; bottom: -1px; height: 2px; width: 100%; background: linear-gradient(90deg, transparent, var(--brass), transparent); transform: translateX(-100%); opacity: 0; pointer-events: none; }
.sx__beam.is-on { animation: sxbeam 0.7s ease-out; }
@keyframes sxbeam { 0% { transform: translateX(-100%); opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }
.sx__body { display: grid; grid-template-columns: minmax(250px, 0.9fr) 1.3fr; min-height: 0; flex: 1; overflow: hidden; }
.sx__left { padding: 22px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; background: color-mix(in srgb, var(--chalk) 55%, transparent); }
.sx__map { display: flex; flex-direction: column; gap: 0; --cw: 44px; }
.sx__row { display: flex; gap: 4px; margin-top: -8px; }
.sx__row:first-child { margin-top: 0; }
.sx__row.is-odd { margin-left: calc(var(--cw) / 2 + 2px); }
.sx__cell { position: relative; flex: none; width: var(--cw); height: calc(var(--cw) * 1.1547); padding: 0; border: 0; cursor: pointer; background: var(--line); color: var(--slate); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); display: grid; place-items: center; font: 600 12px/1 var(--font, system-ui, sans-serif);  transition: background 0.25s, color 0.25s, opacity 0.25s, transform 0.25s; }
.sx__cell::before { content: ""; position: absolute; inset: 2px; background: var(--paper); clip-path: inherit; z-index: 0; transition: background 0.25s; }
.sx__cell span { position: relative; z-index: 1; }
.sx__cell:hover, .sx__cell.is-focus { background: var(--brass); color: var(--ink); }
.sx__cell.is-hit { background: var(--brass); color: var(--ink); }
.sx__cell.is-hit::before { background: color-mix(in srgb, var(--brass) 28%, var(--paper)); }
.sx__cell.is-top::before { background: var(--brass); }
.sx__cell.is-dim { opacity: 0.28; }
.sx__cell.is-pop { animation: sxpop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1) both; animation-delay: var(--d, 0ms); }
@keyframes sxpop { 0% { transform: scale(0.6); } 60% { transform: scale(1.18); } 100% { transform: scale(1); } }
.sx__tip { min-height: 1.3em; margin: 0; font: 600 14px/1.3 var(--font, system-ui, sans-serif);  }
.sx__tip.is-in { animation: sxin 0.25s ease-out; }
@keyframes sxin { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.sx__count { margin: 0; color: var(--slate); font-size: 14px; line-height: 1.4; }
.sx__count b { color: var(--ink); font-size: 18px; }
.sx__right { min-height: 0; overflow: auto; padding: 10px; }
.sx__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.sx__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; border: 1px solid transparent; animation: sxrow 0.35s ease-out both; animation-delay: var(--d, 0ms); }
@keyframes sxrow { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.sx__item.is-on { background: color-mix(in srgb, var(--brass) 14%, var(--paper)); border-color: color-mix(in srgb, var(--brass) 55%, transparent); }
.sx__badge { flex: none; width: 34px; height: 39px; display: grid; place-items: center; background: var(--brass); color: var(--ink); font: 700 13px/1 var(--font, system-ui, sans-serif);  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.sx__badge.is-page { background: var(--line); color: var(--ink); }
.sx__main { flex: 1; min-width: 0; }
.sx__t { font-weight: 650; font-size: 16px; line-height: 1.25; }
.sx__s { margin-top: 3px; color: var(--slate); font-size: 13.5px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sx__src { display: inline-block; margin-right: 6px; padding: 1px 7px; border-radius: 99px; border: 1px solid var(--brass); color: var(--ink); font-size: 11.5px; font-weight: 600; vertical-align: 1px; }
.sx__g { flex: none; color: var(--slate); font-size: 12.5px; }
.sx mark { background: color-mix(in srgb, var(--brass) 42%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
.sx__sug, .sx__none { padding: 14px 12px; display: flex; flex-direction: column; gap: 10px; }
.sx__none strong { font-size: 17px; }
.sx__none span { color: var(--slate); }
.sx__label { margin: 0; color: var(--slate); font-size: 13px; }
.sx__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sx__chip { border: 1px solid var(--line); background: var(--paper); color: var(--ink); border-radius: 99px; padding: 7px 14px; font: 500 14px/1 var(--font, system-ui, sans-serif);  cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.sx__chip:hover, .sx__chip:focus-visible { border-color: var(--brass); background: color-mix(in srgb, var(--brass) 14%, var(--paper)); outline: 0; }
.sx__foot { display: flex; gap: 18px; padding: 10px 20px; border-top: 1px solid var(--line); color: var(--slate); font-size: 12.5px; }
.sx kbd, .sxp kbd { font: 600 11.5px/1 var(--font, system-ui, sans-serif);  border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; color: var(--ink); background: var(--chalk); }
html.sx-open { overflow: hidden; }
.sxp { position: fixed; left: 18px; bottom: 18px; z-index: 900; display: flex; align-items: center; gap: 10px; padding: 11px 14px 11px 16px; border-radius: 99px; border: 1px solid var(--line); background: color-mix(in srgb, var(--paper) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); color: var(--ink); font: 600 14px/1 var(--font, system-ui, sans-serif);  cursor: pointer; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3); opacity: 0; transform: translateY(14px); pointer-events: none; transition: opacity 0.3s, transform 0.3s, border-color 0.2s; }
.sxp.is-in { opacity: 1; transform: none; pointer-events: auto; }
.sxp:hover { border-color: var(--brass); }
.sxp:focus-visible, .sx__in:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.sxp svg { color: var(--brass); }
@media (max-width: 720px) {
  .sx { padding-top: 10px; }
  .sx__panel { max-height: 92vh; border-radius: 18px; }
  .sx__body { grid-template-columns: 1fr; overflow: auto; }
  .sx__left { border-right: 0; border-bottom: 1px solid var(--line); flex-direction: row; align-items: center; padding: 12px; gap: 12px; }
  .sx__map { --cw: 22px; flex: none; }
  .sx__row { gap: 2px; margin-top: -4px; }
  .sx__row.is-odd { margin-left: 12px; }
  .sx__cell { font-size: 0; }
  .sx__tip { display: none; }
  .sx__right { overflow: visible; }
  .sx__g, .sx__foot, .sx__esc { display: none; }
  .sxp { left: 12px; bottom: 12px; padding: 13px; }
  .sxp__t, .sxp__k { display: none; }
}
@media (prefers-reduced-motion: reduce) { .sx *, .sxp { transition: none !important; animation: none !important; } }

.foot__meta { text-align: right; }
@media (max-width: 40em) { .foot__meta { text-align: left; } }

.hero__pun { margin: 0 0 14px; color: var(--brass); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }

/* ---------- helper pages: calculator, compare, quiz, accessibility ---------- */
.status--part { background: var(--brass-soft); color: var(--ink); border-color: var(--brass); }
.doc--wide .wrap { max-width: 1100px; }
.toolpage .feature__lead { max-width: 40rem; margin-top: 14px; }
.feature__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.share { cursor: pointer; background: none; border: 0; padding: 0; font: inherit; }

.calc { display: grid; grid-template-columns: minmax(240px, 0.8fr) 1.2fr; gap: clamp(24px, 5vw, 64px); margin-top: 36px; align-items: start; }
.calc__list { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.calc__list legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.calc__opt { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.calc__opt:hover { border-color: var(--brass); }
.calc__opt:has(input:checked) { border-color: var(--brass); background: var(--brass-soft); }
.calc__opt input { width: 18px; height: 18px; accent-color: var(--brass); flex: none; }
.calc__opt:has(input:focus-visible) { outline: 3px solid var(--brass); outline-offset: 2px; }
.calc__result { position: sticky; top: 90px; }
.calc__svg { width: 100%; max-width: 460px; height: auto; display: block; margin: 0 auto; }
.calc__hex { fill: var(--paper); stroke: var(--line); stroke-width: 1.5; transition: fill 0.35s, stroke 0.35s, transform 0.4s cubic-bezier(0.2, 1.4, 0.4, 1); transform-box: fill-box; transform-origin: center; }
.calc__lab { fill: var(--slate); font: 700 10.5px var(--font, system-ui); transition: fill 0.3s; pointer-events: none; }
.calc__cell.is-on .calc__hex { fill: var(--brass); stroke: var(--brass); transform: scale(1.06); }
.calc__cell.is-on .calc__lab { fill: #1a1405; }
.calc__line { stroke: var(--brass); stroke-width: 2; stroke-dasharray: 200; stroke-dashoffset: 200; transition: stroke-dashoffset 0.6s ease; opacity: 0.5; }
.calc__line.is-on { stroke-dashoffset: 0; }
.calc__core { fill: var(--ink); stroke: var(--brass); stroke-width: 2; }
.calc__big { fill: var(--paper); font: 700 21px var(--font, system-ui); }
.calc__small { fill: var(--brass); font: 700 11px var(--font, system-ui); }
.calc__sum { margin: 14px 0 0; text-align: center; font-size: 1.15rem; }
.calc__sum b { font-size: 1.8rem; margin-right: 4px; }
.calc__sub { display: block; color: var(--slate); font-size: 0.95rem; margin-top: 2px; }
.calc__mods { list-style: none; margin: 14px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; }

.cmp { margin-top: 36px; }
.cmp__tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.cmp__tabs button { font: inherit; font-weight: 600; padding: 9px 16px; border-radius: 99px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.cmp__tabs button:hover { border-color: var(--brass); }
.cmp__tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.cmp__tabs button:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.cmp__table { width: 100%; margin-top: 22px; border-collapse: separate; border-spacing: 0 8px; }
.cmp__table th, .cmp__table td { text-align: left; padding: 14px 16px; vertical-align: top; }
.cmp__table thead th { font-size: 0.85rem; color: var(--slate); padding-bottom: 4px; }
.cmp__table tbody th { font-weight: 700; width: 22%; }
.cmp__table tbody tr { animation: cmpin 0.4s ease-out both; animation-delay: var(--d, 0ms); }
@keyframes cmpin { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.cmp__table tbody th, .cmp__without, .cmp__with { background: var(--paper); border-block: 1px solid var(--line); }
.cmp__table tbody th { border-left: 1px solid var(--line); border-radius: 12px 0 0 12px; }
.cmp__with { border-right: 1px solid var(--line); border-radius: 0 12px 12px 0; border-left: 3px solid var(--brass); }
.cmp__without { color: var(--slate); }
.cmp__with span { display: block; font-weight: 600; }
.cmp__with .textlink { font-size: 0.9rem; }
@media (max-width: 40em) {
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; order: -1; }
  .cmp__table, .cmp__table tbody, .cmp__table tr, .cmp__table th, .cmp__table td { display: block; width: auto !important; }
  .cmp__table thead { position: absolute; left: -9999px; }
  .cmp__table tbody tr { margin-bottom: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); overflow: hidden; }
  .cmp__table tbody th, .cmp__without, .cmp__with { border: 0; border-radius: 0; padding: 8px 16px; }
  .cmp__with { border-left: 3px solid var(--brass); }
}

.quiz { margin-top: 36px; max-width: 44rem; }
.quiz__dots { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; }
.quiz__dots li { width: 28px; height: 32px; background: var(--line); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background 0.3s, transform 0.3s; }
.quiz__dots li.is-now { background: var(--brass); transform: scale(1.12); }
.quiz__dots li.is-done { background: var(--ink); }
.quiz__card h2 { margin-top: 0; font-size: clamp(1.4rem, 1rem + 2vw, 2rem); outline: 0; }
.quiz__step { margin: 6px 0 18px; color: var(--slate); }
.quiz__opts { display: grid; gap: 10px; }
.quiz__opt { text-align: left; font: inherit; font-weight: 600; padding: 15px 18px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color 0.2s, background 0.2s, transform 0.2s; animation: cmpin 0.35s ease-out both; animation-delay: var(--d, 0ms); }
.quiz__opt:hover { border-color: var(--brass); background: var(--brass-soft); transform: translateX(4px); }
.quiz__opt:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; }
.quiz__res { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.quiz__res li { display: flex; gap: 16px; align-items: center; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); animation: cmpin 0.5s ease-out both; animation-delay: var(--d, 0ms); }
.quiz__hex { flex: none; width: 46px; height: 53px; display: grid; place-items: center; background: var(--brass); color: #1a1405; font-weight: 700; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.quiz__t { font-weight: 700; font-size: 1.1rem; }
.quiz__res p { margin: 2px 0 0; color: var(--slate); }
.quiz__go { margin-top: 22px; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.quiz__again { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }

.a11y-keys, .a11y-check { width: 100%; margin-top: 1em; border-collapse: collapse; }
.a11y-keys th, .a11y-keys td, .a11y-check th, .a11y-check td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.a11y-check thead th, .a11y-keys thead th { font-size: 0.85rem; color: var(--slate); }
.a11y-keys kbd { font: 600 0.85em var(--font, system-ui); border: 1px solid var(--line); border-radius: 6px; padding: 2px 6px; background: var(--chalk); }

.fit { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.fit__card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); color: inherit; text-decoration: none; transition: border-color 0.2s, transform 0.25s; }
.fit__card:hover { border-color: var(--brass); transform: translateY(-3px); }
.fit__card:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.fit__t { font-weight: 700; font-size: 1.2rem; }

/* the very small bee */
.bee { display: inline-block; width: 15px; height: 10px; margin-left: 3px; padding: 0; border: 0; background: none; cursor: pointer; vertical-align: -1px; opacity: 0.55; transition: transform 0.25s, opacity 0.25s; transform-origin: left center; }
.bee svg { width: 100%; height: 100%; display: block; }
.bee:hover, .bee:focus-visible { transform: scale(3.2); opacity: 1; position: relative; z-index: 5; outline: 0; }
.bee.is-away { visibility: hidden; }
.bee-fly { position: fixed; left: 0; top: 0; width: 44px; height: 30px; z-index: 1600; pointer-events: none; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3)); }
.bee-fly svg { width: 100%; height: 100%; }
@keyframes beewing { 50% { transform: scaleY(0.5); } }
.bee-fly .bw { animation: beewing 0.08s linear infinite; transform-box: fill-box; transform-origin: bottom; }
.hive { transition: filter 0.9s ease; }
.hive--bee { filter: hue-rotate(115deg) saturate(2.4) brightness(1.3); }

/* ---------- the honeycomb menu ---------- */
.hexmenu { flex: none; width: 46px; height: 53px; margin: -4px 4px -4px 0; padding: 0; border: 0; background: none; cursor: pointer; color: var(--ink); transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); }
.hexmenu svg { width: 100%; height: 100%; display: block; overflow: visible; }
.hexmenu__hex { fill: var(--brass); stroke: none; }
.hexmenu__cells polygon { fill: #1a1405; transition: transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1); transform-box: fill-box; transform-origin: center; }
.hexmenu:hover { transform: rotate(8deg) scale(1.06); }
.hexmenu:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; border-radius: 12px; }
.hexmenu[aria-expanded="true"] .hexmenu__cells polygon:nth-child(1) { transform: translate(-3px, -3px) scale(1.12); }
.hexmenu[aria-expanded="true"] .hexmenu__cells polygon:nth-child(2) { transform: translate(3px, -3px) scale(1.12); }
.hexmenu[aria-expanded="true"] .hexmenu__cells polygon:nth-child(3) { transform: translate(0, 4px) scale(1.12); }
.site-head .wrap > .brand { margin-right: auto; }
.hexpanel { position: fixed; inset: 0; z-index: 50; padding-top: 86px; overflow: auto; overscroll-behavior: contain; }
.hexpanel[hidden] { display: none; }
.hexpanel__back { position: fixed; inset: 0; background: color-mix(in srgb, var(--ink) 52%, transparent); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); opacity: 0; transition: opacity 0.35s; }
.hexpanel.is-on .hexpanel__back { opacity: 1; }
.hexpanel__field { position: relative; margin: 0 auto; max-width: 100%; }
.hexcell { position: absolute; display: grid; place-items: center; text-align: center; text-decoration: none; color: var(--ink); background: var(--brass); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font-weight: 700; font-size: 0.8rem; line-height: 1.15; opacity: 0; transform: translateY(-115vh) rotate(var(--r, 0deg)); transition: transform 0.45s ease-in, opacity 0.3s ease-in; }
.hexcell::before { content: ""; position: absolute; inset: 2px; background: var(--paper); clip-path: inherit; transition: background 0.2s; }
.hexcell span { position: relative; padding: 0 6px; overflow-wrap: anywhere; }
.hexpanel.is-on .hexcell { opacity: 1; transform: none; transition: transform 0.8s cubic-bezier(0.3, 1.35, 0.5, 1) var(--d, 0ms), opacity 0.2s var(--d, 0ms); }
.hexcell:hover::before, .hexcell:focus-visible::before { background: color-mix(in srgb, var(--brass) 30%, var(--paper)); }
.hexcell.is-here::before { background: var(--brass); }
.hexcell:focus-visible { outline: 0; filter: drop-shadow(0 0 6px var(--brass)); }
html.hexmenu-open { overflow: hidden; }
@media (min-width: 520px) { .hexcell { font-size: 0.9rem; } }
@media (prefers-reduced-motion: reduce) { .hexcell, .hexpanel.is-on .hexcell { transform: none; transition: opacity 0.2s; } }
html:not(.motion) .hexcell, html:not(.motion) .hexpanel.is-on .hexcell { transform: none; transition: opacity 0.2s; }

/* header on phones */
@media (max-width: 36em) {
  .site-head .wrap { gap: 8px; }
  .brand__sub { display: none; }
  .tools .sndbtn { display: none; }
  .tools { gap: 6px; }
  .hexmenu { width: 42px; height: 48px; }
}

/* footer, tidier */
.foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 28px 48px; }
.foot__nav { justify-content: flex-end; max-width: 34rem; }
.foot__meta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; padding-top: 20px; border-top: 1px solid rgba(242, 243, 239, 0.14); text-align: left; font-size: 0.88rem; opacity: 0.85; }

@media (max-width: 40em) {
  .foot { grid-template-columns: 1fr; gap: 22px; }
  .foot__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; max-width: none; justify-content: stretch; }
  .foot__meta { flex-direction: column; }
}
.hexmenu.is-new { animation: hexnew 1.4s cubic-bezier(0.3, 1.4, 0.5, 1) both; }
@keyframes hexnew { 0% { transform: scale(0) rotate(-120deg); filter: drop-shadow(0 0 0 transparent); } 45% { transform: scale(1.35) rotate(12deg); filter: drop-shadow(0 0 14px var(--brass)); } 70% { transform: scale(0.94) rotate(-4deg); } 100% { transform: none; filter: drop-shadow(0 0 0 transparent); } }

/* phones: keep floating buttons out of the way */
@media (max-width: 640px) {
  .sxp { display: none; }
}
@media (max-width: 640px) {
  .pager { right: 10px; bottom: 12px; gap: 6px; }
  .pager__btn { width: 38px; height: 38px; opacity: 0.9; }
}

/* Folders read as openable; panes slide in from the side the tab lies on */
svg.mock-svg .tab .chev { transition: transform 0.3s cubic-bezier(.3,1.4,.5,1); transform-box: fill-box; transform-origin: center; opacity: 0.7; }
svg.mock-svg .tab:hover .chev { transform: translateX(2px); opacity: 1; }
svg.mock-svg .tab.is-sel .chev { transform: rotate(90deg); opacity: 1; }
svg.mock-svg .tab .fold { transition: transform 0.3s; transform-box: fill-box; transform-origin: center; }
svg.mock-svg .tab.is-sel .fold { transform: scale(1.12); }
@media (prefers-reduced-motion: no-preference) {
  svg.mock-svg .pane.slide-r > *, svg.mock-svg .pane.slide-l > * { animation: paneR 0.55s cubic-bezier(.2,.85,.25,1) both; }
  svg.mock-svg .pane.slide-l > * { animation-name: paneL; }
}
@keyframes paneR { from { opacity: 0; translate: 46px 0; } 60% { opacity: 1; } to { opacity: 1; translate: 0 0; } }
@keyframes paneL { from { opacity: 0; translate: -46px 0; } 60% { opacity: 1; } to { opacity: 1; translate: 0 0; } }

/* Close section sits on a dark surface in both themes */
.close .fit__card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.2); color: #f2f4f7; }
.close .fit__card > span:not(.fit__t) { color: rgba(242, 244, 247, 0.78); }
.close .fit__card:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--brass); }

/* Phone held sideways: short screens get their own layout */
@media (max-height: 520px) and (orientation: landscape) {
  .sxp { display: none; }
  .site-head { padding-block: 0; }
  .site-head .wrap { min-height: 52px; }
  .site-head .brand img, .site-head .brand svg { max-height: 34px; width: auto; }
  .pager { right: 8px; bottom: 8px; }
  .pager__btn { width: 34px; height: 34px; }
  .globe-on .tour__track { height: calc(var(--steps, 20) * 80svh + 100svh - 52px); }
  .globe-on .tour__stage { top: 52px; height: calc(100svh - 52px); }
  .globe-on .tour__grid { display: block; width: min(100% - 2 * var(--gutter), 1400px); padding-block: 0; }
  .globe-on .tour__globe { position: absolute; left: 0; top: 0; width: 34%; height: 100%; }
  .globe-on .tour__panels { position: absolute; inset: 0; pointer-events: none; }
  .globe-on .panel { grid-template-columns: 34% minmax(0, 0.9fr) minmax(0, 1.1fr); grid-template-rows: minmax(0, 1fr); align-content: stretch; gap: 0 14px; }
  .globe-on .panel__text { grid-column: 2; grid-row: 1; align-self: center; padding: 0; max-width: none; pointer-events: auto; }
  .globe-on .panel__text h3 { font-size: 1.15rem; margin: 2px 0 6px; }
  .globe-on .panel__text p { font-size: 0.82rem; line-height: 1.4; }
  .globe-on .panel .btn { margin-top: 10px; padding: 8px 14px; font-size: 0.85rem; }
  .globe-on .panel__media { grid-column: 3; grid-row: 1; align-self: center; width: min(calc(100% - 44px), calc((100svh - 100px) * 1.5)); margin-inline: auto 44px; pointer-events: auto; }
  .hero { min-height: 0; padding-block: 28px; }
  .section { padding-block: 40px; }
}
@media (max-height: 520px) and (orientation: landscape) {
  .site-head .wrap { gap: 8px; }
  .brand__sub, .tools .sndbtn { display: none; }
  .tools { gap: 6px; }
}
@media (max-height: 520px) and (orientation: landscape) and (max-width: 760px) { .site-head .btn--small { display: none; } .site-head .acct__pop .btn--small { display: inline-flex; } }
html, body { overflow-x: clip; }

/* List rows glide in when a tab, filter or search changes them */
@media (prefers-reduced-motion: no-preference) {
  svg.mock-svg .row.rowin { animation: rowIn 0.5s cubic-bezier(.2,.85,.25,1) both; }
}
@keyframes rowIn { from { opacity: 0; translate: 28px 0; } to { opacity: 1; translate: 0 0; } }

/* Phones and tablets (touch): no click-around demo and no highlight circles outside the Demo page */
@media (pointer: coarse) and (max-width: 52em), (pointer: coarse) and (max-height: 520px) {
  .panel .mock-svg, .feature__media .mock-svg, .hs .mock-svg { pointer-events: none; }
  .hs .veil, .hs .hot, .hs__try { display: none !important; }
  .demo__stage .mock-svg { pointer-events: auto; }
}
/* Phone held upright: the honeycomb takes the stage */
@media (max-width: 52em) and (orientation: portrait) {
  .globe-on .tour__grid { grid-template-rows: minmax(0, 54%) minmax(0, 1fr); gap: 2px; }
  .globe-on .tour__globe { filter: drop-shadow(0 18px 22px rgba(23, 32, 43, 0.22)); }
  .globe-on .panel { gap: 8px; }
  .globe-on .panel__media { width: min(86%, calc(18svh * 1.5)); border-radius: 12px; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5); }
  .globe-on .panel__text { text-align: center; padding-inline: 4px; }
  .globe-on .panel__text h3 { font-size: 1.35rem; }
  .globe-on .panel__text p { font-size: 0.92rem; }
}

/* Scan page */
.scan { margin-top: 32px; max-width: 46rem; }
.scan__stage { position: relative; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #14171d; border: 1px solid var(--line); box-shadow: 0 24px 50px -28px rgba(0, 0, 0, 0.55); }
.scan__video, .scan__cv, .scan__ov { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.scan__video { display: none; object-fit: cover; }
.scan__stage.is-live .scan__video { display: block; }
.scan__cv { display: none; }
.scan__stage.is-scan .scan__cv, .scan__stage.is-done .scan__cv { display: block; }
.scan__stage.is-live .scan__cv { display: none; }
.scan__ov { pointer-events: none; }
.scan__quad { fill: rgba(201, 160, 87, 0.16); stroke: #e3c377; stroke-width: 4; stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-dasharray: 1400; stroke-dashoffset: 1400; }
.scan__stage.is-done .scan__quad { animation: scandraw 0.9s cubic-bezier(.3,.8,.3,1) forwards; }
@keyframes scandraw { to { stroke-dashoffset: 0; } }
.scan__beam { position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, transparent, #e3c377, transparent); box-shadow: 0 0 22px 6px rgba(227, 195, 119, 0.55); opacity: 0; }
.scan__stage.is-scan .scan__beam { opacity: 1; }
.scan__hint { position: absolute; inset: 0; display: grid; place-items: center; color: #8c96a8; font-weight: 600; }
.scan__stage.is-live .scan__hint, .scan__stage.is-scan .scan__hint, .scan__stage.is-done .scan__hint { display: none; }
.scan__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 18px; }
.scan__pick { background: var(--paper); color: var(--ink); border: 1px solid var(--line); cursor: pointer; }
.scan__pick:hover { border-color: var(--brass); background: var(--brass-soft); }
.scan__msg { margin: 14px 0 0; color: var(--slate); min-height: 1.5em; }
.scan__res { margin-top: 18px; display: grid; grid-template-columns: auto 1fr; gap: 6px 22px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); animation: cmpin 0.5s ease-out both; }
.scan__res[hidden] { display: none; }
.scan__thumb { grid-row: 1; }
.scan__thumb canvas { display: block; max-width: 140px; max-height: 140px; border-radius: 8px; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.5); animation: scanfile 0.9s cubic-bezier(.3,1.3,.5,1) both; }
@keyframes scanfile { from { transform: translateY(-30px) rotate(-6deg) scale(1.2); opacity: 0; } to { transform: none; opacity: 1; } }
.scan__dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; }
.scan__dl dt { color: var(--slate); font-size: 0.9rem; }
.scan__dl dd { margin: 0; font-weight: 700; }
.scan__in { animation: cmpin 0.45s ease-out both; animation-delay: var(--d, 0ms); }
.scan__note { grid-column: 1 / -1; margin: 10px 0 0; color: var(--slate); font-size: 0.9rem; }
@media (max-width: 36em) { .scan__res { grid-template-columns: 1fr; } .scan__thumb canvas { margin-inline: auto; } }

/* Hidden extras: night bee and the founder's note */
.bee--night { opacity: 0.4; }
.enote { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 20px; background: rgba(14, 18, 24, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity 0.3s; }
.enote.is-in { opacity: 1; }
.enote__card { position: relative; width: min(30rem, 100%); padding: 38px 30px 28px; border-radius: 22px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 40px 90px -20px rgba(0, 0, 0, 0.5); transform: translateY(24px) scale(0.96); transition: transform 0.45s cubic-bezier(.2,1.3,.4,1); }
.enote.is-in .enote__card { transform: none; }
.enote__hex { position: absolute; left: 30px; top: -22px; width: 48px; height: 55px; background: var(--brass); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.enote__card h2 { margin: 0 0 12px; font-size: 1.6rem; }
.enote__card p { margin: 0 0 12px; line-height: 1.55; }
.enote__sig { font-weight: 700; margin-bottom: 20px !important; }
.scan [hidden] { display: none !important; }
.scan__again { margin-left: 6px; text-decoration: underline; text-decoration-thickness: 2px; color: var(--ink); }

/* Page change: a wave of honeycomb cells washes over the page and away again */
html.wipe-in::before { content: ""; position: fixed; inset: 0; z-index: 2999; background: #14181f; }
.wipe { position: fixed; inset: 0; z-index: 3000; overflow: hidden; pointer-events: none; }
.wipe__h { position: absolute; background: #c9a057; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transform: scale(0); transition: transform 0.3s cubic-bezier(.5,0,.2,1); will-change: transform; }
.wipe__h::after { content: ""; position: absolute; inset: 3px; background: #14181f; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.wipe--cover .wipe__h { transform: scale(1.1); }
.wipe--open .wipe__h { transform: scale(0); transition-duration: 0.36s; }

/* Page change: one big honeycomb cell */
.wipe__h { transform: scale(0); transition: transform 0.5s cubic-bezier(.65, 0, .25, 1); }
.wipe--cover .wipe__h { transform: scale(1); }
.wipe--open .wipe__h { transform: scale(0); transition-duration: 0.55s; }
.wipe__h::after { inset: 7px; }
.doc h2.annex { margin-top: 3.2rem; padding-top: 2rem; border-top: 2px solid var(--line); }

/* German has long words: columns may shrink, headings may break and hyphenate */
.hero__grid { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 52em) { .hero__grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.hero__grid > *, .tour__grid > *, .story .wrap > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; hyphens: auto; -webkit-hyphens: auto; }
.hero__actions { flex-wrap: wrap; }
@media (max-width: 30em) { .hero h1 { font-size: clamp(2rem, 10vw, 3rem); } }
@media (max-width: 40em) { .a11y-check, .a11y-keys { display: block; overflow-x: auto; } }

/* ---------- finishing touches: scroll honeycomb, the door, the live scene ---------- */
.prog { position: fixed; right: 14px; top: 50%; z-index: 30; width: 30px; height: 35px; margin-top: -18px; opacity: 0; transform: translateX(16px) scale(0.8); transition: opacity 0.4s, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); pointer-events: none; }
.prog.is-on { opacity: 1; transform: none; }
.prog svg { width: 100%; height: 100%; display: block; overflow: visible; }
.prog__bg { fill: color-mix(in srgb, var(--ink) 8%, transparent); }
.prog__line { fill: none; stroke: color-mix(in srgb, var(--ink) 40%, transparent); stroke-width: 1.6; stroke-linejoin: round; }
.prog__fill { fill: var(--brass-light); transform: translateY(calc((1 - var(--p, 0)) * 56px)); transition: transform 0.35s ease-out; }
.prog.is-full svg { filter: drop-shadow(0 0 5px var(--brass-light)); }
.prog.is-pulse svg { animation: progpulse 0.6s cubic-bezier(0.3, 1.5, 0.5, 1); }
@keyframes progpulse { 40% { transform: scale(1.28) rotate(6deg); } }
.prog__tip { position: absolute; right: calc(100% + 10px); top: 50%; padding: 5px 12px; border-radius: 99px; background: var(--ink); color: var(--paper); font-size: 0.8rem; font-weight: 700; white-space: nowrap; opacity: 0; transform: translate(10px, -50%); transition: opacity 0.3s, transform 0.4s cubic-bezier(0.3, 1.4, 0.5, 1); }
.prog.is-tip .prog__tip { opacity: 1; transform: translate(0, -50%); }
html.hexmenu-open .prog { opacity: 0; }
@media (max-width: 640px) { .prog { right: 2px; width: 17px; height: 20px; margin-top: -10px; } .prog__tip { display: none; } }
@media (max-height: 520px) and (orientation: landscape) { .prog { display: none; } }
@media (prefers-reduced-motion: reduce) { .prog, .prog__fill, .prog__tip { transition: none; } .prog.is-pulse svg { animation: none; } }
@media print { .prog, .door__knob { display: none; } }

/* the closing hive: a wall of cells that fills with honey, one big hexagon in the middle */
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.door { --hexw: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); position: relative; display: grid; place-content: center; justify-items: center; gap: clamp(20px, 4vh, 40px); padding: 40px 12px 72px; overflow: hidden; color: #f2f3ef; perspective: 1400px; }
.door__hex { position: relative; z-index: 1; width: min(100vw - 24px, 780px, calc((100svh - 220px) * 1.1547)); min-width: min(100vw - 24px, 300px); aspect-ratio: 1.1547; display: grid; place-items: center; rotate: var(--tilt, 0 0 0 0deg); transition: rotate 0.3s ease-out, filter 0.4s; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45)); }
.door__hex::before, .door__hex::after { content: ""; position: absolute; clip-path: var(--hexw); }
.door__hex::before { inset: 0; background: conic-gradient(from var(--ang), #b98a2e, #b98a2e 8%, #fbeab0 14%, #b98a2e 21%, #b98a2e 55%, #e6c46e 64%, #b98a2e 72%); animation: doorspin 9s linear infinite; }
@keyframes doorspin { to { --ang: 360deg; } }
.door__hex::after { inset: 3px; background: radial-gradient(ellipse at 50% 35%, #1e2635, #0e131b 80%); }
.door__in { position: relative; z-index: 1; width: 62%; display: grid; justify-items: center; gap: clamp(8px, 2vw, 18px); text-align: center; }
.door .door__in h2 { margin: 0; color: #f2f3ef; font-size: clamp(1.45rem, 0.6rem + 4.4vw, 3.4rem); line-height: 1.02; }
.door .door__p { margin: 0; color: #b9c0cb; font-size: clamp(0.82rem, 0.6rem + 0.8vw, 1.05rem); max-width: 26em; }
.door__go { position: relative; overflow: hidden; display: inline-block; padding: clamp(10px, 1.6vw, 15px) clamp(18px, 3vw, 32px); background: #e3bf6c; color: #17202b; font: 700 clamp(0.9rem, 0.7rem + 0.7vw, 1.1rem)/1.1 var(--font); text-decoration: none; clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1), background-color 0.25s; }
.door__go::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.55) 50%, transparent 65%); transform: translateX(-130%); }
.door__go:hover::after, .door__go:focus-visible::after { transform: translateX(130%); transition: transform 0.7s ease; }
.door__go:hover, .door__go:focus-visible { transform: scale(1.07); background: #f4d98f; outline: none; }
.door__go:active { transform: scale(0.97); }
.door__hex:has(.door__go:focus-visible) { filter: drop-shadow(0 0 46px rgba(244, 217, 143, 0.6)); }
.door__links { position: relative; z-index: 1; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 960px; }
.door__links a { color: #f2f3ef; font-weight: 700; font-size: 0.98rem; text-decoration: none; padding: 11px 18px; border: 1.5px solid rgba(227, 191, 108, 0.5); border-radius: 10px; background: rgba(255, 255, 255, 0.05); transition: background-color 0.25s, border-color 0.25s, color 0.25s, transform 0.3s cubic-bezier(0.3, 1.6, 0.5, 1); }
.door__links a:hover, .door__links a:focus-visible { color: #17202b; background: #e3bf6c; border-color: #e3bf6c; transform: translateY(-3px); outline: none; }
/* the footer follows without a seam */
.door + .foot { margin-top: 0; }
/* entrance, once */
.door:not(.is-in) .door__hex, .door:not(.is-in) .door__links { opacity: 0; }
.door.is-in .door__hex { animation: doorhex 1s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.door.is-in .door__links { animation: doorlinks 0.8s ease 0.6s both; }
@keyframes doorhex { from { opacity: 0; scale: 0.82; } to { opacity: 1; scale: 1; } }
@keyframes doorlinks { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 40em) { .door .door__p { display: none; } .door__in { width: 70%; } .door { padding-bottom: 56px; } }
@media (prefers-reduced-motion: reduce) { .door__hex::before { animation: none; } .door:not(.is-in) .door__hex, .door:not(.is-in) .door__links { opacity: 1; } .door__go, .door__hex { transition: none; } }

/* the live scene in the hero */
.hlive { display: grid; gap: 8px; justify-items: start; margin-top: 22px; }
.hlive__card { width: 100%; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.hlive__bar { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 0.9rem; font-weight: 700; }
.hlive__ic { flex: none; width: 20px; height: 20px; fill: none; stroke: var(--brass); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.hlive__pips { display: flex; gap: 6px; margin-left: auto; }
.hlive__pips i { width: 10px; height: 11px; background: var(--line); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background-color 0.3s, transform 0.4s cubic-bezier(0.3, 1.5, 0.5, 1); }
.hlive__pips .is-now { background: var(--brass-light); transform: scale(1.25); }
.hlive__pips .is-done { background: var(--brass); }
.hlive__body { display: grid; gap: 8px; align-content: start; min-height: 118px; padding: 14px 16px 16px; }
.hlive .hlive__act { margin: 0; color: var(--slate); font-size: 0.82rem; }
.hlive .hlive__line { margin: 0; min-height: 1.5em; font-size: 1.1rem; font-weight: 700; line-height: 1.3; }
.hlive__caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.17em; background: var(--brass); opacity: 0; }
.hlive__card.is-typing .hlive__caret { opacity: 1; animation: hcaret 0.9s steps(2, jump-none) infinite; }
@keyframes hcaret { 50% { opacity: 0; } }
.hlive .hlive__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; min-height: 30px; margin: 0; }
.hlive__chip { padding: 4px 12px; border-radius: 99px; background: color-mix(in srgb, var(--brass) 14%, var(--paper)); border: 1px solid color-mix(in srgb, var(--brass) 38%, var(--paper)); font-size: 0.85rem; font-weight: 700; }
.hlive__chip[hidden] { display: none; }
.hlive__chip.is-go { background: color-mix(in srgb, var(--brass-light) 45%, var(--paper)); }
.hlive__chip.is-ok { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.hlive__chip.is-ok::before { content: "✓ "; }
.hlive__chip.is-pop { animation: hpop 0.45s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes hpop { from { opacity: 0; transform: scale(0.7) translateY(4px); } }
.hlive__who { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; opacity: 0; transform: translateX(-10px); transition: opacity 0.4s, transform 0.5s cubic-bezier(0.3, 1.4, 0.5, 1); }
.hlive__who.is-on { opacity: 1; transform: none; }
.hlive__av { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--paper); font-size: 0.68rem; font-weight: 700; font-style: normal; }
.hlive__again { background: none; border: 0; padding: 2px 0; cursor: pointer; font: inherit; font-size: 0.9rem; }
.hlive__again[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .hlive__who, .hlive__pips i { transition: none; } .hlive__chip.is-pop { animation: none; } }

/* the menu hexagon says: open me */
.hexmenu { position: relative; }
.hexmenu__arr { position: absolute; right: -8px; bottom: -4px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: 0 0 0 2px var(--paper); pointer-events: none; }
.hexmenu__arr svg { width: 11px; height: 11px; display: block; transition: transform 0.35s cubic-bezier(0.3, 1.5, 0.5, 1); }
.hexmenu[aria-expanded="true"] .hexmenu__arr svg { transform: rotate(180deg); }
.hexmenu.is-hint { animation: hexhint 3.2s ease-in-out 3; }
.hexmenu.is-hint .hexmenu__arr svg { animation: hexarr 3.2s ease-in-out 3; }
@keyframes hexhint { 0%, 34%, 100% { transform: none; } 9% { transform: translateY(8px); } 20% { transform: translateY(-2px); } 27% { transform: translateY(1px); } }
@keyframes hexarr { 0%, 34%, 100% { transform: none; } 9% { transform: translateY(5px); } 20% { transform: translateY(-3px); } 27% { transform: translateY(1px); } }
@media (prefers-reduced-motion: reduce) { .hexmenu.is-hint, .hexmenu.is-hint .hexmenu__arr svg { animation: none; } }
@media (max-width: 36em) { .hexmenu__arr { right: -6px; width: 18px; height: 18px; } }

/* footer logo */
.foot__brandrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.foot__logo { display: block; width: auto; height: 40px; }
.foot__sys { display: none; } /* Das Logo enthält „Systems“ bereits */

/* ---------- legal pages: contents list, anchors, status chip contrast ---------- */
.doc h2[id] { scroll-margin-top: 5rem; }
.doc .toc { margin: 26px 0 10px; padding: 18px 22px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.doc .toc__title { margin: 0 0 10px; font-weight: 700; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }
.doc .toc ul { margin: 0; padding: 0; list-style: none; columns: 2 18rem; column-gap: 28px; }
.doc .toc li { break-inside: avoid; padding: 3px 0; }
.doc .toc li + li { margin-top: 0; }
.doc h2.annex2 { margin-top: 2.2rem; }
.status--wip { color: var(--ink); }
.doc .toc .textlink { font-weight: 500; }

/* ---------- Start page: "Comb is being built" (dark band in both themes) ---------- */
.dev { --d-bg: #0c1117; --d-ink: #f2f4f7; --d-mute: #a3adbd; --d-gold: #d1a85c; --d-gold2: #e3c377; --d-line: rgba(255,255,255,.1);
  position: relative; overflow: hidden; color: var(--d-ink); padding-block: clamp(72px, 10vw, 128px);
  background: radial-gradient(900px 420px at 88% -8%, rgba(209,168,92,.16), transparent 62%), radial-gradient(700px 380px at -6% 108%, rgba(209,168,92,.08), transparent 60%), linear-gradient(180deg, #0c1117, #111823); }
.dev::before, .dev::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(209,168,92,.55), transparent); }
.dev::before { top: 0; } .dev::after { bottom: 0; }
.dev .textlink { color: var(--d-gold2); text-decoration-color: var(--d-gold); }
.dev__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.dev__eyebrow { margin: 0 0 18px; font-size: .78rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--d-gold); }
.dev h2 { margin: 0; color: var(--d-ink); font-size: clamp(2.3rem, 1.5rem + 3.2vw, 4rem); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.dev__sub { margin: 22px 0 0; max-width: 32em; color: var(--d-mute); font-size: 1.08rem; line-height: 1.65; }
.dev__meter { margin-top: 36px; max-width: 28rem; }
.dev__meter-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: baseline; margin-bottom: 12px; }
.dev__meter-top b { font-size: 1.05rem; color: var(--d-ink); }
.dev__meter-top span { color: var(--d-mute); font-size: .92rem; }
.dev__bar { height: 4px; border-radius: 4px; background: var(--d-line); overflow: hidden; }
.dev__bar i { display: block; height: 100%; width: 38%; border-radius: 4px; background: linear-gradient(90deg, #8a6420, var(--d-gold2)); }
.motion .dev__bar i { animation: devBar 1.4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes devBar { from { width: 0; } }

.dev__steps { list-style: none; margin: 0; padding: 0; }
.dev__step { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 20px; align-items: start; padding: 4px 0 38px; }
.dev__step:last-child { padding-bottom: 0; }
.dev__step::before { content: ""; position: absolute; left: 16px; top: 38px; bottom: 4px; width: 1px; background: var(--d-line); }
.dev__step.is-done::before { background: linear-gradient(180deg, var(--d-gold), rgba(209,168,92,.25)); }
.dev__step:last-child::before { display: none; }
.dev__node { width: 34px; height: 38px; background: #2a3140; clip-path: polygon(50% 0, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%); position: relative; }
.dev__node::after { content: ""; position: absolute; inset: 2px; background: #0e1218; clip-path: inherit; }
.dev__step.is-done .dev__node { background: linear-gradient(160deg, var(--d-gold2), #a37a2c); }
.dev__step.is-done .dev__node::after { background: linear-gradient(160deg, var(--d-gold2), #a37a2c); inset: 0; }
.dev__step.is-done .dev__node::before { content: ""; position: absolute; z-index: 1; left: 11px; top: 11px; width: 11px; height: 6px; border: solid #0c1117; border-width: 0 0 2.5px 2.5px; transform: rotate(-45deg); }
.dev__step.is-now .dev__node { background: var(--d-gold); }
.dev__step.is-now .dev__node::after { background: radial-gradient(circle, var(--d-gold) 0 5px, #0e1218 6px); }
.motion .dev__step.is-now .dev__node { animation: devPulse 2.6s ease-in-out infinite; }
@keyframes devPulse { 0%, 100% { filter: drop-shadow(0 0 0 rgba(209,168,92,0)); } 50% { filter: drop-shadow(0 0 9px rgba(209,168,92,.65)); } }
.dev__txt { display: grid; gap: 5px; min-width: 0; padding-top: 5px; }
.dev__txt b { font-size: 1.2rem; font-weight: 700; color: var(--d-ink); letter-spacing: -.01em; }
.dev__txt span { color: var(--d-mute); line-height: 1.55; }
.dev__step:not(.is-done):not(.is-now) .dev__txt b { color: #c4cad3; }
.dev__tag { padding-top: 9px; font-size: .74rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--d-mute); white-space: nowrap; }
.dev__step.is-now .dev__tag { color: var(--d-gold2); }
.dev__step.is-done .dev__tag { color: var(--d-gold); }

.dev__block { margin-top: clamp(56px, 8vw, 96px); padding-top: 40px; border-top: 1px solid var(--d-line); }
.dev__h { margin: 0 0 26px; font-size: 1.5rem; letter-spacing: -.02em; color: var(--d-ink); }
.dev__now { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(28px, 5vw, 72px); }
.dev__item { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 0; border-top: 1px solid var(--d-line); }
.dev__item .dev__txt { padding-top: 0; }
.dev__item .dev__tag { display: inline-flex; align-items: center; gap: 9px; padding-top: 5px; }
.dev__item .dev__tag i { width: 8px; height: 8px; border-radius: 50%; background: var(--d-mute); flex: none; }
.dev__item.is-live .dev__tag { color: #6fd6a1; }
.dev__item.is-live .dev__tag i { background: #46d39a; box-shadow: 0 0 0 0 rgba(70,211,154,.5); }
.motion .dev__item.is-live .dev__tag i { animation: devLive 2.4s ease-out infinite; }
@keyframes devLive { 0% { box-shadow: 0 0 0 0 rgba(70,211,154,.55); } 70%, 100% { box-shadow: 0 0 0 8px rgba(70,211,154,0); } }
.dev__fine { margin: 26px 0 0; max-width: 46rem; color: var(--d-mute); font-size: .95rem; }

.dev__slead { margin: -8px 0 32px; max-width: 40em; color: var(--d-mute); line-height: 1.6; }
.dev__secgrid { display: grid; grid-template-columns: minmax(180px, 280px) minmax(0, 1fr); grid-template-areas: "rings tabs" "rings details"; column-gap: clamp(32px, 6vw, 88px); row-gap: 26px; align-items: start; }
.dev__rings { grid-area: rings; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 28px rgba(209,168,92,.12)); }
.dev__ring { fill: none; stroke: #2a3140; stroke-width: 5; stroke-linejoin: round; cursor: pointer; transition: stroke .25s; }
.dev__ring:hover { stroke: #4a5568; }
.dev__ring.is-on { stroke: var(--d-gold); }
.dev__core { fill: var(--d-gold); }
.dev__tabs { grid-area: tabs; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dev__tab { font: inherit; font-weight: 700; text-align: left; display: grid; gap: 4px; padding: 14px 16px; color: var(--d-ink); background: rgba(255,255,255,.03); border: 1px solid var(--d-line); border-radius: 12px; cursor: pointer; transition: border-color .2s, background .2s; }
.dev__tab:hover { border-color: rgba(209,168,92,.6); }
.dev__tab.is-on { background: rgba(209,168,92,.12); border-color: var(--d-gold); }
.dev__tabn { font-size: .72rem; letter-spacing: .16em; color: var(--d-gold); }
.dev__tab:focus-visible, .dev__ring:focus-visible { outline: 3px solid var(--d-gold2); outline-offset: 2px; }
.dev__details { grid-area: details; }
.dev__detail h4 { margin: 0 0 8px; font-size: 1.3rem; color: var(--d-ink); letter-spacing: -.01em; }
.dev__dlead { margin: 0 0 18px; color: var(--d-mute); line-height: 1.6; max-width: 42em; }
.dev__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.dev__list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 13px 0; border-top: 1px solid var(--d-line); line-height: 1.55; }
.dev__list i, .dev__lg i { width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 2px solid var(--d-mute); box-sizing: border-box; flex: none; }
.dev__list .is-yes i, .dev__lg.is-yes i { background: var(--d-gold); border-color: var(--d-gold); }
.dev__list .is-no { color: var(--d-mute); }
.dev__legend { margin: 22px 0 0; display: flex; gap: 24px; flex-wrap: wrap; color: var(--d-mute); font-size: .88rem; }
.dev__lg { display: inline-flex; align-items: center; gap: 9px; }
.dev__lg i { margin: 0; }
.dev__detail:not([hidden]) { animation: none; }
.motion .dev__detail:not([hidden]) { animation: devIn .35s ease both; }
@keyframes devIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .dev__grid { grid-template-columns: 1fr; }
  .dev__now { grid-template-columns: 1fr; }
  .dev__secgrid { grid-template-columns: 1fr; grid-template-areas: "rings" "tabs" "details"; }
  .dev__rings { max-width: 200px; margin-inline: auto; }
  .dev__tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .dev__step { grid-template-columns: 34px minmax(0, 1fr); }
  .dev__step .dev__tag { grid-column: 2; padding-top: 0; }
}
@media (prefers-reduced-motion: reduce) { .motion .dev * { animation: none !important; } }

/* Compact version of the progress section: much less height, same content */
.dev { padding-block: clamp(32px, 4.5vw, 52px); }
.dev__grid { grid-template-columns: 1fr; gap: 20px; }
.dev__eyebrow { margin-bottom: 8px; }
.dev h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.dev__sub { margin-top: 10px; max-width: 46em; font-size: .98rem; line-height: 1.55; }
.dev__meter { margin-top: 16px; max-width: 30rem; }
.dev__meter-top { margin-bottom: 8px; }
.dev__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dev__step { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; padding: 12px 14px; border: 1px solid var(--d-line); border-radius: 12px; align-items: start; }
.dev__step:last-child { padding-bottom: 12px; }
.dev__step::before { display: none; }
.dev__node { width: 24px; height: 27px; }
.dev__step.is-done .dev__node::before { left: 7px; top: 7px; width: 9px; height: 5px; }
.dev__step.is-now { border-color: rgba(209,168,92,.55); background: rgba(209,168,92,.07); }
.dev__txt { gap: 2px; padding-top: 1px; }
.dev__txt b { font-size: 1rem; }
.dev__txt span { font-size: .88rem; line-height: 1.45; }
.dev__step .dev__tag { grid-column: 2; padding-top: 4px; font-size: .68rem; }
.dev__block { margin-top: 28px; padding-top: 22px; }
.dev__h { margin-bottom: 10px; font-size: 1.15rem; }
.dev__item { padding: 11px 0; }
.dev__item .dev__txt span { font-size: .88rem; }
.dev__fine { margin-top: 14px; font-size: .88rem; }
.dev__slead { margin: -2px 0 14px; font-size: .95rem; }
.dev__rings { display: none; }
.dev__secgrid { grid-template-columns: 1fr; grid-template-areas: "tabs" "details"; row-gap: 14px; }
.dev__tab { padding: 9px 12px; }
.dev__detail h4 { display: none; }
.dev__dlead { margin-bottom: 8px; font-size: .95rem; }
.dev__list li { padding: 8px 0; font-size: .93rem; line-height: 1.45; }
.dev__list i { margin-top: 4px; }
.dev__legend { margin-top: 12px; }
@media (max-width: 900px) { .dev__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .dev__secgrid { grid-template-areas: "tabs" "details"; } }
@media (max-width: 560px) { .dev__steps { grid-template-columns: 1fr; } .dev__step { grid-template-columns: 24px minmax(0, 1fr); } }

.dev__fold > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
.dev__fold > summary::-webkit-details-marker { display: none; }
.dev__fold > summary::after { content: ""; width: 9px; height: 9px; border: solid var(--d-gold); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; margin-right: 6px; }
.dev__fold[open] > summary::after { transform: rotate(-135deg); }
.dev__fold > summary:focus-visible { outline: 3px solid var(--d-gold2); outline-offset: 4px; }
.dev__fold[open] > summary { margin-bottom: 12px; }
.dev__fold .dev__slead { margin-top: 0; }

/* ---------- /status ---------- */
.stat__all { display: flex; align-items: center; gap: 16px; margin: 26px 0 28px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); flex-wrap: wrap; }
.stat__all > div { display: grid; gap: 2px; flex: 1 1 14rem; min-width: 0; }
.stat__all b { font-size: 1.15rem; }
.stat__all span { color: var(--slate); }
.stat__all[data-state="ok"] { border-color: #2b6b46; background: #e3f1e8; }
.stat__all[data-state="bad"] { border-color: #a3302a; background: #f6e3e1; }
html[data-theme="dark"] .stat__all[data-state="ok"] { background: #12302a; border-color: #2f6b55; }
html[data-theme="dark"] .stat__all[data-state="bad"] { background: #3a1f1d; border-color: #ee7b72; }
.stat__all[data-state="ok"] span, .stat__all[data-state="bad"] span { color: var(--ink); }
.stat__cards { display: grid; gap: 16px; }
.stat__card { padding: 20px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
.stat__card h2 { margin: 0 0 8px; font-size: 1.2rem; }
.stat__rows { list-style: none; margin: 0; padding: 0; }
.stat__row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.stat__row:first-child { border-top: 0; }
.stat__txt { display: grid; gap: 2px; min-width: 0; }
.stat__txt span { color: var(--slate); font-size: .95rem; }
.stat__chip { display: inline-flex; align-items: center; gap: 8px; flex: none; font-weight: 700; font-size: .9rem; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); }
.stat__ico { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: var(--slate); flex: none; }
.stat__all .stat__ico { width: 18px; height: 18px; }
[data-state="ok"] > .stat__chip, .stat__row[data-state="ok"] .stat__chip { background: #e3f1e8; border-color: #9fcfb0; color: #1f5a37; }
[data-state="bad"] > .stat__chip, .stat__row[data-state="bad"] .stat__chip { background: #f6e3e1; border-color: #d89a95; color: #8a2620; }
html[data-theme="dark"] .stat__row[data-state="ok"] .stat__chip { background: #12302a; border-color: #2f6b55; color: #46d39a; }
html[data-theme="dark"] .stat__row[data-state="bad"] .stat__chip { background: #3a1f1d; border-color: #ee7b72; color: #ff9a85; }
[data-state="ok"] .stat__ico { background: #2b6b46; }
[data-state="bad"] .stat__ico { background: #a3302a; border-radius: 3px; transform: rotate(45deg); }
html[data-theme="dark"] [data-state="ok"] .stat__ico { background: #6fcf97; }
html[data-theme="dark"] [data-state="bad"] .stat__ico { background: #ee7b72; }
[data-state="wait"] .stat__ico { background: transparent; border: 2px solid var(--slate); border-top-color: transparent; }
.motion [data-state="wait"] .stat__ico { animation: statSpin .9s linear infinite; }
@keyframes statSpin { to { transform: rotate(360deg); } }
.stat__none { color: var(--slate); }
.stat__hist .stat__card { margin-top: 12px; }
.stat__bar { display: flex; gap: 2px; margin-top: 10px; height: 28px; }
.stat__cell { flex: 1 1 0; min-width: 2px; border-radius: 2px; background: var(--line); }
.stat__cell.is-ok { background: #2b6b46; }
.stat__cell.is-warn { background: var(--brass); }
.stat__cell.is-bad { background: #b23a30; }
html[data-theme="dark"] .stat__cell.is-ok { background: #4fae78; }
html[data-theme="dark"] .stat__cell.is-bad { background: #ee7b72; }
.stat__note { padding: 16px 18px; margin-top: 12px; border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 4px 14px 14px 4px; background: var(--paper); }
.stat__note--resolved { border-left-color: #2b6b46; }
.stat__nh { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.stat__note p { margin: 6px 0 0; }
.stat__nd { color: var(--slate); font-size: .9rem; }
@media (max-width: 560px) { .stat__row { flex-direction: column; align-items: flex-start; } }
@media (prefers-reduced-motion: reduce) { .motion [data-state="wait"] .stat__ico { animation: none; } }
.doc .stat__rows { padding: 0; margin: 0; list-style: none; }
.doc .stat__row { margin: 0; }

/* ---------- "One login instead of six": pinned, driven by scrolling ---------- */
.story--scroll { padding-block: 0; height: 230vh; }
.story--scroll > .wrap { position: sticky; top: 0; height: 100vh; box-sizing: border-box; padding-top: 84px; padding-bottom: 12px; display: flex; flex-direction: column; justify-content: center; }
.story--scroll .story__switch { display: none; }
.story--scroll .story__stage { margin-top: 10px; }
.story--scroll .sg__in { --R: clamp(34px, calc((100vh - 400px) / 8), 78px); }
.story--scroll .sub { margin-top: 10px; }

/* ---------- /status: limited, maintenance, incident timeline ---------- */
.stat__all[data-state="warn"] { border-color: #b8860b; background: #f6ecd0; }
.stat__all[data-state="maint"] { border-color: #4f7cc4; background: #e3ebf7; }
html[data-theme="dark"] .stat__all[data-state="warn"] { background: #33290f; border-color: #d1a85c; }
html[data-theme="dark"] .stat__all[data-state="maint"] { background: #17253b; border-color: #6f93d6; }
.stat__all[data-state="warn"] span, .stat__all[data-state="maint"] span { color: var(--ink); }
.stat__row[data-state="warn"] .stat__chip { background: #f6ecd0; border-color: #d8b85a; color: #6b4e08; }
.stat__row[data-state="maint"] .stat__chip { background: #e3ebf7; border-color: #8aa3cc; color: #254a80; }
html[data-theme="dark"] .stat__row[data-state="warn"] .stat__chip { background: #33290f; border-color: #6b5520; color: #e3c377; }
html[data-theme="dark"] .stat__row[data-state="maint"] .stat__chip { background: #17253b; border-color: #35527f; color: #9db9e8; }
[data-state="warn"] .stat__ico { background: #b8860b; border-radius: 2px; }
[data-state="maint"] .stat__ico { background: #4f7cc4; border-radius: 3px; }
.stat__note--minor { border-left-color: #d8a62a; } .stat__note--major { border-left-color: #e07a2a; }
.stat__note--outage { border-left-color: #a3302a; } .stat__note--maintenance { border-left-color: #4f7cc4; }
.stat__note.is-done { border-left-color: #2b6b46; opacity: .92; }
.stat__tags { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.stat__sev--outage { background: #f6e3e1; border-color: #d89a95; color: #8a2620; }
.stat__sev--major { background: #fbe3d2; border-color: #e09a6a; color: #7a3410; }
.stat__sev--minor { background: #f6ecd0; border-color: #d8b85a; color: #6b4e08; }
.stat__sev--maintenance { background: #e3ebf7; border-color: #8aa3cc; color: #254a80; }
.stat__st--resolved { background: #e3f1e8; border-color: #9fcfb0; color: #1f5a37; }
html[data-theme="dark"] .stat__sev--outage { background: #3a1f1d; border-color: #ee7b72; color: #ff9a85; }
html[data-theme="dark"] .stat__sev--major { background: #3a2415; border-color: #7a4a2a; color: #f0a877; }
html[data-theme="dark"] .stat__sev--minor { background: #33290f; border-color: #6b5520; color: #e3c377; }
html[data-theme="dark"] .stat__sev--maintenance { background: #17253b; border-color: #35527f; color: #9db9e8; }
html[data-theme="dark"] .stat__st--resolved { background: #12302a; border-color: #2f6b55; color: #46d39a; }
.stat__tl { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.stat__tl li { padding-left: 14px; border-left: 2px solid var(--line); }
.stat__tl p { margin: 4px 0 0; }
.stat__tt { color: var(--slate); font-size: .88rem; font-weight: 600; }
.stat__sub { font-size: 1.05rem; margin: 26px 0 0; }

/* Help pages: sub-headings (steps, good to know) get room, and the first line after a list is not crammed */
.doc h3 { margin: 1.5rem 0 .5rem; font-size: 1.05rem; }
.doc ol { margin: 0 0 1rem; padding-left: 1.4rem; }
.doc ol li + li { margin-top: .5rem; }

/* Start page: short status and short security overview */
.dev__brief { margin-top: clamp(36px, 5vw, 56px); padding-top: 28px; }
.dev__live { margin: 0 0 8px; color: var(--d-ink); font-size: 1.02rem; }
.dev__live b { color: var(--d-gold); }
.dev__sec { margin-top: clamp(28px, 4vw, 44px); padding-top: 28px; }
.dev__sec .dev__h { margin-bottom: 16px; font-size: 1.15rem; }
.dev__safe { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 24px; }
.dev__safe li { display: grid; gap: 4px; align-content: start; }
.dev__safe b { color: var(--d-ink); font-size: .95rem; }
.dev__safe span { color: var(--d-mute); font-size: .88rem; line-height: 1.5; }
@media (max-width: 860px) { .dev__safe { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .dev__safe { grid-template-columns: 1fr; } }

/* Feature tour: ready and in-progress state */
.tour__key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 8px 0 0; font-size: .85rem; color: var(--slate, #556070); }
.tour__k { display: inline-flex; align-items: center; gap: 7px; }
.tour__k::before { content: ""; width: 12px; height: 12px; border-radius: 3px; border: 1.5px solid #c9a24e; background: #fff; }
.tour__k.is-ready::before { background: #2f7d52; border-color: #2f7d52; }
.panel__state { display: inline-block; margin-left: 10px; padding: 2px 9px; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; border-radius: 999px; }
.panel__state.is-ready { color: #fff; background: #2f7d52; }
.panel__state.is-building { color: #6b5420; background: #eadfc6; }
.panel__wait { margin: 0 0 12px; color: #6b5420; font-weight: 600; }
.panel__wait::before { content: "\23F3\00a0"; }
[data-theme="dark"] .panel__state.is-building { color: #e3c377; background: #3a2f18; }
[data-theme="dark"] .panel__wait { color: #e3c377; }
[data-theme="dark"] .tour__k::before { background: #1a202b; }
.dev__step { padding-bottom: 22px; }
.globe-on .tour__key { position: absolute; left: 0; top: 4px; margin: 0; z-index: 2; }

/* Note for visitors who switched animations off */
.motion-note { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 90; display: flex; gap: 16px; align-items: center; max-width: min(640px, calc(100vw - 28px)); padding: 12px 16px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .4); font-size: .92rem; }
.motion-note p { margin: 0; }
.motion-note__ok { flex: none; padding: 7px 14px; border-radius: 8px; border: 1px solid var(--line); background: transparent; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.motion-note__ok:hover { border-color: var(--brass); }

/* Sicherheitsnetz: Wer im System "Bewegung reduzieren" gewählt hat, bekommt überall Ruhe (Inhalte bleiben sichtbar). */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* Köderfeld im Formular für frühen Zugang (Bots füllen es aus, Menschen sehen es nicht) */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Erfolgs-Animation des Formulars für frühen Zugang: "Comb-ined" (Waben fliegen zusammen) */
.cb-done { max-width: 520px; margin: 8px auto 0; text-align: center; outline: none; }
.cb-svg { width: min(100%, 300px); height: auto; display: block; margin: 0 auto; overflow: visible; }
.cb-hex { stroke: var(--brass); stroke-width: 2.5; stroke-linejoin: round; }
.cb-hex--0 { fill: var(--brass-soft); }
.cb-hex--1 { fill: var(--brass-light); }
.cb-hex--2 { fill: var(--chalk); }
.cb-hex--core { fill: var(--ink); stroke: var(--brass-light); }
.cb-check { stroke: var(--paper); stroke-dasharray: 1; stroke-dashoffset: 1; animation: cb-draw .55s cubic-bezier(.65, 0, .35, 1) 1.35s both; }
.cb-fly { animation: cb-in .95s cubic-bezier(.2, .8, .2, 1) both; }
.cb-f0 { --fx: 0px; --fy: -190px; --fr: 140deg; animation-delay: .75s; }
.cb-f1 { --fx: 230px; --fy: -70px; --fr: 200deg; animation-delay: 0s; }
.cb-f2 { --fx: 200px; --fy: 150px; --fr: -160deg; animation-delay: .1s; }
.cb-f3 { --fx: -190px; --fy: 170px; --fr: 180deg; animation-delay: .2s; }
.cb-f4 { --fx: -240px; --fy: 20px; --fr: -200deg; animation-delay: .3s; }
.cb-f5 { --fx: -170px; --fy: -160px; --fr: 160deg; animation-delay: .4s; }
.cb-f6 { --fx: 90px; --fy: -200px; --fr: -140deg; animation-delay: .5s; }
@keyframes cb-in {
  0% { opacity: 0; transform: translate(var(--fx), var(--fy)) rotate(var(--fr)) scale(.25); }
  25% { opacity: 1; }
  72% { transform: translate(0, 0) rotate(0) scale(1.14); }
  100% { opacity: 1; transform: none; }
}
@keyframes cb-draw { to { stroke-dashoffset: 0; } }
.cb-ring { stroke: var(--brass); stroke-width: 3; opacity: 0; transform-box: fill-box; transform-origin: center; animation: cb-ring 1.3s ease-out 1.6s both; }
.cb-ring--2 { animation-delay: 1.85s; }
@keyframes cb-ring { 0% { opacity: .75; transform: scale(1); } 100% { opacity: 0; transform: scale(4.2); } }
.cb-spark { fill: var(--brass-light); opacity: 0; animation: cb-spark 1.1s ease-out 1.6s both; }
.cb-s1 { --sx: 120px; --sy: -20px; } .cb-s2 { --sx: 85px; --sy: -95px; } .cb-s3 { --sx: 10px; --sy: -125px; } .cb-s4 { --sx: -90px; --sy: -90px; }
.cb-s5 { --sx: -125px; --sy: 10px; } .cb-s6 { --sx: -80px; --sy: 100px; } .cb-s7 { --sx: 15px; --sy: 125px; } .cb-s8 { --sx: 95px; --sy: 85px; }
@keyframes cb-spark {
  0% { opacity: 0; transform: translate(0, 0) scale(.4) rotate(0); }
  20% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--sx), var(--sy)) scale(1.5) rotate(120deg); }
}
.cb-done .cb-title { margin: 6px 0 8px; font-size: clamp(2.4rem, 8vw, 3.6rem); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; display: flex; justify-content: center; align-items: baseline; overflow: hidden; padding-bottom: 4px; }
.cb-w1 { color: var(--brass); animation: cb-l .7s cubic-bezier(.2, .8, .2, 1) 1.5s both; }
.cb-w2 { color: var(--ink); animation: cb-r .7s cubic-bezier(.2, .8, .2, 1) 1.5s both; }
.cb-hy { color: var(--brass); animation: cb-pop .6s cubic-bezier(.3, 1.6, .5, 1) 2.05s both; }
@keyframes cb-l { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: none; } }
@keyframes cb-r { from { opacity: 0; transform: translateX(60px); } to { opacity: 1; transform: none; } }
@keyframes cb-pop { 0% { opacity: 0; transform: scale(0) rotate(-60deg); } 100% { opacity: 1; transform: none; } }
.cb-sub { margin: 0 auto; max-width: 44ch; color: var(--slate); animation: cb-fade .8s ease-out 2.2s both; }
@keyframes cb-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== Frühen Zugang anfragen: zentrierte Karte mit Live-Prüfung ===== */
:root { --ok: #1a8f5f; --bad: #c93a3a; }
html[data-theme="dark"] { --ok: #46d39a; --bad: #ee7b72; }
.ea { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 96px) 0 clamp(64px, 10vw, 120px); }
.ea__wrap { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.ea__head { text-align: center; max-width: 40rem; margin: 0 auto clamp(26px, 4vw, 42px); }
.ea__title { margin: 0; font-size: clamp(2.3rem, 6vw, 3.9rem); line-height: 1.04; letter-spacing: -.025em; text-wrap: balance;
  color: var(--ink); }
.ea__lead { margin: 16px auto 0; color: var(--slate); font-size: clamp(1.02rem, 2vw, 1.2rem); max-width: 34rem; }
@keyframes ea-rise { from { opacity: 0; } to { opacity: 1; } }

.ea__stage { width: 100%; display: flex; justify-content: center; }
.ea__card { --mx: 50%; --my: 0px; position: relative; overflow: hidden; isolation: isolate; width: min(100%, 640px); margin: 0; display: grid; gap: 22px;
  padding: clamp(24px, 4.5vw, 44px); border-radius: 28px; border: 1px solid var(--line);
  background: color-mix(in srgb, var(--paper) 90%, transparent); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 40px 90px -40px rgba(23, 32, 43, .45), 0 2px 0 rgba(255, 255, 255, .5) inset; animation: ea-rise .5s ease both; }
.ea__card::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .9;
  background: radial-gradient(520px circle at 50% 0, rgba(227, 195, 119, .14), transparent 70%); }
.ea__card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--brass-light), var(--brass), var(--brass-light), var(--brass)); }

/* Fortschritt: vier Waben füllen sich, je ein Feld */
.ea__prog { display: flex; justify-content: center; gap: 10px; margin: -4px 0 2px; }
.ea__hx { width: 24px; height: 27px; background: var(--line); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background .3s; }
.ea__hx.is-on { background: linear-gradient(135deg, var(--brass-light), #d4a94a); }
.ea__prog.is-all .ea__hx.is-on { background: var(--ok); }

/* Felder */
.fld { display: grid; gap: 7px; }
.fld > label, .chips > legend { font-weight: 700; font-size: .98rem; padding: 0; }
.fld__box { position: relative; }
.fld__box input, .fld__box textarea { width: 100%; font: inherit; color: var(--ink); background: var(--paper); border: 1.5px solid var(--line); border-radius: 15px;
  padding: 15px 50px 15px 48px; transition: border-color .2s, box-shadow .2s; }
.fld__box textarea { padding: 15px 16px; resize: vertical; min-height: 110px; }
.fld__box input:hover, .fld__box textarea:hover { border-color: var(--brass); }
.fld__box input:focus, .fld__box textarea:focus { outline: none; border-color: var(--brass); box-shadow: 0 0 0 3px rgba(138, 100, 32, .18); }
.fld__ic { position: absolute; left: 15px; top: 50%; width: 21px; height: 21px; margin-top: -10.5px; color: var(--slate); transition: color .2s; pointer-events: none; }
.fld__ic svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fld__box:focus-within .fld__ic { color: var(--brass); }
.fld__st { position: absolute; right: 13px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; display: grid; place-items: center; opacity: 0; background: var(--ok); pointer-events: none; transition: opacity .2s; }
.fld__st svg { grid-area: 1 / 1; width: 15px; height: 15px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.fld.is-ok .fld__box input { border-color: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); }
.fld.is-ok .fld__ic { color: var(--ok); }
.fld.is-ok .fld__st { opacity: 1; }
.fld.is-ok .fld__ok { opacity: 1; }
.fld.is-bad .fld__box input { border-color: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 16%, transparent); }
.fld.is-bad .fld__ic { color: var(--bad); }
.fld.is-bad .fld__st { opacity: 1; background: var(--bad); }
.fld.is-bad .fld__no { opacity: 1; }
.fld__msg { margin: 0; font-size: .9rem; font-weight: 600; color: var(--bad); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .25s, opacity .25s; }
.fld.is-bad .fld__msg, .agree.is-bad .fld__msg { max-height: 3.5em; opacity: 1; }
.fld__cnt { margin: -2px 2px 0; text-align: right; font-size: .82rem; color: var(--slate); }

/* Auswahl per Klick (Branche, Teamgröße) */
.chips { border: 0; padding: 0; margin: 0; min-width: 0; }
.chips > legend { margin-bottom: 10px; }
.chips__row { display: flex; flex-wrap: wrap; gap: 9px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 17px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 600; font-size: .95rem; transition: border-color .2s, background .2s; }
.chip:hover span { border-color: var(--brass); }
.chip input:checked + span { background: linear-gradient(135deg, var(--brass-light), #d4a94a); border-color: var(--brass); color: #17202b; }
.chip input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }

/* Zustimmung */
.agree { display: grid; gap: 6px; }
.agree input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.agree label { display: flex; gap: 13px; align-items: flex-start; cursor: pointer; line-height: 1.45; }
.agree__box { flex: none; width: 26px; height: 26px; margin-top: 1px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--paper); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.agree__box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .2s ease; }
.agree label:hover .agree__box { border-color: var(--brass); }
.agree input:checked + label .agree__box { background: var(--ok); border-color: var(--ok); }
.agree input:checked + label .agree__box svg { stroke-dashoffset: 0; }
.agree input:focus-visible + label .agree__box { outline: 3px solid var(--brass); outline-offset: 2px; }
.agree.is-bad .agree__box { border-color: var(--bad); box-shadow: 0 0 0 4px color-mix(in srgb, var(--bad) 16%, transparent); }

/* Senden */
.ea__go { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 0; border-radius: 17px; padding: 18px 24px;
  font: inherit; font-weight: 800; font-size: 1.08rem; letter-spacing: .01em; cursor: pointer; color: var(--paper); background: var(--ink);
  transition: background .25s, color .25s, box-shadow .25s; box-shadow: 0 10px 24px -16px rgba(23, 32, 43, .6); }
.ea__go:hover { box-shadow: 0 12px 26px -14px rgba(23, 32, 43, .7); }
.ea__go:active { opacity: .92; }
.ea__go:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.ea__card.is-ready .ea__go { background: linear-gradient(110deg, #8a6420, #e3c377 55%, #b58a35); color: #17202b; }
.ea__go-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 3px solid currentColor; border-right-color: transparent; animation: ea-spin .7s linear infinite; }
.ea__card.is-busy .ea__go-spin { display: inline-block; }
.ea__card.is-busy .ea__go { pointer-events: none; opacity: .85; }
@keyframes ea-spin { to { transform: rotate(360deg); } }
.ea__card .form__hint { text-align: center; font-size: .9rem; }
.ea__card .draft-note { text-align: center; }

/* schwebende Waben im Hintergrund */
.ea__orb { position: absolute; z-index: 0; pointer-events: none; background: var(--brass-soft); opacity: .55; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.ea__orb--1 { width: 150px; height: 168px; left: max(2%, calc(50% - 560px)); top: 90px; }
.ea__orb--2 { width: 90px; height: 101px; right: max(3%, calc(50% - 540px)); top: 300px; background: var(--brass-light); opacity: .3; }
.ea__orb--3 { width: 120px; height: 135px; left: max(6%, calc(50% - 480px)); bottom: 70px; }
@media (max-width: 760px) { .ea__orb { display: none; } .ea__card { border-radius: 22px; } }


/* Status-Abschnitt (Startseite): ruhig und übersichtlich. Phasen in einer Zeile, darunter drei Spalten. */
.dev { padding-block: clamp(56px, 8vw, 96px); }
.dev .wrap > .dev__eyebrow { margin-bottom: 12px; }
.dev .wrap > h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
.dev .wrap > .dev__sub { max-width: 40em; margin-top: 16px; }
.dev__phases { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.dev__phases li { position: relative; display: grid; gap: 4px; padding: 14px 16px; border: 1px solid var(--d-line); border-radius: 12px; }
.dev__phases li i { width: 9px; height: 9px; border-radius: 50%; background: #3a4352; margin-bottom: 6px; }
.dev__phases li span { font-weight: 700; color: #c4cad3; line-height: 1.3; }
.dev__phases li em { font-style: normal; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--d-mute); }
.dev__phases li.is-done i { background: var(--d-gold); }
.dev__phases li.is-done span, .dev__phases li.is-now span { color: var(--d-ink); }
.dev__phases li.is-done em { color: var(--d-gold); }
.dev__phases li.is-now { border-color: var(--d-gold); }
.dev__phases li.is-now i { background: var(--d-gold); box-shadow: 0 0 0 4px rgba(209, 168, 92, .22); }
.dev__phases li.is-now em { color: var(--d-gold2); }
.dev__board { margin-top: 20px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.dev__col { padding: 20px 22px; border: 1px solid var(--d-line); border-radius: 14px; }
.dev__col h3 { margin: 0 0 12px; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--d-mute); }
.dev__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.dev__col li { position: relative; padding-left: 18px; color: var(--d-ink); line-height: 1.4; overflow-wrap: anywhere; }
.dev__col li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: #3a4352; }
.dev__col--live li::before { background: #46d39a; }
.dev__col--now li::before { background: var(--d-gold); }
.dev__col--live h3 { color: #6fd6a1; }
.dev__col--now h3 { color: var(--d-gold2); }
.dev .wrap > .dev__fine { margin-top: 18px; }
.dev__more { margin-top: 28px; border-top: 1px solid var(--d-line); padding-top: 18px; }
.dev__more summary { cursor: pointer; font-weight: 700; color: var(--d-ink); list-style: none; display: inline-flex; align-items: center; gap: 10px; }
.dev__more summary::-webkit-details-marker { display: none; }
.dev__more summary::after { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid var(--d-line); border-radius: 50%; color: var(--d-gold2); line-height: 1; }
.dev__more[open] summary::after { content: "–"; }
.dev__more .dev__safe { margin-top: 18px; }
@media (max-width: 860px) {
  .dev__phases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dev__board { grid-template-columns: 1fr; }
}

/* Titel: ruhigere, rundere Schrift. Fließtext und Untertitel bleiben unverändert. */
h1, h2, h3, .hero h1, .feature h1, .doc h1, .dev h2, .door .door__in h2 { font-family: var(--font-head); font-weight: 600; letter-spacing: -0.022em; }
.flow > h2, .related > h2, .band h2 { letter-spacing: -0.018em; }

/* Status: ein Balken mit vier Etappen */
.dev__meter { margin-top: 30px; max-width: 46rem; }
.dev__meter-top { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; }
.dev__meter-top b { font-size: 1.15rem; color: var(--d-ink); }
.dev__meter-top span { color: var(--d-mute); font-size: .92rem; }
.dev__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 14px; }
.dev__seg { all: unset; box-sizing: border-box; cursor: pointer; display: grid; gap: 3px; padding-bottom: 2px; min-width: 0; }
.dev__seg i { display: block; height: 10px; border-radius: 6px; background: var(--d-line); position: relative; overflow: hidden; transition: transform .2s; }
.dev__seg i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--fill, 0%); background: var(--d-gold); border-radius: 6px; }
.dev__seg.is-done i::after { background: var(--d-go, #4cc38a); }
.dev__seg:hover i, .dev__seg:focus-visible i, .dev__seg[aria-pressed="true"] i { transform: scaleY(1.5); }
.dev__seg:focus-visible { outline: 2px solid var(--d-gold); outline-offset: 4px; border-radius: 6px; }
.dev__seg-name { margin-top: 6px; font-size: .84rem; font-weight: 700; color: var(--d-ink); line-height: 1.25; }
.dev__seg em { font-style: normal; font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--d-mute); }
.dev__seg.is-now em { color: var(--d-gold2, var(--d-gold)); }
.dev__caps { margin-top: 18px; min-height: 9.5rem; padding: 16px 18px; border: 1px solid var(--d-line); border-radius: 14px; }
.dev__cap h3 { margin: 0 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--d-gold); }
.dev__cap ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--d-ink); }
.dev__cap li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--d-gold); margin-right: 8px; vertical-align: middle; }
@media (max-width: 36em) { .dev__seg-name { font-size: .74rem; } .dev__caps { min-height: 12rem; } .dev__cap ul { display: grid; } }

/* Menü mit Gruppen: Gruppen-Waben sind hell umrandet, die Seiten einer geöffneten Gruppe klappen darunter auf */
.hexcell[hidden] { display: none; }
.hexcell--group { background: var(--brass); }
.hexcell--group::before { background: color-mix(in srgb, var(--brass) 14%, var(--paper)); }
.hexcell--group.is-open::before { background: color-mix(in srgb, var(--brass) 42%, var(--paper)); }
.hexcell--group span { white-space: pre; }
.hexcell--child { font-weight: 600; }
.hexcell--pop { animation: hexpop .38s cubic-bezier(.3, 1.4, .5, 1) both; }
@keyframes hexpop { from { opacity: 0; scale: .55; } to { opacity: 1; scale: 1; } }
@media (prefers-reduced-motion: reduce) { .hexcell--pop { animation: none; } }

/* Hero: wechselndes Wort */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.hero__lead.is-rot { min-height: 4.7em; }
.rot__word { display: inline-block; color: var(--ink); font-weight: 700; border-bottom: 2px solid var(--brass); transition: opacity .26s ease, transform .26s ease; }
.rot__word.is-out { opacity: 0; transform: translateY(-.35em); }
.rot__word.is-in { animation: rotIn .32s ease both; }
@keyframes rotIn { from { opacity: 0; transform: translateY(.35em); } to { opacity: 1; transform: none; } }

.hero h1 { font-size: clamp(2.5rem, 1.7rem + 3.6vw, 4.4rem); line-height: 1.04; }
@media (max-width: 30em) { .hero h1 { font-size: clamp(2rem, 9.2vw, 2.8rem); } }
.dev__caps { min-height: 7.5rem; }
@media (max-width: 36em) { .dev__caps { min-height: 11rem; } }
