/* acriva.de — static landing page. Tokens follow web/ui/src/styles/tokens.css (ADR-0015)
   and the Acriva design system of the Claude Design canvas "Acriva – Landingpage acriva.de". */

@font-face {
  font-family: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  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: 'Geist';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-mono-latin-wght-normal.woff2) format('woff2-variations');
  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: 'Geist Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(fonts/geist-mono-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- tokens: light by default, .theme-dark for the dark bands ---------- */
:root,
.theme-light {
  --bg: hsl(0 0% 100%);
  --bg-subtle: hsl(0 0% 98%);
  --card: hsl(0 0% 100%);
  --fg: hsl(0 0% 9%);
  --muted: hsl(0 0% 40%);
  --border: hsl(0 0% 0% / 0.08);
  --input: hsl(0 0% 0% / 0.14);
  --line: hsl(0 0% 0% / 0.2);
  --accent: hsl(212 100% 46%);
  --accent-ink: hsl(212 100% 40%);
  --ring: hsl(212 100% 47%);
  --success: hsl(131 41% 36%);
  --success-ink: hsl(131 41% 30%);
  --destructive: hsl(358 75% 50%);
  --dot: hsl(0 0% 0% / 0.07);
  --skel: hsl(0 0% 95%);
  --btn-bg: hsl(0 0% 9%);
  --btn-fg: hsl(0 0% 100%);
  --pop: 0 2px 2px hsl(0 0% 0% / 0.04), 0 8px 16px -4px hsl(0 0% 0% / 0.08);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  color-scheme: light;
}
.theme-dark {
  --bg: hsl(0 0% 4%);
  --bg-subtle: hsl(0 0% 7%);
  --card: hsl(0 0% 7%);
  --fg: hsl(0 0% 93%);
  --muted: hsl(0 0% 63%);
  --border: hsl(0 0% 100% / 0.1);
  --input: hsl(0 0% 100% / 0.16);
  --line: hsl(0 0% 100% / 0.2);
  --accent: hsl(212 70% 64%);
  --accent-ink: hsl(212 70% 64%);
  --ring: hsl(212 100% 60%);
  --success: hsl(131 41% 46%);
  --success-ink: hsl(131 41% 52%);
  --destructive: hsl(358 75% 59%);
  --dot: hsl(0 0% 100% / 0.08);
  --skel: hsl(0 0% 12%);
  --btn-bg: hsl(0 0% 93%);
  --btn-fg: hsl(0 0% 4%);
  --pop: 0 2px 2px hsl(0 0% 0% / 0.3), 0 16px 32px -8px hsl(0 0% 0% / 0.5);
  color-scheme: dark;
}
.theme-dark,
.theme-light {
  background: var(--bg);
  color: var(--fg);
}

/* ---------- base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  margin: 0;
  background: hsl(0 0% 100%);
  color: hsl(0 0% 9%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg {
  display: block;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -64px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 6px;
  background: hsl(0 0% 93%);
  color: hsl(0 0% 4%);
  font-weight: 500;
}
.skip-link:focus {
  top: 12px;
}
.mono {
  font-family: var(--mono);
}
.num {
  font-variant-numeric: tabular-nums;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 112px 0;
}
.band-subtle {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--accent {
  color: var(--accent-ink);
}
.h2 {
  font-size: 40px;
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h3 {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.lead {
  font-size: 17px;
  line-height: 26px;
  color: var(--muted);
}
.muted {
  color: var(--muted);
}
.head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.ico {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico--18 {
  width: 18px;
  height: 18px;
}
.ico--20 {
  width: 20px;
  height: 20px;
}
.ico--12 {
  width: 12px;
  height: 12px;
}

/* ---------- buttons and pills ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 6px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
}
.btn:hover {
  text-decoration: none;
}
.btn--primary {
  background: var(--btn-bg);
  color: var(--btn-fg);
}
.btn--primary:hover {
  opacity: 0.9;
}
.btn--outline {
  border-color: var(--input);
  color: var(--fg);
  background: transparent;
}
.btn--outline:hover {
  background: hsl(0 0% 50% / 0.08);
}
.btn--sm {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
}
.btn--block {
  width: 100%;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 22px;
  padding: 0 9px;
  border: 1px solid var(--input);
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}
.pill--soon {
  color: var(--accent-ink);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  background: var(--accent);
  flex: none;
}
.dot--ok {
  background: var(--success);
}

/* ---------- header ---------- */
.site-header {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--border);
}
.site-header__bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg);
}
.brand:hover {
  text-decoration: none;
}
.brand__word {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}
.brand__tag {
  margin-left: 4px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border: 1px solid currentColor;
  border-radius: 9999px;
  line-height: 1.4;
}
.nav {
  display: flex;
  gap: 24px;
  font-size: 14px;
}
.nav a {
  color: var(--muted);
}
.nav a:hover {
  color: var(--fg);
  text-decoration: none;
}
.site-header__end {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lang {
  display: inline-flex;
  padding: 2px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}
.lang a,
.lang span {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  color: var(--muted);
}
.lang [aria-current='true'] {
  background: hsl(0 0% 50% / 0.16);
  color: var(--fg);
}
.lang a:hover {
  color: var(--fg);
  text-decoration: none;
}
.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: transparent;
  color: var(--fg);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
}

/* ---------- hero (variant B, "Ein Beleg", with the document cloud of variant A) ----------
   One rAF loop in site.js writes the custom properties: --hp (scroll depth, smoothed, 0..1), --sp (the
   scan line's scroll pass, 0..1), --so (its fade at the end), --z1/--z2 (the lower field zones) and
   --mx/--my (the pointer, -1..1, eased). Every layer derives its transform from them, so scroll, pointer
   and intro never write the same property: the intro animates inner wrappers only. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  --hp: 0;
  --sp: 0;
  --so: 1;
  --z1: 0;
  --z2: 0;
  --mx: 0;
  --my: 0;
}
@media (min-width: 961px) {
  /* the first viewport: header, hero and the trust strip at its bottom edge */
  .hero {
    height: max(720px, 100svh);
  }
}
.hero__dots {
  position: absolute;
  inset: -260px -40px -40px;
  background-image: radial-gradient(circle, hsl(0 0% 100% / 0.08) 1px, transparent 1.4px);
  background-size: 24px 24px;
  transform: translate3d(calc(var(--mx) * -4px), calc(var(--hp) * 200px + var(--my) * -3px), 0);
  will-change: transform;
}
.hero__light {
  position: absolute;
  left: 58%;
  top: 140px;
  width: 560px;
  height: 560px;
  border-radius: 9999px;
  background: radial-gradient(closest-side, hsl(0 0% 100% / 0.07), transparent);
  transform: translate3d(calc(var(--mx) * 24px), calc(var(--hp) * 120px + var(--my) * 16px), 0);
}
/* the document cloud in three depth layers: the far one lags the page, the near one outruns it */
.hero__layers,
.hero__cloud,
.hero__m,
.hero__in {
  position: absolute;
  inset: 0;
}
.hero__cloud {
  will-change: transform;
}
.hero__cloud--far {
  transform: translate3d(0, calc(var(--hp) * 200px), 0);
}
.hero__cloud--mid {
  transform: translate3d(0, calc(var(--hp) * 90px), 0);
}
.hero__cloud--near {
  transform: translate3d(0, calc(var(--hp) * -120px), 0) scale(calc(1 + var(--hp) * 0.08));
  transform-origin: 50% 40%;
}
.hero__cloud--far .hero__m {
  transform: translate3d(calc(var(--mx) * -6px), calc(var(--my) * -4px), 0);
}
.hero__cloud--mid .hero__m {
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--my) * -9px), 0);
}
.hero__cloud--near .hero__m {
  transform: translate3d(calc(var(--mx) * -26px), calc(var(--my) * -16px), 0);
}
.doc {
  position: absolute;
  box-sizing: border-box;
  overflow: hidden;
  border: 1px solid hsl(0 0% 100% / 0.7);
  border-radius: 4px;
  background: hsl(0 0% 100% / 0.08);
}
.doc i {
  display: block;
  height: 3%;
  background: hsl(0 0% 100% / 0.7);
}
.doc .doc__line {
  margin-top: 6%;
}
.doc .doc__head {
  width: 60%;
  height: 6%;
  background: hsl(0 0% 100%);
}
.doc .doc__sum {
  margin: 20% 0 0 50%;
  width: 50%;
  height: 5%;
  background: hsl(0 0% 100%);
}
.doc__xml {
  display: block;
  font-family: var(--mono);
  font-size: 7px;
  line-height: 10px;
  color: hsl(0 0% 100%);
  white-space: pre;
}
.chip-card {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--pop);
  font-size: 12.5px;
  white-space: nowrap;
}
.chip-card .ico {
  color: var(--accent);
}
/* the approval chip rides with the middle layer, above the invoice's top right corner */
.chip-card--approval {
  right: -40px;
  top: -30px;
  transform: translate3d(calc(var(--mx) * -14px), calc(var(--hp) * 90px + var(--my) * -9px), 0);
}
@media (max-width: 1360px) {
  .chip-card--approval {
    right: 0;
  }
}
.intro .chip-card--approval {
  animation: intro-fade 0.8s ease-out 0.9s backwards;
}
.hero__inner {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 48px;
  min-height: 0;
  padding-top: 24px;
  padding-bottom: 24px;
}
.hero__inner:focus {
  outline: none;
}
.hero__copy {
  flex: 1 1 620px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translate3d(0, calc(var(--hp) * 70px), 0);
  opacity: calc(1 - var(--hp) * 0.6);
}
.announce {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 4px 12px;
  border: 1px solid var(--input);
  border-radius: 9999px;
  font-size: 13px;
  color: var(--fg);
}
.announce:hover {
  text-decoration: none;
  border-color: var(--line);
}
.hero__title {
  margin-top: 28px;
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
  letter-spacing: -0.045em;
}
.hero__title span {
  display: block;
  text-wrap: balance;
  color: var(--muted);
}
.hero__lead {
  margin-top: 28px;
  max-width: 580px;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}
.hero__ctas {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero__object {
  position: relative;
  flex: 0 0 440px;
  height: 560px;
}
.invoice-shadow {
  position: absolute;
  left: 70px;
  bottom: 34px;
  width: 300px;
  height: 30px;
  border-radius: 9999px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.9), transparent);
  transform: scale(calc(1 + var(--hp) * 0.35), calc(1 + var(--hp) * 0.2));
  opacity: calc(1 - var(--hp) * 0.35);
}
/* the invoice: position and scroll lift, then the pointer tilt, then the intro, then the paper */
.inv-pos {
  position: absolute;
  left: 50px;
  top: 40px;
  width: 340px;
  height: 454px;
  transform: translate3d(0, calc(var(--hp) * -40px), 0) rotate(calc(-6deg + var(--hp) * 5deg))
    scale(calc(1 + var(--hp) * 0.03));
  will-change: transform;
}
.inv-lift {
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: 0 90px 140px -40px rgba(0, 0, 0, 0.95);
  opacity: var(--hp);
}
.inv-tilt,
.inv-in,
.invoice {
  position: absolute;
  inset: 0;
}
.inv-tilt {
  transform: perspective(1200px) rotateY(calc(var(--mx) * 6deg)) rotateX(calc(var(--my) * -6deg));
}
.invoice {
  border-radius: 8px;
  background: hsl(0 0% 97%);
  color: hsl(0 0% 12%);
  box-shadow:
    0 50px 100px -30px rgba(0, 0, 0, 0.95),
    0 0 0 1px hsl(0 0% 100% / 0.08),
    inset 0 1px 0 hsl(0 0% 100%);
  overflow: hidden;
  font-size: 11px;
}
.invoice > * {
  position: absolute;
}
.inv-bar {
  height: 6px;
  background: hsl(0 0% 84%);
}
.inv-bar--d {
  background: hsl(0 0% 82%);
}
.inv-bar--v {
  background: hsl(0 0% 76%);
}
.inv-rule {
  border-top: 1px solid hsl(0 0% 0% / 0.12);
}
.inv-row {
  display: flex;
  justify-content: space-between;
  font-variant-numeric: tabular-nums;
}
.sample-tag {
  position: absolute;
  right: 0;
  bottom: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.inv-zone {
  border: 1px solid hsl(212 100% 46% / 0.6);
  background: hsl(212 100% 46% / 0.12);
  border-radius: 2px;
}
.inv-zone--b1 {
  opacity: var(--z1);
}
.inv-zone--b2 {
  opacity: var(--z2);
}
/* the scan line rests mid-pass (as in the design), the glow band trails above it inside the paper,
   the line itself reaches a little past the paper's edges */
.scan-glow {
  left: 0;
  right: 0;
  top: 164px;
  height: 120px;
  background: linear-gradient(to bottom, hsl(212 100% 60% / 0), hsl(212 100% 60% / 0.16));
  transform: translate3d(0, calc(var(--sp) * 186px), 0);
  opacity: var(--so);
}
.scan-line {
  position: absolute;
  left: -12px;
  right: -12px;
  top: 283px;
  height: 2px;
  border-radius: 2px;
  background: hsl(212 100% 62%);
  box-shadow:
    0 0 10px 1px hsl(212 100% 60% / 0.9),
    0 0 28px 6px hsl(212 100% 55% / 0.45);
  transform: translate3d(0, calc(var(--sp) * 186px), 0);
  opacity: var(--so);
}

/* the fields the AI reads: absolutely placed in the document by site.js, they leave the invoice and
   travel into the journey's stage */
.fields {
  display: none;
}
.js .fields {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  z-index: 30;
  pointer-events: none;
}
.field {
  position: absolute;
  left: 0;
  top: 0;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0) scale(var(--fs, 1));
  transform-origin: 0 50%;
  opacity: var(--fo, 0);
  will-change: transform, opacity;
}
.field__in {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid hsl(0 0% 100% / 0.12);
  border-radius: 8px;
  background: hsl(0 0% 9%);
  box-shadow: 0 16px 40px -16px rgba(0, 0, 0, 0.9);
  color: hsl(0 0% 93%);
  font-size: 12.5px;
  white-space: nowrap;
}
.field__in .ico {
  color: hsl(212 70% 64%);
}
@media (max-width: 768px) {
  .js .fields {
    display: none;
  }
}

/* the intro on load: html.intro is set in the head only on desktop with motion allowed. Every animation
   ends in the state the page has at --hp 0 and fills backwards only, so the scroll and pointer
   transforms take over without a jump. */
@keyframes intro-fade {
  from {
    opacity: 0;
  }
}
@keyframes intro-far {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.9);
  }
}
@keyframes intro-mid {
  from {
    opacity: 0;
    transform: translate3d(0, 44px, 0) scale(0.93);
  }
}
@keyframes intro-near {
  from {
    opacity: 0;
    transform: translate3d(0, 70px, 0) scale(1.14);
  }
}
@keyframes intro-up {
  from {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
  }
}
@keyframes intro-invoice {
  from {
    opacity: 0;
    transform: translate3d(0, 90px, 0) rotate(-5deg) scale(0.95);
  }
}
@keyframes intro-scan {
  from {
    opacity: 0;
    transform: translate3d(0, -300px, 0);
  }
  12% {
    opacity: 1;
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}
@keyframes intro-chip {
  from {
    opacity: 0;
    transform: translate3d(var(--ix, 0px), var(--iy, 0px), 0) scale(0.4);
  }
}
.intro .hero__dots {
  animation: intro-fade 1.2s ease-out backwards;
}
.intro .hero__cloud--far .hero__in {
  animation: intro-far 1.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.intro .hero__cloud--mid .hero__in {
  animation: intro-mid 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.1s backwards;
}
.intro .hero__cloud--near .hero__in {
  animation: intro-near 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s backwards;
}
.intro .hero__copy > * {
  animation: intro-up 0.9s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}
.intro .hero__copy > :nth-child(1) {
  animation-delay: 0.05s;
}
.intro .hero__copy > :nth-child(2) {
  animation-delay: 0.12s;
}
.intro .hero__copy > :nth-child(3) {
  animation-delay: 0.2s;
}
.intro .hero__copy > :nth-child(4) {
  animation-delay: 0.28s;
}
.intro .hero__copy > :nth-child(5) {
  animation-delay: 0.34s;
}
.intro .inv-in {
  animation: intro-invoice 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.25s backwards;
}
.intro .invoice-shadow,
.intro .sample-tag {
  animation: intro-fade 1s ease-out 0.5s backwards;
}
.intro .scan-glow,
.intro .scan-line {
  animation: intro-scan 0.9s cubic-bezier(0.45, 0, 0.55, 1) 1s backwards;
}
.intro .inv-zone--top {
  animation: intro-fade 0.35s ease-out backwards;
  animation-delay: calc(1s + var(--d) * 0.9s);
}
.intro .field[data-field='0'] .field__in {
  animation: intro-chip 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.16s backwards;
}

/* static end state: phones, reduced motion and no JS keep the design's still frame */
@media (prefers-reduced-motion: reduce), (max-width: 768px) {
  .hero {
    --hp: 0 !important;
    --sp: 0 !important;
    --mx: 0 !important;
    --my: 0 !important;
  }
}

/* ---------- trust strip ---------- */
.trust {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 40px;
  padding: 22px 24px;
  font-size: 14px;
  color: var(--muted);
}
.trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ---------- journey "Das Leben einer Rechnung" ---------- */
.journey {
  position: relative;
}
.journey__head {
  padding-top: 112px;
  margin-bottom: 8px;
}
.journey-list {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
/* each step is one large section: copy left, a big stage right; normal scrolling */
.beat {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 62%);
  align-items: center;
  gap: 64px;
  /* one step fills the viewport on every screen height, so only one step is in view at a time */
  min-height: max(640px, 100svh);
  padding: 40px 0;
}
.beat__text {
  max-width: 440px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.beat__text h3 {
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -0.035em;
}
.beat__text p {
  font-size: 18px;
  line-height: 28px;
}
.beat__points {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  line-height: 22px;
}
.beat__points li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.beat__points .ico {
  flex: none;
  color: var(--accent);
}
/* on large screens the steps grow with the screen instead of staying a 1240 px band */
@media (min-width: 1680px) {
  .journey .container {
    max-width: min(1680px, 88vw);
  }
  .beat__text {
    max-width: 520px;
  }
  .beat__text h3 {
    font-size: 48px;
    line-height: 52px;
  }
  .beat__text p {
    font-size: 20px;
    line-height: 30px;
  }
}
.beat__stage {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.beat__stage .stage-wrap {
  box-shadow:
    0 0 0 1px var(--border),
    0 48px 96px -48px hsl(0 0% 0% / 0.85);
}
.theme-light .beat__stage .stage-wrap {
  box-shadow:
    0 0 0 1px var(--border),
    0 40px 80px -48px hsl(0 0% 0% / 0.25);
}
.beat__stage .sample-tag {
  position: static;
  align-self: flex-end;
}
/* the copy rises in once when its step scrolls in (set by site.js only with motion) */
.beat.is-pending .beat__text {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
}
.beat .beat__text {
  transition:
    opacity 0.6s ease-out,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
/* dark to light: step 6 opens as a circle when it scrolls in */
.journey-handover.is-wipe {
  clip-path: circle(0% at 74% 42%);
  transition: clip-path 1.1s cubic-bezier(0.65, 0, 0.35, 1);
}
.journey-handover.is-wipe.is-in {
  clip-path: circle(150% at 74% 42%);
}
/* the step rail: fixed at the left edge while the journey is on screen */
.jrail {
  display: none;
}
@media (min-width: 1340px) {
  .js .jrail {
    display: block;
    position: fixed;
    left: 20px;
    top: 50%;
    z-index: 20;
    padding: 10px 8px;
    border: 1px solid hsl(0 0% 100% / 0.1);
    border-radius: 9999px;
    background: hsl(0 0% 7% / 0.86);
    color: hsl(0 0% 63%);
    transform: translate3d(0, -50%, 0);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
  }
  .js .jrail.is-on {
    opacity: 1;
    pointer-events: auto;
  }
}
.jrail ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.jrail a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 6px;
  border-radius: 9999px;
  color: inherit;
  font-size: 11px;
  text-decoration: none;
}
.jrail a:hover,
.jrail a[aria-current='step'] {
  color: hsl(0 0% 93%);
}
.jrail__dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  border: 1px solid hsl(0 0% 100% / 0.35);
}
.jrail a[aria-current='step'] .jrail__dot {
  border-color: transparent;
  background: hsl(212 70% 64%);
  box-shadow: 0 0 0 4px hsl(212 70% 64% / 0.2);
}
/* the label shows beside the rail on hover and focus */
.jrail__label {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  padding: 4px 10px;
  border: 1px solid hsl(0 0% 100% / 0.1);
  border-radius: 6px;
  background: hsl(0 0% 9%);
  color: hsl(0 0% 93%);
  font-size: 12.5px;
  white-space: nowrap;
  opacity: 0;
  transform: translate3d(-4px, -50%, 0);
  transition:
    opacity 0.15s ease-out,
    transform 0.15s ease-out;
  pointer-events: none;
}
.jrail a:hover .jrail__label,
.jrail a:focus-visible .jrail__label {
  opacity: 1;
  transform: translate3d(0, -50%, 0);
}
.journey-handover {
  padding: 24px 0 64px;
}
.stage-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
}
.stage {
  position: absolute;
  left: 0;
  top: 0;
  width: 640px;
  height: 480px;
  transform-origin: 0 0;
  transform: scale(var(--s, 0.75));
  contain: strict;
}
.js .journey .stage-fallback {
  display: none;
}
.stage-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- statement ---------- */
.statement {
  padding: 120px 0 112px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.statement p {
  margin: 0 auto;
  max-width: 820px;
  font-size: 40px;
  line-height: 46px;
  font-weight: 600;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.statement .btn {
  margin-top: 32px;
}

/* ---------- features (bento) ---------- */
.bento {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
}
.tile {
  grid-column: span 2;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: var(--card);
}
.tile--3 {
  grid-column: span 3;
}
.tile__vis {
  height: 188px;
  flex: none;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  overflow: hidden;
}
.tile__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.tile__body h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  font-size: 17px;
  line-height: 24px;
  font-weight: 600;
}
.tile__body p {
  font-size: 15px;
  line-height: 23px;
  color: var(--muted);
}
.tile__body a {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 500;
}
.row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.row--muted {
  color: var(--muted);
}
.box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.box-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
}
.box-row + .box-row {
  border-top: 1px solid var(--border);
}
.push {
  margin-left: auto;
}
.small {
  font-size: 12px;
}
.search-field {
  height: 36px;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: var(--card);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  font-size: 14px;
  box-shadow: 0 0 0 3px hsl(212 100% 46% / 0.12);
}
.caret {
  width: 1px;
  height: 16px;
  background: var(--accent);
}
.bubble {
  max-width: 88%;
  padding: 8px 12px;
  border-radius: 8px;
  line-height: 19px;
}
.bubble--me {
  align-self: flex-end;
  max-width: 80%;
  background: hsl(0 0% 9%);
  color: hsl(0 0% 100%);
}
.bubble--ai {
  background: var(--card);
  border: 1px solid var(--border);
}
.source {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 1px 8px;
  border: 1px solid var(--input);
  border-radius: 9999px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-ink);
}
.step-row {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
}
.step-row--active {
  border-color: var(--accent);
}
.step-join {
  margin-left: 19px;
  width: 1px;
  height: 10px;
  background: var(--input);
  flex: none;
}
.check {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: var(--success);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.check .ico {
  width: 10px;
  height: 10px;
  stroke-width: 3;
}
.ring {
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  border: 2px solid var(--accent);
  flex: none;
}
.badge-count {
  padding: 0 6px;
  border-radius: 9999px;
  background: hsl(0 0% 9%);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
}
.panel-mini {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--pop);
  overflow: hidden;
}
.panel-mini__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-bottom: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 500;
}
.panel-mini__body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12.5px;
  line-height: 18px;
}
.proposal {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 5px;
  background: hsl(0 0% 9%);
  color: #fff;
  font-size: 11.5px;
  font-weight: 500;
}
.mini-btn--ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--input);
}
.tour-target {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 12px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  font-weight: 500;
  box-shadow:
    0 0 0 3px var(--bg-subtle),
    0 0 0 5px var(--accent);
}
.tour-pop {
  align-self: flex-start;
  margin-left: 24px;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--pop);
  font-size: 12.5px;
  line-height: 18px;
}
.tile--split {
  flex-direction: row;
}
.tile--split .tile__vis {
  height: auto;
  min-height: 150px;
  flex: 0 0 44%;
  border-bottom: 0;
  border-right: 1px solid var(--border);
}
.tile--split .tile__body {
  justify-content: center;
}
.canvas-dots {
  position: relative;
  background-image: radial-gradient(circle, hsl(0 0% 0% / 0.08) 1px, transparent 1.4px);
  background-size: 14px 14px;
}
.canvas-dots > span {
  position: absolute;
  height: 26px;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: var(--card);
}
.planned {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- automation ---------- */
.auto__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.levels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
}
.levels li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid var(--input);
  border-radius: 9999px;
}
.levels .mono {
  font-size: 11px;
  color: var(--muted);
}
.level {
  margin-top: 112px;
}
.level--1 {
  margin-top: 72px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.level__text {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 760px;
}
.level--1 .level__text {
  flex: 1 1 380px;
  max-width: 520px;
}
.rulecard {
  flex: 0 1 560px;
  min-width: 0;
  padding: 20px 24px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: var(--pop);
}
.rulecard__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rulecard__sentence {
  margin: 18px 0 0;
  font-size: 17px;
  line-height: 36px;
}
.token {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 0 8px;
  vertical-align: middle;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: var(--bg-subtle);
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
}
.token--focus {
  border-color: var(--accent);
  background: var(--card);
  box-shadow: 0 0 0 3px hsl(212 100% 46% / 0.12);
}
.token .avatar {
  width: 16px;
  height: 16px;
  font-size: 8px;
}
.avatar {
  width: 32px;
  height: 32px;
  border-radius: 9999px;
  background: hsl(0 0% 9%);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex: none;
}
.rulecard__foot {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  font-size: 13px;
}

/* workflow designer mock */
.designer {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--pop);
}
.designer__bar {
  height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.designer__bar .pill {
  color: var(--success-ink);
}
.designer__body {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr) 240px;
  min-height: 520px;
}
.palette,
.props {
  padding: 14px 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12.5px;
  background: var(--bg-subtle);
}
.palette {
  border-right: 1px solid var(--border);
}
.props {
  border-left: 1px solid var(--border);
  gap: 10px;
}
.palette .eyebrow,
.props .eyebrow {
  font-size: 10.5px;
  padding: 0 6px 6px;
}
.palette li {
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 8px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
}
.palette li .ico {
  width: 14px;
  height: 14px;
  color: var(--muted);
}
.palette li.is-new {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
}
.prop {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 0 6px;
}
.prop span:first-child {
  font-size: 11px;
  color: var(--muted);
}
.prop span:last-child {
  height: 30px;
  display: flex;
  align-items: center;
  padding: 0 8px;
  border: 1px solid var(--input);
  border-radius: 6px;
  background: var(--card);
}
.wf {
  position: relative;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1.4px);
  background-size: 16px 16px;
  overflow: hidden;
}
.wf svg.wf__edges {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.wf__edges path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1.5;
}
.wf__edges path.is-new {
  stroke: var(--accent);
}
.wf__node {
  position: absolute;
  width: 31%;
  min-width: 150px;
  padding: 8px 10px;
  border: 1px solid var(--input);
  border-radius: 8px;
  background: var(--card);
  font-size: 12.5px;
  line-height: 17px;
  box-shadow: 0 1px 1px hsl(0 0% 0% / 0.04);
}
.wf__node .eyebrow {
  font-size: 9.5px;
  margin-bottom: 2px;
}
.wf__node small {
  display: block;
  color: var(--muted);
  font-size: 11px;
}
.wf__node--sel {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px hsl(212 100% 46% / 0.12);
}
.wf__label {
  position: absolute;
  font-size: 11px;
  color: var(--muted);
  background: var(--card);
  padding: 0 4px;
  border-radius: 4px;
}
.toast {
  position: absolute;
  left: 16px;
  bottom: 16px;
  max-width: 240px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--pop);
  font-size: 12.5px;
  line-height: 18px;
}
.checks {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 14px;
  color: var(--muted);
}
.checks li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.checks .ico {
  width: 14px;
  height: 14px;
  color: var(--fg);
}
.starts {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.start {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--card);
}
.start h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.start h4 .ico {
  color: var(--accent);
}
.start p {
  font-size: 14.5px;
  line-height: 22px;
  color: var(--muted);
}
.start .tags {
  margin-top: 4px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

/* dev island */
.island {
  margin-top: 112px;
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  padding: 64px 40px 40px;
}
.island__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, hsl(0 0% 100% / 0.05) 1px, transparent 1.4px);
  background-size: 24px 24px;
}
.island > .level__text,
.island > .editor,
.island > .devtiles {
  position: relative;
}
.island .h2 {
  font-size: 40px;
}
.editor {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: hsl(0 0% 6%);
  font-size: 13px;
}
.editor__bar {
  height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  background: var(--card);
}
.editor__bar .push {
  display: flex;
  gap: 8px;
}
.editor__prompt {
  padding: 8px 14px;
  border-bottom: 1px solid var(--border);
}
.editor__prompt div {
  min-height: 36px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  padding: 4px 6px 4px 12px;
  border: 1px solid hsl(212 70% 64% / 0.45);
  border-radius: 6px;
  background: hsl(0 0% 4%);
}
.editor__main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
}
.tree {
  border-right: 1px solid var(--border);
  background: var(--card);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--muted);
}
.tree span {
  display: flex;
  align-items: center;
  height: 28px;
  padding: 0 8px;
  border-radius: 6px;
}
.tree .in {
  padding-left: 22px;
}
.tree .sel {
  color: var(--fg);
  background: hsl(0 0% 100% / 0.08);
  box-shadow: inset 2px 0 0 var(--accent);
}
.code {
  margin: 0;
  padding: 12px 16px 16px 0;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 22px;
  color: hsl(0 0% 93%);
  counter-reset: ln;
}
.code span.l {
  display: block;
  white-space: pre;
}
.code span.l::before {
  counter-increment: ln;
  content: counter(ln);
  display: inline-block;
  width: 40px;
  margin-right: 24px;
  text-align: right;
  color: hsl(0 0% 45%);
  font-size: 12px;
}
.code .k {
  color: hsl(212 70% 70%);
}
.code .s {
  color: hsl(0 0% 72%);
}
.code .fixed {
  background: hsl(212 70% 64% / 0.1);
}
.editor__status {
  height: 28px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid var(--border);
  background: var(--card);
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--muted);
}
.devtiles {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.devtile {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--card);
  display: flex;
  flex-direction: column;
}
.devtile__vis {
  height: 168px;
  flex: none;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  line-height: 17px;
  color: var(--muted);
  overflow: hidden;
  position: relative;
}
.devtile__body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.devtile__body h3 {
  font-size: 15px;
  line-height: 22px;
  font-weight: 600;
}
.devtile__body p {
  font-size: 13px;
  line-height: 19px;
  color: var(--muted);
}
.devtile__body .pill {
  align-self: flex-start;
  margin-top: 4px;
  font-weight: 400;
  color: hsl(0 0% 80%);
}
.guarantees {
  padding: 80px 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.guarantee {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guarantee h4 {
  margin-top: 6px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.guarantee p {
  font-size: 15px;
  line-height: 23px;
  color: var(--muted);
}
.links-row {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  font-size: 15px;
  font-weight: 500;
}

/* ---------- security ---------- */
.split {
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: flex-start;
}
.split__main {
  flex: 1 1 560px;
  min-width: 0;
}
.facts {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 40px;
}
.fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.fact h3 {
  margin-top: 6px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
}
.fact p {
  font-size: 15px;
  line-height: 23px;
  color: var(--muted);
}
.chain {
  flex: 0 1 480px;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  font-size: 13px;
}
.chain__item {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.chain__item--strong {
  border-color: var(--fg);
}
.chain__join {
  margin-left: 24px;
  width: 1px;
  height: 20px;
  background: var(--line);
}
.chain__tag {
  margin-left: auto;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.chain__log {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  overflow: hidden;
}
.chain__log-head {
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border);
}
.chain__log-rows {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 0 12px;
  padding: 10px 16px;
  font-size: 12.5px;
  line-height: 22px;
  font-variant-numeric: tabular-nums;
}
.chain figcaption {
  margin-top: 12px;
}
.stack-col {
  display: flex;
  flex-direction: column;
}

/* ---------- audiences (tax advisor, IT) ---------- */
.duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.card-lg {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card-lg > p {
  font-size: 16px;
  line-height: 25px;
  color: var(--muted);
}
.card-lg > a {
  margin-top: 6px;
  font-size: 15px;
  font-weight: 500;
}
.card-lg__vis {
  margin-top: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-subtle);
  font-size: 13px;
}
.client {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 0 10px 0 23px;
}
.client--sel {
  padding-left: 10px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
}
.client--sel::before {
  content: '';
  width: 3px;
  height: 18px;
  border-radius: 2px;
  background: var(--accent);
}
.sso {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.sso__line {
  display: flex;
  align-items: center;
}
.sso__node {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--card);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}
.sso__wire {
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: var(--line);
  position: relative;
}
.sso__wire > span {
  position: absolute;
  left: 50%;
  top: -13px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 9px;
  border-radius: 9999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 12px;
  white-space: nowrap;
}

/* ---------- import ---------- */
.import {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.import__text {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.import__vis {
  flex: 0 1 700px;
  min-width: 0;
  display: flex;
  align-items: stretch;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-subtle);
  padding: 28px;
  font-size: 13px;
}
.import__col {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.import__col > div {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
}
.import__src {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
}
.import__dst > div:not(:last-child) {
  padding: 0 10px;
  border-radius: 6px;
  background: var(--card);
  border: 1px solid var(--border);
}
.import__dst > div.sel {
  border-color: var(--accent);
}

/* ---------- plans ---------- */
.center {
  text-align: center;
}
.plans {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  flex-direction: column;
}
.plan--focus {
  border-color: var(--fg);
}
.plan__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.plan h3 {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}
.plan__price {
  margin-top: 16px;
  font-size: 22px;
  line-height: 30px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--muted);
}
.plan__sub {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}
.plan .btn {
  margin-top: 24px;
}
.plan ul {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 15px;
  line-height: 22px;
}
.plan li {
  display: flex;
  gap: 10px;
}
.plan li .ico {
  margin-top: 3px;
}
.tag-dark {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 9999px;
  background: hsl(0 0% 9%);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
}
.note-box {
  margin-top: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--card);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 12px 16px;
  font-size: 15px;
  line-height: 22px;
}
.note-box .ico {
  color: var(--accent);
}
.fineprint {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 820px;
}
.faq__list {
  margin-top: 32px;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 10px 0;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary .ico {
  transition: transform 0.2s ease-out;
}
.faq details[open] summary .ico {
  transform: rotate(180deg);
}
.faq details p {
  margin: 0 0 20px;
  max-width: 680px;
  font-size: 16px;
  line-height: 25px;
  color: var(--muted);
}

/* ---------- final CTA ---------- */
.final {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
}
.final__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, hsl(0 0% 100% / 0.06) 1px, transparent 1.4px);
  background-size: 24px 24px;
}
.final__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.final__copy {
  flex: 1 1 520px;
}
.final h2 {
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.final__ctas {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}
.final__ctas span {
  font-size: 14px;
  color: var(--muted);
}
.final__doc {
  flex: none;
  position: relative;
  width: 200px;
  height: 266px;
  margin-right: 40px;
  transform: rotate(-4deg);
}
.final__paper {
  width: 200px;
  height: 266px;
  border-radius: 6px;
  background: hsl(0 0% 98%);
  box-shadow:
    0 0 60px 4px hsl(212 70% 64% / 0.22),
    0 30px 60px -20px rgba(0, 0, 0, 0.9);
  padding: 16px;
  color: hsl(0 0% 12%);
}
.final__paper i {
  display: block;
  height: 4px;
  background: hsl(0 0% 84%);
}
.final__lock {
  position: absolute;
  left: 50%;
  top: -18px;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  border-radius: 9999px;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
}
.final__hash {
  position: absolute;
  left: 50%;
  bottom: -16px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 4px 10px;
  border-radius: 9999px;
  background: var(--card);
  border: 1px solid var(--border);
  font-family: var(--mono);
  font-size: 10px;
  color: var(--accent);
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  font-size: 14px;
}
.footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
}
.footer__brand {
  flex: 1 1 240px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__brand p {
  color: var(--muted);
  max-width: 260px;
  line-height: 21px;
}
.footer nav {
  flex: 0 0 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer nav h2 {
  font-size: 14px;
  font-weight: 500;
}
.footer nav a {
  color: var(--muted);
}
.footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

/* ---------- legal pages ---------- */
.legal {
  padding: 72px 0 112px;
}
.legal .container {
  max-width: 760px;
}
.legal h1 {
  overflow-wrap: break-word;
  hyphens: auto;
  font-size: clamp(30px, 8vw, 40px);
  line-height: 44px;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.legal h2 {
  margin-top: 40px;
  font-size: 20px;
  line-height: 28px;
  font-weight: 600;
}
.legal p,
.legal li {
  margin-top: 12px;
  font-size: 16px;
  line-height: 26px;
  color: hsl(0 0% 25%);
}
.legal ul {
  list-style: disc;
  padding-left: 20px;
}
.legal address {
  font-style: normal;
}
.legal .back {
  display: inline-block;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
}

/* ---------- reveal on scroll (progressive, only with motion) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 60%;
    }
    @keyframes reveal {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
    }
    .draw path {
      stroke-dasharray: 1;
      stroke-dashoffset: 1;
      animation: draw linear both;
      animation-timeline: view();
      animation-range: entry 40% cover 45%;
    }
    @keyframes draw {
      to {
        stroke-dashoffset: 0;
      }
    }
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1180px) {
  .hero__object {
    flex-basis: 380px;
    transform: scale(0.88);
    transform-origin: right center;
  }
  .devtiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .designer__body {
    grid-template-columns: 190px minmax(0, 1fr);
  }
  .props {
    display: none;
  }
}
@media (max-width: 960px) {
  /* the menu button needs JS; without it the links wrap below the bar */
  .js .nav {
    display: none;
  }
  .js .menu-btn {
    display: inline-flex;
  }
  html:not(.js) .site-header__bar {
    flex-wrap: wrap;
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px 24px;
  }
  html:not(.js) .nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 20px;
  }
  .site-header.is-open .nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 8px 24px 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }
  .site-header.is-open .nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    color: var(--fg);
    border-bottom: 1px solid var(--border);
  }
  .hero__inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding-top: 72px;
  }
  .hero__object {
    align-self: center;
    flex: none;
    transform: none;
  }
  .beat {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 28px;
    min-height: 0;
    padding: 48px 0;
  }
  .beat__text {
    max-width: 560px;
  }
  .beat__stage {
    width: 100%;
    max-width: 640px;
  }
  .bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tile,
  .tile--3 {
    grid-column: span 1;
  }
  .tile--split {
    grid-column: span 2;
  }
  .plans,
  .duo,
  .starts,
  .guarantees {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
  .section {
    padding: 72px 0;
  }
  .h2 {
    font-size: 30px;
    line-height: 34px;
  }
  .site-header__bar {
    height: 56px;
    gap: 10px;
  }
  .site-header__end .btn {
    display: none;
  }
  .site-header.is-open .nav {
    padding: 8px 16px 20px;
  }
  .hero__inner {
    padding-top: 56px;
    gap: 40px;
  }
  .hero__title {
    margin-top: 22px;
    font-size: 40px;
    line-height: 44px;
  }
  .hero__lead {
    margin-top: 20px;
    font-size: 16px;
    line-height: 25px;
  }
  .hero__ctas {
    width: 100%;
    flex-direction: column;
  }
  .hero__ctas .btn {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }
  .hero__object {
    width: 340px;
    height: 330px;
    max-width: 100%;
  }
  .hero__object .inv-pos {
    left: 20px;
    top: 10px;
    transform: rotate(-6deg) scale(0.68);
    transform-origin: top left;
  }
  .hero__object .invoice-shadow,
  .chip-card,
  .hero__cloud--far,
  .hero__cloud--near {
    display: none;
  }
  .trust ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    padding: 20px 16px;
    font-size: 13.5px;
  }
  .journey__head {
    padding-top: 64px;
    margin-bottom: 32px;
  }
  .journey-list {
    gap: 16px;
  }
  .beat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    gap: 12px;
  }
  .beat__text h3 {
    font-size: 20px;
    line-height: 26px;
  }
  .beat__text p {
    font-size: 15px;
    line-height: 23px;
  }
  .journey-handover {
    padding: 40px 0 64px;
  }
  .statement {
    padding: 72px 0;
  }
  .statement p {
    font-size: 28px;
    line-height: 33px;
  }
  .bento {
    grid-template-columns: minmax(0, 1fr);
  }
  .tile,
  .tile--3,
  .tile--split {
    grid-column: span 1;
  }
  .tile--split {
    flex-direction: column;
  }
  .tile--split .tile__vis {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    flex-basis: auto;
  }
  .level {
    margin-top: 72px;
  }
  .rulecard__sentence {
    font-size: 15px;
    line-height: 34px;
  }
  .designer__body {
    grid-template-columns: minmax(0, 1fr);
  }
  .palette,
  .designer__bar .btn {
    display: none;
  }
  .wf {
    min-height: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .wf svg.wf__edges,
  .wf__label {
    display: none;
  }
  .wf__node {
    position: static;
    width: auto;
  }
  .toast {
    position: static;
    max-width: none;
  }
  .island {
    padding: 40px 16px 16px;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 0;
  }
  .island .h2 {
    font-size: 30px;
  }
  .editor__main {
    grid-template-columns: minmax(0, 1fr);
  }
  .tree {
    display: none;
  }
  .editor__bar .push .btn--outline,
  .editor__bar .crumb {
    display: none;
  }
  .devtiles {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts {
    grid-template-columns: minmax(0, 1fr);
  }
  .card-lg {
    padding: 20px;
  }
  .sso__line {
    flex-wrap: wrap;
    gap: 28px 0;
  }
  .import__vis {
    padding: 16px;
  }
  .import__vis > svg {
    width: 40px;
  }
  .final {
    padding: 72px 0;
  }
  .final h2 {
    font-size: 36px;
    line-height: 40px;
  }
  .final__doc {
    display: none;
  }
  .note-box {
    align-items: flex-start;
  }
  .footer nav {
    flex: 1 1 140px;
  }
}
