/*
 * Kontexo one-pager. The tokens are the product's own (packages/ui/src/styles/theme.css):
 * the cool grey ramp with a violet cast, the aubergine brand, Inter, a 6px radius, 13px chrome
 * and the motion ladder. Light and dark follow the visitor's system; ?theme= forces one.
 */

@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
    U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* The product's neutral ramp. */
  --base-20: #ffffff;
  --base-50: #f8f8fa;
  --base-75: #f2f1f5;
  --base-100: #e8e7ed;
  --base-150: #dedce5;
  --base-200: #d2d0d9;
  --base-300: #b8b6c0;
  --base-650: #615e6a;
  --base-700: #4f4d58;
  --base-800: #3a3842;
  --base-850: #2a2930;
  --base-900: #1f1e24;
  --base-925: #1a191e;
  --base-950: #121115;
  --base-1000: #09080b;

  --primary: #614195;
  --primary-ink: #ffffff;
  --primary-deep: #4a3173;
  --primary-soft: #ebe5f4; /* the brand at 15% on white, flattened */
  --primary-mid: #cdbfe3;
  --accent-ink: #614195; /* the brand as text: a link under the pointer */

  --ground: var(--base-20);
  --ground-2: var(--base-75);
  --ink: var(--base-900);
  --muted: var(--base-650);
  --dark-field: var(--base-950);
  --dark-ink: var(--base-50);
  --dark-muted: var(--base-300);
  --ring: color-mix(in srgb, #2e1f4d 55%, transparent);
  --clip-ground: #ffffff; /* the app's page colour, behind a recording until it shows */
  /* The product's card with its success and info surfaces, for the run cards. */
  --card: #ffffff;
  --card-ink: var(--base-900);
  --card-line: var(--base-100);
  --card-muted: var(--base-650);
  --ok: #e8f6ec;
  --ok-ink: #166534;
  --ok-line: #bfe3cb;
  --info: #eaf1fe;
  --info-ink: #1c3f8f;
  --info-line: #c7d9fb;

  --radius: 6px;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);

  --motion-popover: 100ms;
  --motion-menu: 150ms;
  --motion-dialog: 280ms;
  --ease-shell: cubic-bezier(0.67, 0.005, 0.29, 1);
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Five sizes do the work. */
  --step-hero: clamp(38px, 4.9vw, 76px);
  --step-h2: clamp(30px, 3.6vw, 54px);
  --step-big: clamp(24px, 2.2vw, 32px);
  --step-body: clamp(16px, 1.2vw, 18px);
  --step-small: 13px;

  --margin: clamp(16px, 3vw, 40px);
  --gap-section: clamp(120px, 14vw, 200px);
  --notch: 96px;

  color-scheme: light;
}

/* Dark, twice on purpose: once for the system setting, once for ?theme=dark. Keep them in step. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ground: var(--base-950);
    --ground-2: var(--base-900);
    --ink: var(--base-50);
    --muted: var(--base-300);
    --primary-soft: #2a2236;
    --primary-mid: #3c2f55;
    --accent-ink: #cdbfe3;
    --clip-ground: var(--base-950);
    --card: var(--base-900);
    --card-ink: var(--base-50);
    --card-line: var(--base-800);
    --card-muted: var(--base-300);
    --ok: #12291d;
    --ok-ink: #86efac;
    --ok-line: #24492f;
    --info: #16244a;
    --info-ink: #bed3fb;
    --info-line: #2b3f70;
    --card: var(--base-900);
    --card-ink: var(--base-50);
    --card-line: var(--base-800);
    --card-muted: var(--base-300);
    --ok: #12291d;
    --ok-ink: #86efac;
    --ok-line: #24492f;
    --info: #16244a;
    --info-ink: #bed3fb;
    --info-line: #2b3f70;
    --dark-field: var(--base-1000);
    --ring: color-mix(in srgb, #d9cdf5 60%, transparent);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --ground: var(--base-950);
  --ground-2: var(--base-900);
  --ink: var(--base-50);
  --muted: var(--base-300);
  --primary-soft: #2a2236;
  --primary-mid: #3c2f55;
  --accent-ink: #cdbfe3;
  --clip-ground: var(--base-950);
  --dark-field: var(--base-1000);
  --ring: color-mix(in srgb, #d9cdf5 60%, transparent);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
[hidden] {
  display: none !important;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, Helvetica, Arial, sans-serif;
  font-size: var(--step-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
}
img,
video {
  display: block;
  max-width: 100%;
}
button,
input {
  font: inherit;
  color: inherit;
}
section[id],
[id="impressum"],
[id="datenschutz"] {
  scroll-margin-top: 24px;
}
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
  border-radius: var(--radius);
}
::selection {
  background: var(--primary-mid);
  color: var(--ink);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
  padding-inline: var(--margin);
}
h2 {
  font-size: var(--step-h2);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 560;
  text-wrap: balance;
}

/* Buttons: one shape on the whole page, the product's 6px rectangle. */
.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--primary-ink);
  font-size: 15px;
  font-weight: 550;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition:
    background var(--motion-menu) var(--ease-shell),
    transform var(--motion-menu) var(--ease-shell);
}
.button:hover {
  background: var(--primary-deep);
}
.button:active {
  transform: translateY(1px) scale(0.98);
}
.button svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------- the recordings */
/* A clip is a recording in a box of its own shape; the still shows until it plays. */
.clip {
  position: relative;
  overflow: hidden;
  background: var(--clip-ground);
}
.clip video,
.clip img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.clip--hero {
  aspect-ratio: 5 / 4;
}
.clip--wide {
  aspect-ratio: 16 / 10;
}
.pause {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: var(--step-small);
  white-space: nowrap;
  cursor: pointer;
}
.pause svg {
  width: 14px;
  height: 14px;
}
.pause--icon {
  position: absolute;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgb(9 8 11 / 0.72);
  color: #fff;
  transition: background var(--motion-menu) var(--ease-shell);
}
.pause--icon:hover {
  background: rgb(9 8 11 / 0.92);
}
.pause--icon svg {
  width: 18px;
  height: 18px;
}

/* ---------------------------------------------------------------- navigation */
.nav {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 24px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius);
  background: var(--primary);
  color: #f8f6fb;
}
.mark svg {
  width: 18px;
  height: 18px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px;
  white-space: nowrap;
}
.nav-links a:not(.button) {
  text-decoration: none;
  transition: color var(--motion-menu) var(--ease-shell);
}
.nav-links a:not(.button):hover {
  color: var(--accent-ink);
}

/* ---------------------------------------------------------------- hero */
/* The title stands on the page in one line; the words and the recording stand on the picture. */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.hero-head {
  padding-block: clamp(8px, 1.4vw, 20px) clamp(24px, 2.8vw, 40px);
}
.hero h1 {
  font-size: var(--step-hero);
  line-height: 1;
  letter-spacing: -0.035em;
  font-weight: 560;
  text-wrap: balance;
}
.hero-copy {
  padding: 0 var(--margin) 48px;
}
.hero .lede {
  max-width: 52ch;
  font-size: clamp(17px, 1.45vw, 21px);
  line-height: 1.5;
}
.hero .actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 16px 20px;
  flex-wrap: wrap;
}
.hero .actions .quiet {
  font-size: 15px;
  color: var(--muted);
}
.stage {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 56px 0 56px clamp(28px, 4.5vw, 72px);
  overflow: hidden;
  /* The product's own shape: the corner the K's arrow points at, cut as a notch. */
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
  background: var(--base-1000);
}
.stage > img,
.build-stage > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.stage-panel {
  flex: none;
  /* Runs off the right edge until the stage is wide enough to hold it whole. */
  width: min(calc(100% + 12px), 880px);
  border-radius: 10px;
}
.stage .pause--icon {
  left: clamp(28px, 4.5vw, 72px);
  bottom: 8px;
}

/* ---------------------------------------------------------------- workflows: explain once */
.build {
  margin-top: var(--gap-section);
}
.build-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
}
.build h2 {
  grid-column: 1 / span 7;
  max-width: 12em;
}
.build-copy {
  grid-column: 9 / span 4;
  max-width: 44ch;
}
.build-player {
  margin-top: clamp(40px, 5vw, 72px);
}
.build-stage {
  position: relative;
  /* The chapters above and the whole recording fit one screen: no more head room than the button needs. */
  padding: 52px clamp(20px, 5vw, 72px) 0;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - var(--notch)) 0, 100% var(--notch), 100% 100%, 0 100%);
  background: var(--base-1000);
}
.build-frame {
  /* The chapters above and the whole recording fit one screen (owner, 21 November 2026): the
     frame is as wide as the screen's height allows, and stands in the middle of the picture. */
  width: min(100%, max(480px, calc((100svh - var(--above, 200px)) * 1.6)));
  margin-inline: auto;
  border-radius: 10px 10px 0 0;
}
.build-stage .pause--icon {
  left: clamp(20px, 5vw, 72px);
  top: 6px;
}
/* The four chapters of the recording. The one that plays is solid brand and shows how far it is;
   a press jumps there. */
.chapters {
  margin-bottom: 6px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  counter-reset: chapter;
}
.chapters li {
  display: grid;
  counter-increment: chapter;
}
.chapters button {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.5em 1fr;
  align-content: start;
  text-align: left;
  padding: 18px 20px 24px;
  border: 0;
  border-radius: var(--radius);
  background: var(--ground-2);
  font-size: 17px;
  line-height: 1.4;
  cursor: pointer;
  transition:
    background var(--motion-menu) var(--ease-shell),
    color var(--motion-menu) var(--ease-shell);
}
.chapters button::before {
  content: counter(chapter);
  color: var(--accent-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.chapters button:hover {
  background: var(--primary-soft);
}
.chapters button[aria-current="true"] {
  background: var(--primary);
  color: #fff;
}
.chapters button[aria-current="true"]::before {
  color: #fff;
}
.chapters button[aria-current="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: calc(var(--p, 0) * 100%);
  background: rgb(255 255 255 / 0.6);
}
/* What a workflow can do: four sentences, two by two. */
.facts {
  margin-top: clamp(64px, 7vw, 104px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(36px, 4vw, 56px) 24px;
}
.facts li {
  grid-column: span 5;
  font-size: 17px;
  line-height: 1.55;
}
.facts li:nth-child(even) {
  grid-column: 7 / span 5;
}
.facts strong {
  display: block;
  margin-bottom: 8px;
  font-size: var(--step-big);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 560;
}
.examples {
  margin-top: clamp(48px, 5vw, 72px);
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: 10px;
  background: var(--primary-soft);
  font-size: var(--step-big);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 500;
}

/* ---------------------------------------------------------------- integrations: four fields */
.connect {
  margin-top: var(--gap-section);
}
.connect-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.connect-head h2 {
  grid-column: 1 / span 7;
  max-width: 11em;
}
.connect-head p {
  grid-column: 9 / span 4;
  max-width: 40ch;
}
/* Four bands of colour, one under the other, each a group of integrations: its name and how far
   it is proven on the left, its integrations from the seventh column. As columns side by side the
   four read as a row of icon cards, and the short groups stood half empty. */
.field {
  padding-block: clamp(32px, 3.4vw, 52px);
}
.field:nth-child(1) {
  background: var(--ground-2);
}
.field:nth-child(2) {
  background: var(--primary-soft);
}
.field:nth-child(3) {
  background: var(--primary-mid);
}
.field:nth-child(4) {
  background: var(--primary);
  color: #fff;
}
.field-in {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.field-name {
  grid-column: 1 / span 5;
}
.field h3 {
  font-size: var(--step-big);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
}
/* How far a group is proven, under its name. */
.field-clause {
  margin-top: 10px;
  max-width: 34ch;
  font-size: 15px;
  line-height: 1.5;
}
/* A group's integrations: the vendor's own mark as the product draws it, the name, one line. */
.links {
  grid-column: 7 / span 6;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}
.links li {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: 14px;
  align-items: start;
  font-size: 16px;
  line-height: 1.45;
}
.links img,
.links svg {
  width: 32px;
  height: 32px;
}
.links svg {
  padding: 3px;
}
.links strong {
  display: block;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 650;
}
/* The last band holds no list: it says what happens when a program is missing. */
.field-say {
  grid-column: 7 / span 6;
  max-width: 30ch;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.connect-foot {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.connect-foot p:first-child {
  grid-column: 1 / span 7;
  max-width: 62ch;
}
.connect-admin {
  grid-column: 9 / span 4;
  font-size: 15px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- one case, three recordings (dark) */
.showcase {
  margin-top: var(--gap-section);
  background: var(--dark-field);
  color: var(--dark-ink);
  padding-block: clamp(96px, 10vw, 160px);
}
.showcase-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: end;
}
.showcase h2 {
  grid-column: 1 / span 7;
}
.showcase-head p {
  grid-column: 9 / span 4;
  max-width: 40ch;
}
.player {
  margin-top: clamp(48px, 5vw, 80px);
}
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 24px;
}
.tab {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 6px;
  align-content: start;
  text-align: left;
  padding: 20px 22px 24px;
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  color: var(--dark-muted);
  cursor: pointer;
  transition:
    background var(--motion-menu) var(--ease-shell),
    color var(--motion-menu) var(--ease-shell);
}
.tab:hover {
  background: var(--base-925);
  color: var(--dark-ink);
}
.tab[aria-selected="true"] {
  background: var(--primary);
  color: #fff;
}
/* How far the running recording is: the next step starts when it reaches the end. */
.tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 4px;
  width: calc(var(--p, 0) * 100%);
  background: rgb(255 255 255 / 0.6);
}
.tab-name {
  font-size: var(--step-big);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 560;
}
.tab-text {
  font-size: 16px;
  line-height: 1.5;
  color: var(--dark-ink);
}
.tab[aria-selected="true"] .tab-text {
  color: #fff;
}
/* The tabs above and the whole recording fit one screen, as in the workflow section, and the
   recording stays a little smaller than the one there: that one is the page's largest. */
.screen,
.screen-caption {
  width: min(
    calc(100% - 2 * clamp(24px, 5.5vw, 80px)),
    max(440px, calc((100svh - var(--above, 200px)) * 1.6 - 64px))
  );
  margin-inline: auto;
}
.screen {
  border-radius: 10px;
  overflow: hidden;
  background: var(--base-900);
}
/* Without JavaScript the tabs cannot turn, so the three recordings stand under each other as stills. */
html:not(.js) .pane[hidden] {
  display: block;
  margin-top: 6px;
}
.screen-caption {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: var(--step-small);
  color: var(--dark-muted);
}
.screen-caption .pause {
  color: var(--dark-ink);
}

/* ---------------------------------------------------------------- what it can do: the product's own command menu */
.commands {
  margin-top: var(--gap-section);
}
.cmd {
  margin-top: 40px;
}
.cmd-search {
  display: flex;
  align-items: center;
  gap: 16px;
  height: clamp(64px, 6vw, 88px);
  padding: 0 24px;
  border-radius: 10px;
  background: var(--ground-2);
  width: min(100%, 980px);
}
.cmd-search svg {
  flex: none;
  width: clamp(22px, 2vw, 30px);
  height: clamp(22px, 2vw, 30px);
  color: var(--muted);
}
.cmd-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: var(--step-big);
  letter-spacing: -0.01em;
  outline: none;
}
.cmd-search input::placeholder {
  color: var(--muted);
}
.cmd-search:focus-within {
  box-shadow: inset 0 0 0 2px var(--primary);
}
.cmd-list {
  margin-top: 16px;
  display: grid;
}
.cmd-item {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  border-radius: 10px;
  padding: 14px 24px;
  cursor: pointer;
  transition:
    background var(--motion-popover) var(--ease-shell),
    color var(--motion-popover) var(--ease-shell);
}
.cmd-name {
  display: block;
  font-size: clamp(30px, 4.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 540;
}
.cmd-text {
  margin-top: 10px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.5;
}
/* One entry is open at a time. Without JavaScript nothing can open one, so all of them are. */
.js .cmd-text {
  display: none;
}
.cmd-item:hover {
  background: var(--ground-2);
}
.cmd-item[aria-expanded="true"] {
  background: var(--primary);
  color: #fff;
}
.cmd-item[aria-expanded="true"] .cmd-text {
  display: block;
}
.cmd-empty {
  padding: 24px;
  font-size: 17px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- europe: the aster field */
.europe {
  position: relative;
  margin-top: var(--gap-section);
  min-height: 100svh;
  color: #fff;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--base-1000);
}
.europe > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.europe-body {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  padding-block: clamp(80px, 10vw, 140px);
}
.europe-panel {
  grid-column: 1 / span 8;
  background: rgb(9 8 11 / 0.78);
  padding: clamp(28px, 3vw, 48px);
  border-radius: 10px;
}
.europe h2 {
  color: #fff;
}
.europe-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px 32px;
}
.europe-list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  align-content: start;
  font-size: 16px;
  line-height: 1.5;
}
.europe-list svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
.europe-list strong {
  font-weight: 600;
}
.europe-side {
  grid-column: 9 / span 4;
  align-self: end;
  display: grid;
  gap: 20px;
  background: rgb(9 8 11 / 0.78);
  padding: clamp(24px, 2.4vw, 36px);
  border-radius: 10px;
}
.europe-never {
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  font-weight: 500;
}
.europe-web {
  font-size: 16px;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- introduction: the second half */
.onboard {
  margin-top: var(--gap-section);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.onboard-head {
  grid-column: 1 / span 5;
}
.onboard-head p {
  margin-top: 28px;
  max-width: 40ch;
}
.onboard-rows {
  grid-column: 7 / span 6;
  display: grid;
  gap: clamp(28px, 3vw, 44px);
  padding-top: 6px;
}
.onboard-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 24px;
  align-items: baseline;
}
.onboard-rows dt {
  font-size: var(--step-big);
  line-height: 1.2;
  letter-spacing: -0.02em;
  font-weight: 560;
}
.onboard-rows dd {
  font-size: 17px;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- questions: one answer open */
.faq {
  margin-top: var(--gap-section);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.faq h2 {
  grid-column: 1 / span 5;
  max-width: 9em;
}
.faq-list {
  grid-column: 7 / span 6;
  display: grid;
  gap: 4px;
}
.faq details {
  border-radius: 10px;
  transition: background var(--motion-menu) var(--ease-shell);
}
.faq details[open] {
  background: var(--ground-2);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  border-radius: 10px;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 560;
  cursor: pointer;
  list-style: none;
  transition: background var(--motion-popover) var(--ease-shell);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq details:not([open]) summary:hover {
  background: var(--ground-2);
}
.faq summary svg {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--muted);
  transition: transform var(--motion-menu) var(--ease-shell);
}
.faq details[open] summary svg {
  transform: rotate(180deg);
}
.faq details p {
  padding: 0 24px 22px;
  max-width: 62ch;
  font-size: 17px;
  line-height: 1.55;
}

/* ---------------------------------------------------------------- the founder's letter */
.letter {
  margin-top: var(--gap-section);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  align-items: start;
}
.letter-photo,
.contact-photo {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
  background: var(--base-1000);
}
.letter-photo img,
.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.letter-photo {
  grid-column: 1 / span 4;
}
.letter-body {
  grid-column: 6 / span 6;
  max-width: 600px;
}
.letter-head {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.letter-head img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}
.letter-head span {
  font-size: 15px;
  color: var(--muted);
}
.letter-text {
  margin-top: 28px;
  display: grid;
  gap: 1.1em;
  font-size: 17px;
  line-height: 1.6;
}
.letter-text mark {
  background: var(--primary-soft);
  color: inherit;
  padding: 0 0.15em;
  border-radius: 3px;
}
.signoff {
  margin-top: 32px;
}
.signoff b {
  display: block;
  font-size: var(--step-big);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.signoff span {
  font-size: 15px;
  color: var(--muted);
}

/* ---------------------------------------------------------------- contact: one field */
.contact {
  margin-top: var(--gap-section);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
}
.contact-main {
  grid-column: 1 / span 6;
}
.contact h2 .soft {
  color: var(--muted);
  display: block;
}
.ask {
  margin-top: 36px;
  position: relative;
  max-width: 560px;
}
.ask input {
  width: 100%;
  height: 64px;
  border: 0;
  border-radius: 10px;
  padding: 0 72px 0 22px;
  background: var(--ground-2);
  font-size: 18px;
  outline: none;
}
.ask input:focus {
  box-shadow: inset 0 0 0 2px var(--primary);
}
.ask button {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  justify-content: center;
}
.ask-note {
  margin-top: 14px;
  font-size: var(--step-small);
  color: var(--muted);
}
.contact-photo {
  grid-column: 8 / span 5;
  grid-row: 1 / span 2;
}
.contact-rows {
  grid-column: 1 / span 6;
  margin-top: 56px;
  align-self: start;
  display: grid;
  gap: 22px;
}
.contact-rows li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: var(--step-big);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.contact-rows svg {
  flex: none;
  width: 24px;
  height: 24px;
  color: var(--muted);
}
.contact-rows a {
  text-decoration: none;
  transition: color var(--motion-menu) var(--ease-shell);
}
.contact-rows a:hover,
.footer a:hover {
  color: var(--accent-ink);
}
/* With a mouse, a press on the address or the number copies it; the small word after it says so. */
.copy-say {
  font-size: var(--step-small);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--muted);
}
.can-copy .contact-rows a:is(:hover, :focus-visible) + .copy-say:empty::before {
  content: "Kopieren";
}

/* ---------------------------------------------------------------- legal + footer */
.legal {
  margin-top: var(--gap-section);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: 24px;
  font-size: 15px;
  line-height: 1.55;
}
.legal section {
  grid-column: span 6;
}
.legal h2 {
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 8px;
}
.legal p {
  max-width: 60ch;
}
.footer {
  margin-top: 96px;
  padding-bottom: 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  font-size: 15px;
  color: var(--muted);
}
.footer nav {
  display: flex;
  gap: 24px;
}
.footer a {
  color: var(--ink);
  text-decoration: none;
  transition: color var(--motion-menu) var(--ease-shell);
}
.footer .end {
  text-align: right;
}

/* ---------------------------------------------------------------- motion */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition:
      opacity 600ms var(--ease-out),
      transform 600ms var(--ease-out);
    transition-delay: calc(var(--i, 0) * 75ms);
  }
  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }
  /* The signature move: the hero stage opens like a shutter, once. */
  .js .stage {
    clip-path: polygon(var(--notch) 0, var(--notch) 0, var(--notch) 100%, 0 100%, 0 var(--notch));
    transition: clip-path 1100ms var(--ease-shell);
  }
  .js .stage.is-in {
    clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
  }
  .js .stage > img {
    transform: scale(1.12);
    transition: transform 1400ms var(--ease-out);
  }
  .js .stage.is-in > img {
    transform: none;
  }
  .js .stage-panel {
    opacity: 0;
    transform: translateY(40px);
    transition:
      opacity 700ms var(--ease-out) 500ms,
      transform 700ms var(--ease-out) 500ms;
  }
  .js .stage.is-in .stage-panel {
    opacity: 1;
    transform: none;
  }
  .europe > img {
    animation: drift 40s ease-in-out infinite alternate;
  }
}
@keyframes drift {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.12) translate(-2%, -2%);
  }
}

/* ---------------------------------------------------------------- tablet */
@media (max-width: 1080px) {
  .nav-links a:not(.button) {
    display: none;
  }
  .stage {
    margin-left: var(--margin);
    min-height: 0;
    padding: 48px 0 48px 40px;
  }
  .stage .pause--icon {
    left: 40px;
    bottom: 4px;
  }
  .build h2,
  .build-copy,
  .showcase h2,
  .showcase-head p,
  .connect-head h2,
  .connect-head p,
  .connect-foot p:first-child,
  .connect-admin,
  .onboard-head,
  .onboard-rows,
  .faq h2,
  .faq-list {
    grid-column: 1 / -1;
  }
  .build-copy,
  .showcase-head p,
  .connect-head p {
    margin-top: 24px;
    max-width: 62ch;
  }
  .connect-head h2 {
    max-width: none;
  }
  .chapters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .field-name,
  .links,
  .field-say {
    grid-column: 1 / -1;
  }
  .links,
  .field-say {
    margin-top: 28px;
  }
  .build-frame,
  .screen,
  .screen-caption {
    --above: 300px;
  }
  .facts li,
  .facts li:nth-child(even) {
    grid-column: span 6;
  }
  .connect-admin {
    margin-top: 12px;
  }
  .onboard-rows,
  .faq-list {
    margin-top: 40px;
  }
  .europe-panel,
  .europe-side {
    grid-column: 1 / -1;
  }
  .europe-side {
    margin-top: 16px;
  }
  .letter-photo {
    grid-column: 1 / span 5;
  }
  .letter-body {
    grid-column: 7 / span 6;
  }
  .contact-main,
  .contact-rows {
    grid-column: 1 / span 7;
  }
  .contact-photo {
    grid-column: 9 / span 4;
  }
  .legal section {
    grid-column: 1 / -1;
  }
  .legal section + section {
    margin-top: 32px;
  }
}

/* ---------------------------------------------------------------- phone */
@media (max-width: 680px) {
  :root {
    --notch: 72px;
  }
  :root {
    --step-h2: clamp(24px, 7.6vw, 30px);
  }
  .hero h1 {
    font-size: 9vw;
  }
  .europe-panel {
    padding: 24px 20px;
  }
  .hero .lede {
    font-size: 17px;
  }
  /* The recordings made at phone size: the app as it looks on a phone, near true size. */
  .clip--hero,
  .clip--phone {
    aspect-ratio: 4 / 5;
  }
  .stage {
    margin-left: 0;
    padding: 64px 16px 24px;
  }
  .stage-panel {
    width: 100%;
  }
  .stage .pause--icon {
    left: auto;
    right: 16px;
    top: 12px;
    bottom: auto;
  }
  /* The builder's phone clip is the builder's own panel, then the canvas as close. */
  .build-stage {
    padding: 64px 0 0 16px;
  }
  .build-frame {
    width: 100%;
    aspect-ratio: 420 / 750;
    border-radius: 10px 0 0 0;
  }
  .build-stage .pause--icon {
    left: 16px;
    top: 12px;
  }
  .chapters,
  .tabs,
  .links,
  .europe-list {
    grid-template-columns: minmax(0, 1fr);
  }
  .chapters button {
    padding: 14px 16px 18px;
  }
  .examples {
    font-size: 19px;
    line-height: 1.4;
    letter-spacing: -0.01em;
  }
  .facts li,
  .facts li:nth-child(even) {
    grid-column: 1 / -1;
  }
  .tab {
    padding: 14px 16px 18px;
  }
  .screen,
  .screen-caption {
    width: 100%;
  }
  .screen-caption {
    align-items: flex-start;
  }
  .cmd-search input {
    font-size: 19px;
  }
  .links {
    gap: 20px;
  }
  .onboard-rows > div {
    display: block;
  }
  .onboard-rows dt,
  .onboard-rows dd {
    display: inline;
    font-size: 17px;
    line-height: 1.55;
    letter-spacing: 0;
  }
  .onboard-rows dt {
    font-weight: 650;
  }
  .faq summary {
    padding: 14px 16px;
  }
  .faq details p {
    padding: 0 16px 18px;
  }
  .letter-photo,
  .letter-body,
  .contact-main,
  .contact-rows {
    grid-column: 1 / -1;
  }
  .letter-photo {
    aspect-ratio: 4 / 3;
  }
  .letter-body {
    margin-top: 48px;
  }
  .contact-photo {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 48px;
    aspect-ratio: 4 / 3;
  }
  .footer {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }
  .footer .end {
    text-align: left;
  }
}

/* Wide screens: the title takes one line across the page; under it the picture runs the full
   width with its cut corner, and the words sit on it in the dark panel the data-protection
   section uses. Below 1081px the first screen stacks: title, words, then the picture. */
@media (min-width: 1081px) {
  .hero {
    min-height: 100svh;
    grid-template-rows: auto auto 1fr;
  }
  .hero-copy,
  .stage {
    grid-row: 3;
    grid-column: 1;
  }
  .stage {
    justify-content: flex-end;
    /* The recording stands in the page's own margin, as the words do on the other side. */
    padding: 56px max(var(--margin), calc((100vw - 1520px) / 2 + var(--margin)));
  }
  .hero-copy {
    z-index: 1;
    align-self: center;
    justify-self: start;
    --left: max(var(--margin), calc((100vw - 1520px) / 2 + var(--margin)));
    /* Never under the recording: what is left of the screen beside it, less a gap. */
    width: min(760px, calc((100vw - 2 * var(--left)) * 0.48 - 40px));
    margin: 0 0 0 var(--left);
    padding: clamp(28px, 3vw, 48px);
    border-radius: 10px;
    background: rgb(9 8 11 / 0.78);
    color: var(--dark-ink);
  }
  .hero .actions .quiet {
    color: var(--dark-muted);
  }
  .stage-panel {
    /* The other 52% of the column the words stand in. */
    width: min(52%, 880px);
  }
  .stage .pause--icon {
    left: auto;
    right: 16px;
  }
}
