/* Fonts are self-hosted so the page sends no visitor IP to a third party. Each file is the variable
   font Google Fonts serves for its subset (SIL OFL 1.1, licences in fonts/), and the weight range is
   the one the page used to request. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url("fonts/archivo-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: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-3-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("fonts/source-sans-3-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;
}

:root {
  color-scheme: light;
  --bt-orange: #fe7109;
  --bt-orange-dark: #cb5a07;
  --bt-ink: #202226;
  --bt-charcoal: #333333;
  --bt-muted: #696f7a;
  --bt-line: #e7e9ee;
  --bt-line-strong: #c9cdd4;
  --bt-paper: #ffffff;
  --bt-soft: #f6f7f9;
  --bt-warm: #fffaf5;
  --bt-blue: #1f6fb2;
  --bt-green: #27885f;
  --bt-shadow: 0 24px 60px rgba(32, 34, 38, 0.12);
  --bt-font-display: "Archivo", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bt-font-body: "Source Sans 3", "Source Sans Pro", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --bt-header-height: 76px;
  font-family: var(--bt-font-body);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--bt-ink);
  background: var(--bt-paper);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  font-family: var(--bt-font-display);
  letter-spacing: -0.02em;
  line-height: 1.02;
}

h1 {
  max-width: 13ch;
  font-size: clamp(42px, 5.2vw, 76px);
  font-weight: 800;
}

h2 {
  max-width: 16ch;
  font-size: clamp(34px, 3.8vw, 54px);
  font-weight: 800;
}

h3 {
  font-size: 26px;
  font-weight: 700;
}

section[id] {
  scroll-margin-top: calc(var(--bt-header-height) + 8px);
}

.wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section {
  padding: 96px 0;
}

.band {
  border-top: 1px solid var(--bt-line);
}

.band-soft {
  background: var(--bt-soft);
}

.band-dark {
  color: #ffffff;
  background: var(--bt-ink);
}

.num {
  font-family: var(--bt-font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--bt-muted);
}

.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-family: var(--bt-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bt-ink);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: 5px;
  background: var(--bt-orange);
}

.band-dark .eyebrow {
  color: #ffffff;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-bottom: 44px;
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-family: var(--bt-font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.16s ease, color 0.16s ease, border-color 0.16s ease;
}

.button-primary {
  color: #ffffff;
  background: var(--bt-orange);
}

.button-primary:hover {
  background: var(--bt-orange-dark);
}

.button-outline {
  color: var(--bt-ink);
  border-color: var(--bt-ink);
  background: transparent;
}

.button-outline:hover {
  color: var(--bt-orange-dark);
  border-color: var(--bt-orange-dark);
}

.button-light {
  color: var(--bt-ink);
  background: #ffffff;
}

.button-light:hover {
  color: var(--bt-orange-dark);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bt-paper);
  border-bottom: 1px solid var(--bt-line);
}

.site-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  min-height: var(--bt-header-height);
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  margin-right: 12px;
}

.header-menu {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 12px 20px;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--bt-line-strong);
  border-radius: 6px;
  color: var(--bt-ink);
  background: var(--bt-paper);
  cursor: pointer;
}

.menu-toggle:hover {
  border-color: var(--bt-ink);
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--bt-orange);
  outline-offset: 2px;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.menu-toggle-close,
.menu-toggle[aria-expanded="true"] .menu-toggle-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-close {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.brand img {
  width: 132px;
  height: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  flex: 1 1 320px;
}

.nav-links a,
.link-login,
.language-switcher a {
  text-decoration: none;
}

.nav-links a {
  color: var(--bt-charcoal);
  font-weight: 600;
  font-size: 15px;
}

.nav-links a:hover,
.link-login:hover,
.language-switcher a:hover {
  color: var(--bt-orange-dark);
}

.header-actions,
.hero-actions,
.pricing-cta,
.contact-actions {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.header-actions {
  margin-left: auto;
}

.link-login {
  color: var(--bt-charcoal);
  font-weight: 700;
  font-size: 15px;
}

.language-switcher {
  display: flex;
  gap: 12px;
}

.language-switcher a {
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  color: var(--bt-muted);
  font-family: var(--bt-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.language-switcher a:hover {
  color: var(--bt-ink);
}

.language-switcher a.active {
  color: var(--bt-ink);
  border-bottom-color: var(--bt-orange);
}

/* Hero */

.hero {
  overflow: hidden;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 64px;
  padding-top: 72px;
}

.hero-content {
  flex: 1 1 460px;
  min-width: 0;
}

.hero-content h1 {
  margin-top: 28px;
}

.hero-copy {
  max-width: 34em;
  margin-top: 28px;
  color: var(--bt-muted);
  font-size: 20px;
  line-height: 1.5;
}

.hero-actions {
  padding-top: 32px;
  padding-bottom: 48px;
}

.hero-visual {
  position: relative;
  flex: 1 1 520px;
  min-width: 0;
  padding-bottom: 56px;
  padding-left: 48px;
}

.preview-frame {
  padding: 10px;
  border: 1px solid var(--bt-line);
  border-radius: 10px;
  background: var(--bt-soft);
  box-shadow: var(--bt-shadow);
}

.preview-frame-bar {
  display: flex;
  gap: 6px;
  padding: 0 2px 10px;
}

.preview-frame-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--bt-line);
}

.preview-frame img {
  width: 100%;
  height: auto;
  border: 1px solid var(--bt-line);
  border-radius: 6px;
}

.preview-mobile {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 150px;
  padding: 6px;
  border: 1px solid var(--bt-line);
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 18px 40px rgba(32, 34, 38, 0.16);
}

.preview-mobile img {
  width: 100%;
  height: auto;
  border-radius: 9px;
}

.trust-band {
  color: #ffffff;
  background: var(--bt-ink);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 24px;
  margin: 0 auto;
  list-style: none;
}

.trust-strip li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  min-width: 0;
  padding: 26px 24px 26px 0;
}

.trust-strip li + li {
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.trust-strip svg {
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  fill: none;
  stroke: var(--bt-orange);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.trust-strip li > span {
  display: block;
  min-width: 0;
}

.trust-strip .num {
  display: block;
  color: rgba(255, 255, 255, 0.55);
}

.trust-label {
  display: block;
  margin-top: 4px;
  font-family: var(--bt-font-display);
  font-weight: 700;
  font-size: 17px;
  line-height: 1.25;
}

/* Intro */

.intro {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.intro > div {
  flex: 1 1 420px;
  min-width: 0;
}

.intro h2 {
  margin-top: 24px;
  font-size: clamp(32px, 3.4vw, 48px);
  font-weight: 700;
}

.intro-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 28px;
}

.intro-copy p,
.operations-copy p,
.trust-copy p,
.faq-list p,
.feature-body p,
.price-card > p,
.pricing-note {
  color: var(--bt-muted);
}

.intro-copy p {
  font-size: 19px;
}

.language-note {
  padding-top: 16px;
  border-top: 2px solid var(--bt-orange);
  color: var(--bt-ink) !important;
  font-family: var(--bt-font-display);
  font-weight: 600;
  font-size: 21px;
  line-height: 1.35;
}

/* Features: the auto-rotating showcase */

.feature-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 64px;
  align-items: flex-start;
}

.feature-list {
  flex: 1 1 380px;
  min-width: 0;
  border-bottom: 1px solid var(--bt-line);
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid var(--bt-line);
}

.feature-item .num {
  flex: 0 0 36px;
  padding-top: 6px;
}

.feature-item.is-active .num {
  color: var(--bt-orange-dark);
}

.feature-body {
  flex: 1 1 auto;
  min-width: 0;
}

.feature-kicker {
  display: block;
  font-family: var(--bt-font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bt-orange-dark);
}

.feature-body h3 {
  margin-top: 6px;
}

.feature-toggle {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--bt-ink);
  font: inherit;
  letter-spacing: inherit;
  text-align: left;
  cursor: pointer;
}

.feature-toggle:hover,
.feature-item.is-active .feature-toggle {
  color: var(--bt-orange-dark);
}

.feature-toggle:focus-visible {
  outline: 2px solid var(--bt-orange);
  outline-offset: 4px;
}

.feature-body p {
  display: none;
  max-width: 30em;
  margin-top: 10px;
}

.feature-item.is-active .feature-body p {
  display: block;
}

.feature-stage {
  display: flex;
  flex: 1 1 560px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.feature-slides {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--bt-line);
  border-radius: 10px;
  background: var(--bt-soft);
  overflow: hidden;
}

.feature-slide {
  position: absolute;
  inset: 0;
  margin: 0;
}

.feature-slide[hidden] {
  display: none;
}

.feature-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-slide-dashboard img {
  object-position: 100% 0%;
  transform: scale(1.45);
  transform-origin: 100% 0%;
}

.feature-slide-grid img,
.feature-slide-agenda img {
  object-position: 0% 0%;
  transform: scale(1.25);
  transform-origin: 0% 0%;
}

.feature-slide-projects img {
  object-position: 14% 12%;
  transform: scale(1.7);
  transform-origin: 14% 12%;
}

.feature-slide-stamping {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 28px 28px 0;
}

.feature-slide-stamping img {
  width: auto;
  max-width: 100%;
  height: 100%;
  padding: 6px 6px 0;
  border: 1px solid var(--bt-line);
  border-bottom: 0;
  border-radius: 14px 14px 0 0;
  background: #ffffff;
  object-fit: contain;
  object-position: bottom;
  box-shadow: 0 18px 40px rgba(32, 34, 38, 0.16);
}

.feature-progress {
  display: flex;
  gap: 8px;
}

.feature-dot {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}

.feature-dot::before {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: var(--bt-line);
}

.feature-dot {
  position: relative;
}

.feature-dot.is-active::before {
  background: var(--bt-line-strong);
}

.feature-dot-fill {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 0;
  height: 3px;
  margin-top: -1.5px;
  background: var(--bt-orange);
}

.feature-dot:focus-visible {
  outline: 2px solid var(--bt-orange);
  outline-offset: 2px;
}

/* Operations (Conformité suisse) */

.operations {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.operations-copy {
  flex: 1 1 400px;
  min-width: 0;
}

.operations-copy h2 {
  max-width: 18ch;
  margin-top: 24px;
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 700;
}

.operations-copy p {
  max-width: 34em;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 19px;
}

.operations-list {
  flex: 1 1 440px;
  min-width: 0;
  margin: 0;
}

.operations-list div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  align-items: baseline;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.operations-list div:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.operations-list dt {
  flex: 0 0 180px;
  font-family: var(--bt-font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
}

.operations-list dd {
  flex: 1 1 220px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

/* Pricing */

.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px 0;
  border-top: 1px solid var(--bt-line);
}

.price-card {
  display: flex;
  flex: 1 1 300px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  margin-top: -1px;
  padding: 32px 32px 32px 0;
  border-top: 3px solid var(--bt-line);
}

.price-card:last-child {
  padding: 32px 0 32px 32px;
}

.price-card-featured {
  padding: 32px;
  border-top-color: var(--bt-orange);
  border-left: 1px solid var(--bt-line);
  border-right: 1px solid var(--bt-line);
  background: var(--bt-warm);
}

.price-card > p {
  min-height: 52px;
}

.price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.price strong {
  font-family: var(--bt-font-display);
  font-weight: 800;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--bt-orange);
}

.price span {
  color: var(--bt-muted);
  font-size: 15px;
}

.price-card ul {
  display: grid;
  gap: 12px;
  margin: 8px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--bt-line);
  list-style: none;
}

.price-card li {
  position: relative;
  padding-left: 28px;
  color: var(--bt-charcoal);
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 7px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--bt-green);
  border-bottom: 2px solid var(--bt-green);
  transform: rotate(-45deg);
}

.pricing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  border-top: 1px solid var(--bt-line);
}

.pricing-note {
  font-size: 15px;
}

/* Trust */

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.trust-copy {
  flex: 1 1 340px;
  min-width: 0;
}

.trust-copy h2 {
  max-width: 18ch;
  margin-top: 20px;
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
}

.trust-copy p {
  max-width: 30em;
  margin-top: 22px;
  font-size: 18px;
}

.logo-grid {
  display: grid;
  flex: 1 1 520px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  min-width: 0;
  border: 1px solid var(--bt-line);
  background: var(--bt-line);
}

.logo-grid > div,
.logo-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 104px;
  padding: 20px;
  background: #ffffff;
}

.logo-grid img {
  width: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.logo-cta {
  color: var(--bt-orange-dark);
  background: #fff6ee;
  font-family: var(--bt-font-display);
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  text-decoration: none;
}

.logo-cta:hover {
  color: #ffffff;
  background: var(--bt-orange);
}

/* FAQ */

.faq-list article {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 40px;
  padding: 32px 0;
  border-top: 1px solid var(--bt-line);
}

.faq-list article:last-child {
  border-bottom: 1px solid var(--bt-line);
}

.faq-list .num {
  flex: 0 0 56px;
}

.faq-list h3 {
  flex: 1 1 320px;
  max-width: 18ch;
  min-width: 0;
}

.faq-list p {
  flex: 1 1 400px;
  max-width: 34em;
  min-width: 0;
  font-size: 18px;
}

/* Contact */

/* White on the orange stays under the WCAG AA contrast ratio, the ink reaches 5.75:1. */
.contact-band {
  color: var(--bt-ink);
  background: var(--bt-orange);
}

.contact-band .eyebrow::before {
  background: var(--bt-ink);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 32px 64px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact > div:first-child {
  flex: 1 1 480px;
  min-width: 0;
}

.contact h2 {
  margin-top: 20px;
}

.contact p:not(.eyebrow) {
  max-width: 34em;
  margin-top: 22px;
  font-size: 19px;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--bt-line);
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding-top: 32px;
  padding-bottom: 32px;
  color: var(--bt-muted);
  font-size: 15px;
}

.site-footer img {
  width: 112px;
}

.footer-legal a {
  display: inline-block;
  padding: 4px 0;
  color: var(--bt-muted);
  font-size: 14px;
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: var(--bt-ink);
}

/* Privacy policy */

.legal-languages {
  margin-left: auto;
}

.legal {
  padding: 56px 0 96px;
}

.legal-article {
  max-width: 920px;
}

/* "Datenschutzerklärung" is wider than a phone: the browser hyphenates it at a syllable instead of
   cutting it at any letter. */
.legal h1,
.legal h2 {
  hyphens: auto;
}

.legal h1 {
  max-width: none;
  font-size: clamp(36px, 4.6vw, 56px);
}

.legal h2 {
  max-width: none;
  margin-top: 56px;
  margin-bottom: 16px;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.15;
}

.legal p,
.legal ul {
  max-width: 72ch;
}

.legal section > * + * {
  margin-top: 14px;
}

.legal ul {
  margin-bottom: 0;
  padding-left: 1.25em;
}

.legal li + li {
  margin-top: 8px;
}

.legal a {
  color: var(--bt-blue);
  text-underline-offset: 3px;
}

.legal a:hover {
  color: var(--bt-ink);
}

.legal code {
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.legal-version {
  margin-top: 12px;
  color: var(--bt-muted);
}

/* An archived version says so before its text: a visitor who lands on it from an old link reads that
   it is no longer in force and where the current one is. */
.legal-superseded {
  max-width: 72ch;
  margin-top: 20px;
  padding: 14px 18px;
  border-left: 4px solid var(--bt-orange);
  border-radius: 6px;
  background: var(--bt-warm);
  color: var(--bt-ink);
  font-weight: 600;
}

.legal h3 {
  margin-top: 32px;
  font-size: 20px;
  line-height: 1.2;
}

.legal ul.legal-previous-versions {
  margin-top: 10px;
}

.legal-previous-versions a {
  display: inline-block;
  padding: 2px 0;
}

.legal-lead {
  margin-top: 28px;
  font-size: 19px;
}

.legal-lead p + p {
  margin-top: 12px;
}

.legal-toc {
  margin-top: 40px;
  padding: 24px 28px;
  border-radius: 6px;
  background: var(--bt-soft);
}

.legal .legal-toc h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 1.4em;
  columns: 2 18em;
  column-gap: 40px;
}

.legal-toc li {
  padding: 3px 0;
  break-inside: avoid;
}

.legal .legal-toc a {
  color: var(--bt-ink);
}

.legal-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--bt-line);
  border-radius: 6px;
}

.legal-table-wrap:focus-visible {
  outline: 2px solid var(--bt-orange);
  outline-offset: 2px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.45;
}

/* A table of three or four columns scrolls inside its frame on a phone rather than squeezing each
   column to a few letters. */
.legal-table-wide {
  min-width: 640px;
}

.legal-table th,
.legal-table td {
  padding: 10px 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--bt-line);
}

.legal-table tbody tr:last-child > * {
  border-bottom: 0;
}

.legal-table thead th {
  background: var(--bt-soft);
  font-family: var(--bt-font-display);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.legal-table tbody th {
  font-weight: 600;
}

/* Error page */

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  background: var(--bt-soft);
}

.error-shell {
  width: min(520px, calc(100% - 48px));
  padding: 36px;
  border: 1px solid var(--bt-line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--bt-shadow);
}

.error-shell img {
  width: 150px;
  margin-bottom: 28px;
}

.error-shell h1 {
  font-size: 32px;
}

.error-shell p {
  margin: 16px 0 24px;
  color: var(--bt-muted);
}

/* Responsive */

/* Below the width where the whole header fits on one row in every language, the sections, the
   languages and the login move into a panel that the menu button opens. menu.js uses the same width. */
@media (max-width: 1240px) {
  .menu-toggle {
    display: inline-flex;
    order: 3;
  }

  .header-actions {
    order: 2;
  }

  .header-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-wrap: wrap;
    gap: 0 20px;
    padding: 8px 40px 16px;
    border-bottom: 1px solid var(--bt-line);
    background: var(--bt-paper);
    box-shadow: 0 18px 40px rgba(32, 34, 38, 0.12);
  }

  .site-header.is-menu-open .header-menu {
    display: flex;
  }

  .nav-links {
    flex: 1 1 100%;
    flex-direction: column;
    gap: 0;
  }

  .nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--bt-line);
    font-size: 17px;
  }

  .link-login {
    order: 1;
    padding: 14px 0;
  }

  .language-switcher {
    order: 2;
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .operations-list dt {
    flex-basis: 140px;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
  }

  /* Sides only: the header, the hero buttons and the footer keep their own vertical padding. */
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .section,
  .intro,
  .operations,
  .trust {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-header {
    position: static;
  }

  .site-header-inner {
    gap: 14px;
  }

  .menu-toggle {
    order: 1;
    margin-left: auto;
  }

  /* On a phone the open menu sits between the logo row and the buttons, in the order of the page. */
  .header-menu {
    position: static;
    order: 2;
    flex-basis: 100%;
    padding: 0;
    border-top: 1px solid var(--bt-line);
    border-bottom: 0;
    box-shadow: none;
  }

  .header-actions {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
  }

  .header-actions .button {
    flex: 1 1 auto;
  }

  .hero-grid {
    padding-top: 48px;
  }

  .hero-actions .button,
  .pricing-cta .button,
  .contact-actions .button {
    width: 100%;
  }

  /* On a phone only the mobile capture is legible. */
  .hero-visual {
    display: flex;
    justify-content: center;
    padding: 0 0 8px;
  }

  .preview-frame {
    display: none;
  }

  .preview-mobile {
    position: static;
    width: 240px;
    border-radius: 18px;
  }

  .trust-strip {
    grid-template-columns: 1fr;
  }

  .trust-strip li {
    padding: 18px 0;
  }

  .trust-strip li + li {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  /* The capture comes first, the five rows follow. */
  .feature-showcase {
    flex-direction: column-reverse;
    gap: 28px;
  }

  .feature-list,
  .feature-stage {
    flex-basis: auto;
    width: 100%;
  }

  .feature-item {
    padding: 14px 0;
  }

  .feature-body h3 {
    margin-top: 4px;
    font-size: 20px;
  }

  .operations-list dt {
    flex-basis: 100%;
  }

  .price-card,
  .price-card:last-child,
  .price-card-featured {
    padding: 28px 0;
    border-left: 0;
    border-right: 0;
  }

  .price-card-featured {
    padding: 28px 20px;
  }

  .faq-list .num {
    flex-basis: 100%;
  }

  .contact {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .site-footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal {
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .legal h1 {
    font-size: 32px;
  }

  .legal-lead {
    font-size: 17px;
  }

  .legal-toc {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
