/* The new pages of relay K2 (src/components/sections/) and the new frame (header links, footer
   columns). Loaded after the page's own stylesheet on every page of a language that has the new
   copy (Base.astro), so it uses the tokens of site.css / calculator.css and adds no new colours,
   fonts or spacings. Every class here starts with "s-" (sections) or "f-" (frame), so it never
   touches the migrated pages. */

/* ---------- header: the menu (owner, 2026-11-08; Header.astro, src/config/nav.ts) ---------- */
.nav-link[aria-current] { color: var(--ink); }
/* five groups, each a button with its links in a panel. The menu takes the header's full height
   (its padding is 18 px): a panel hangs from the bar's bottom edge like the language list, and the
   pointer on its way down never leaves its group. Nothing in the bar changes size when a group
   opens: the panel lies on top of the page, the button only changes colour. */
.f-nav { align-self: stretch; margin: -18px 0; }
.f-nav-list { display: flex; height: 100%; margin: 0; padding: 0; list-style: none; gap: 2px; }
.f-nav-list > li { position: relative; display: flex; align-items: center; }
.f-nav-top {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 8px 10px;
  border: 0;
  border-radius: 100px;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-soft);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.f-nav-top svg { width: 12px; height: 12px; flex-shrink: 0; color: var(--ink-faded); transition: transform 0.2s; }
.f-nav-top:hover, .f-nav-group.is-open .f-nav-top { color: var(--ink); }
.f-nav-group.is-open .f-nav-top { background: var(--sky-mist); }
.f-nav-group.is-open .f-nav-top svg { transform: rotate(180deg); }
/* the group of the page shown: its label in ink over a short sky line */
.f-nav-group[data-current] .f-nav-top, .f-nav-top[aria-current] { color: var(--ink); }
.f-nav-top > span { position: relative; }
.f-nav-group[data-current] .f-nav-top > span::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 2px;
  background: var(--sky);
}
/* the panel: the language list's card, its first link under the group's label */
.f-nav-drop {
  position: absolute;
  top: calc(100% - 6px);
  left: -11px;
  z-index: 110;
  min-width: 220px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(20, 40, 60, 0.14);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0s linear 0.15s;
}
.f-nav-group.is-open .f-nav-drop {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}
.f-nav-link {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
}
.f-nav-link:hover { background: var(--sky-mist); color: var(--ink); }
.f-nav-link[aria-current] { position: relative; color: var(--ink); font-weight: 600; }
.f-nav-link[aria-current]::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  bottom: 9px;
  width: 2px;
  border-radius: 2px;
  background: var(--sky);
}
.f-nav-top:focus-visible, .f-nav-link:focus-visible, :where(header) .mobile-menu-link:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 0;
}
@media (prefers-reduced-motion: reduce) {
  .f-nav-drop, .f-nav-group.is-open .f-nav-drop, .f-nav-top svg { transition: none; }
}

/* the phone menu: every group open, under its heading; the panel scrolls when it is longer than the
   screen, the "Try" button stays at its bottom. Opaque: the header's blur does not reach into it
   (a backdrop filter inside another one shows the page sharp), and the page under a long list
   would show through */
:where(header.f-head) .mobile-menu {
  max-height: calc(100vh - 100%);
  max-height: calc(100dvh - 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0;
  background: var(--bg);
  box-shadow: 0 14px 40px rgba(20, 40, 60, 0.10);
}
.f-mm-groups { padding: 4px 0 6px; }
.f-mm-group + .f-mm-group { border-top: 1px solid var(--line); }
.f-mm-head {
  margin: 0;
  padding: 16px 28px 4px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.f-mm-list { margin: 0; padding: 0 0 8px; list-style: none; }
.f-mm-list .mobile-menu-link { padding: 10px 28px; font-size: 16px; line-height: 1.5; border-bottom: 0; }
.f-mm-list .mobile-menu-link[aria-current] { color: var(--sky-deep); box-shadow: inset 3px 0 0 var(--sky); }
.f-mm-foot {
  position: sticky;
  bottom: 0;
  padding: 10px 20px 12px;
  background: var(--bg);
  border-top: 1px solid var(--line);
}
.f-mm-foot .mobile-menu-cta { margin: 0; }
/* a tablet: the groups side by side; the bar shows the "Try" button itself */
@media (min-width: 640px) {
  .f-mm-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 0 8px; padding: 4px 20px 10px; }
  .f-mm-group + .f-mm-group { border-top: 0; }
  .f-mm-head { padding: 16px 8px 4px 12px; }
  .f-mm-list .mobile-menu-link { padding: 8px 8px 8px 12px; }
  .f-mm-foot { display: none; }
}
/* the bar holds the five groups, the language and the button from 1161 px in every language
   (measured 2026-11-08 in Edge: French, the widest, needs 1103 px, German, Czech and Portuguese
   1095, Polish 992, Japanese 919; plus 17 for a scrollbar and a margin); below that the menu
   button opens them. tests/e2e/nav.spec.ts checks every language at 1024 to 1280 px */
@media (max-width: 1160px) {
  :where(header.f-head) .f-nav { display: none; }
  :where(header.f-head) .nav-burger { display: inline-flex; }
  :where(header.f-head) .mobile-menu { display: block; }
}

/* the last resort of i18n-workflow.md section 5: a word wider than its line (a language longer
   than any of today's, a product code) breaks inside the box instead of running past it; no
   effect while every word fits, which tests/i18n-layout checks for the site's languages */
:where(main) :is(p, li, dt, dd) { overflow-wrap: break-word; }
/* headings, buttons and the footer's columns also give up their width to such a word (anywhere:
   a grid or flex column is not widened by it); tables keep their words and scroll instead */
:where(main) :is(h1, h2, h3, h4, .btn), :where(footer) :is(p, li, h4) { overflow-wrap: anywhere; }

/* ---------- footer: four columns ---------- */
.f-cols {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 0.9fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 56px;
  position: relative;
}
.f-cols h4 {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(62, 197, 243, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 22px;
}
.f-links { list-style: none; }
.f-links li { margin-bottom: 11px; font-size: 0.95rem; }
.f-links a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  transition: color 0.2s;
}
.f-links a:hover { color: var(--sky); }
.f-brand img { width: 50px; height: 50px; margin-bottom: 22px; filter: brightness(1.1); }
.f-brand .f-name {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: white;
  margin-bottom: 10px;
  letter-spacing: -0.025em;
  line-height: 1.6;
}
.f-brand p { color: rgba(255, 255, 255, 0.6); font-size: 0.97rem; max-width: 300px; line-height: 1.6; }
.f-bottom a { color: inherit; text-decoration: none; border-bottom: 1px dotted rgba(255, 255, 255, 0.3); }
.f-bottom a:hover { color: var(--sky); }
@media (max-width: 1100px) {
  .f-cols { grid-template-columns: 1fr 1fr 1fr; gap: 40px 32px; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .f-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .f-cols { grid-template-columns: 1fr; }
}

/* ---------- footer: the news sign-up (a light card, the form as on the pages) ---------- */
.f-news {
  display: grid;
  /* the heading under the brand column, the card from the first link column on */
  grid-template-columns: 1.1fr 4.1fr;
  gap: 40px;
  margin-bottom: 56px;
  position: relative;
}
.f-news h4 {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 500;
  color: rgba(62, 197, 243, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.f-news-card { background: var(--surface, #fff); color: var(--ink); border-radius: 20px; padding: 24px; max-width: 560px; }
/* the status slot (kept so nothing jumps; 2 lines of 17.6 px from 521 px, the longest message of the 12
   languages wraps to 2 there, 4 to 5 on a phone) is the card's bottom: the card has no padding under it,
   the button is centred and a little larger, the message sits centred in the slot */
.f-news-card, .s-box[data-form='newsletter'] { padding-bottom: 4px; }
/* the card says what it is for (owner, 2026-11-10): the form's intro as its title */
.f-news-card .fm .fm-intro, .s-box[data-form='newsletter'] .fm .fm-intro { color: var(--ink); font-size: 1.1rem; font-weight: 700; }
/* the news sign-up form, the same wherever it stands (footer card, AI page box) */
.fm[data-fm='newsletter'] .fm-submit { display: grid; width: fit-content; margin-inline: auto; padding: 14px 40px; font-size: 1.05rem; }
.fm[data-fm='newsletter'] .fm-status { margin-top: 10px; height: 36px; }
@media (max-width: 520px) {
  .fm[data-fm='newsletter'] .fm-status { height: 72px; }
}
/* French at 320 px: the server-error message takes 5 lines */
@media (max-width: 340px) {
  .fm[data-fm='newsletter'] .fm-status { height: 90px; }
}
.fm[data-fm='newsletter'] .fm-msg { justify-content: center; text-align: center; }
@media (max-width: 1100px) {
  .f-news { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 760px) {
  .f-news { grid-template-columns: 1fr; gap: 18px; }
  .f-news-card { padding: 20px 16px 4px; }
}

/* ---------- page hero ---------- */
.s-hero {
  position: relative;
  padding: 64px 0 70px;
  overflow: hidden;
}
.s-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: center;
}
.s-hero-grid.s-has-figure { grid-template-columns: 1.2fr 1fr; }
/* a box beside the text (the try page's form): wide enough for two fields in a row (forms.css, 520 px);
   under the text on a narrower screen, and on a phone right after the headline, before what stands
   under the text on a computer (SubHero slot "after") */
.s-hero-grid.s-has-aside {
  grid-template-columns: minmax(0, 1fr) minmax(0, 580px);
  grid-template-areas: "main aside" "after aside";
  grid-template-rows: auto 1fr;
  column-gap: 48px;
  row-gap: 26px;
  align-items: start;
}
.s-has-aside > .s-hero-main { grid-area: main; }
.s-has-aside > .s-hero-aside { grid-area: aside; }
.s-has-aside > .s-hero-after { grid-area: after; }
.s-hero-aside > .s-box { padding: 26px 24px; }
.s-hero-aside > .s-box h3 { margin-bottom: 6px; }
@media (max-width: 1180px) {
  .s-hero-grid.s-has-aside { grid-template-columns: minmax(0, 1fr); grid-template-areas: "main" "aside" "after"; grid-template-rows: none; }
  .s-has-aside > .s-hero-aside { max-width: 640px; }
}
/* a form in the hero: the hero clips its wide background without being a scroll box (overflow: hidden is one, and
   bringing a field or the button into view could shift the whole hero sideways, seen at 320-390 px) */
.s-hero:has(> .s-has-aside) { overflow: clip; }
/* on a phone the box follows the headline closely: less room above the way back */
@media (max-width: 640px) {
  .s-hero:has(> .s-has-aside) { padding-top: 30px; }
}
/* the documentation page: the form that mails the documents, under the tiles (Docs.astro) */
.docs-box { max-width: 640px; margin: 28px auto 0; scroll-margin-top: 96px; }
/* the try page: the way to see first, the deployment on the Examples page */
.s-try-first { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 4px; }
.s-try-first-label { color: var(--ink-soft); font-weight: 600; flex-basis: 100%; }
.s-try-examples { font-weight: 600; }
.s-try-examples a { color: var(--sky-deep); text-decoration: none; }
.s-try-examples a:hover { color: var(--ink); }
/* the same link under the facts of a campaign page (lp/Proof.astro) */
.lp-machine a { color: var(--sky-deep); text-decoration: none; }
.lp-machine a:hover { color: var(--ink); }
.s-try-demo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 28px; }
.s-try-demo > div:first-child { flex: 1 1 420px; min-width: 0; }
.s-try-demo .cta-row { margin-top: 0; }
/* on a phone the demo's button takes the box's width, its label on one line in every language (command 568) */
@media (max-width: 540px) {
  .s-try-demo .cta-row, .s-try-demo .cta-row .btn { width: 100%; }
  .s-try-demo .cta-row .btn { padding-left: 14px; padding-right: 14px; }
  .s-try-demo .cta-row .btn svg { display: none; }
}
.s-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: 22px;
}
.s-crumbs a { color: var(--ink-soft); text-decoration: none; }
.s-crumbs a:hover { color: var(--sky-deep); }
.s-hero h1 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(2.1rem, 4.6vw, 3.3rem);
  letter-spacing: -0.03em;
  line-height: 1.04;
  margin-bottom: 20px;
  color: var(--ink);
  max-width: 820px;
  overflow-wrap: break-word;
}
.s-hero h1 em, .s-head h2 em, .s-cta h2 em {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.012em;
  color: var(--sky-deep);
  font-size: 1.04em;
}
.s-lede {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 680px;
  margin-bottom: 30px;
}
.s-lede strong { color: var(--ink); font-weight: 600; }
/* a paragraph for one kind of order (SubHero `orders`): the page's <html data-order>, set before it shows, picks it */
.s-lede[data-lede]:not([data-lede="default"]) { display: none; }
:root[data-order="siemens"] .s-lede[data-lede="siemens"] { display: block; }
:root[data-order="siemens"] .s-lede[data-lede="default"] { display: none; }
.s-hero .cta-row { margin-bottom: 0; }
.s-note-line {
  margin-top: 18px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faded);
  text-transform: uppercase;
}
.s-hero-blob {
  position: absolute;
  top: -180px;
  right: -200px;
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(62, 197, 243, 0.16) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(50px);
  pointer-events: none;
}

/* ---------- sections ---------- */
.s-section { padding: 90px 0; position: relative; }
.s-section.s-tight { padding: 60px 0; }
.s-alt { background: linear-gradient(180deg, var(--bg) 0%, var(--sky-haze) 100%); }
.s-head { margin-bottom: 48px; max-width: none; }
.s-head h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.s-head .section-intro { max-width: 680px; }
.s-head.s-center { margin-left: auto; margin-right: auto; text-align: center; }
.s-head.s-center .section-intro { margin: 0 auto; }

/* cards */
.s-grid { display: grid; gap: 16px; }
.s-cols-2 { grid-template-columns: repeat(2, 1fr); }
.s-cols-3 { grid-template-columns: repeat(3, 1fr); }
.s-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) {
  .s-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .s-cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .s-cols-2, .s-cols-3, .s-cols-4 { grid-template-columns: 1fr; }
}
.s-card { display: flex; flex-direction: column; overflow-wrap: break-word; }
.s-card p + p { margin-top: 10px; }
.s-card .s-fact {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--line);
  font-size: 0.86rem;
  color: var(--sky-deep);
  font-weight: 500;
}
.s-card .s-more {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--sky-deep);
  text-decoration: none;
}
.s-card .s-more:hover { color: var(--ink); }
a.s-card { text-decoration: none; color: inherit; }

/* the card that leads to How it works (HowTile.astro): the icon, the title with one line under it, a
   round arrow; the whole card is the link */
.s-section.s-howtile-sec { padding: 0; }
.s-howtile { flex-direction: row; align-items: center; gap: 18px; padding: 22px 24px; }
.s-howtile .role-tag { flex: none; width: 44px; height: 44px; margin: 0; }
.s-howtile .role-tag svg { width: 22px; height: 22px; }
.s-howtile-body { flex: 1 1 auto; min-width: 0; }
.s-howtile h3 { margin-bottom: 4px; }
.s-howtile-go {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--sky-deep);
  color: #fff;
  transition: background 0.25s ease;
}
.s-howtile-go svg { width: 20px; height: 20px; }
.s-howtile:hover .s-howtile-go { background: var(--ink); }
/* on a phone the title and the arrow share the first line, the sentence takes the full width under them */
@media (max-width: 480px) {
  .s-howtile { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 14px; padding: 18px 18px 20px; }
  .s-howtile .role-tag { display: none; }
  .s-howtile-body { display: contents; }
  .s-howtile h3 { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }
  .s-howtile-go { grid-column: 2; grid-row: 1; width: 38px; height: 38px; }
  .s-howtile p { grid-column: 1 / -1; grid-row: 2; }
}

/* numbered steps */
.s-steps { display: flex; flex-direction: column; }
.s-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.s-step:last-child { border-bottom: none; }
.s-step .s-num {
  font-family: 'Lora', Georgia, serif;
  font-style: italic;
  font-size: 2.4rem;
  color: var(--sky-deep);
  line-height: 1;
  letter-spacing: -0.02em;
}
.s-step h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 1.16rem;
  letter-spacing: -0.018em;
  margin-bottom: 6px;
  color: var(--ink);
}
.s-step p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.58; }
.s-step p + p { margin-top: 8px; }
.s-step strong { color: var(--ink); font-weight: 600; }
.s-steps-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.s-steps-row .s-step {
  display: block;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  padding: 26px 24px;
}
.s-steps-row .s-num { display: block; margin-bottom: 12px; }
@media (max-width: 860px) { .s-steps-row { grid-template-columns: 1fr; } }

/* text beside a picture */
.s-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.s-split.s-rev > :first-child { order: 2; }
.s-split .s-head { margin-bottom: 22px; }
.s-split .s-body p { color: var(--ink-soft); font-size: 1.04rem; line-height: 1.62; }
.s-split .s-body p + p { margin-top: 12px; }
.s-split .s-body strong { color: var(--ink); font-weight: 600; }
.s-bullets { list-style: none; margin-top: 18px; }
.s-bullets li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  line-height: 1.55;
  border-bottom: 1px dashed var(--line);
}
.s-bullets li:last-child { border-bottom: none; }
.s-bullets li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--sky);
  box-shadow: 0 0 0 4px rgba(62, 197, 243, 0.16);
}
.s-bullets strong { color: var(--ink); font-weight: 600; }
/* a list taller than its picture (the six cards of "How it works"): the picture stays below the header while the
   list scrolls past, where the two columns sit side by side; stacked on a phone it is in the normal flow */
@media (min-width: 901px) {
  .s-split.s-sticky-fig > .s-figure { position: sticky; top: 104px; align-self: start; }
}
@media (max-width: 900px) {
  .s-split, .s-hero-grid.s-has-figure { grid-template-columns: 1fr; gap: 36px; }
  .s-split.s-rev > :first-child { order: 0; }
}

/* a screenshot in a frame */
.s-figure {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 10px;
  box-shadow: var(--shadow-lift);
}
.s-figure img { display: block; width: 100%; height: auto; border-radius: 14px; }
.s-figure figcaption {
  padding: 12px 8px 4px;
  font-size: 0.86rem;
  color: var(--ink-faded);
}

/* a band with a sentence and a link */
.s-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding: 30px 36px;
  border-radius: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.s-strip p { font-size: 1.12rem; font-weight: 600; color: var(--ink); max-width: 720px; }
.s-strip p span:not(.arr) { display: block; font-weight: 400; font-size: 0.98rem; color: var(--ink-soft); margin-top: 4px; }

/* an arrow inside running text (" → "): heavier and with room on both sides, same line height */
.arr { font-weight: 800; margin-inline: 0.3em; line-height: 1; }

/* the band with a slice of the program behind it (Strip `art`): the sentence and the button on the
   left, on the right the bottom-right corner of the program's window, its buttons sharp, the rest
   softened; the two frames (save and go to the pallet designer, generate pallet data) cross-fade in
   one fixed box, so nothing around them moves */
.s-strip-art {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  align-items: center;
  gap: 0 24px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.s-strip-art .cta-row { margin: 18px 0 0; }
.s-strip-shot {
  position: relative;
  align-self: stretch;
  min-height: 200px;
  margin: -30px -36px -30px 0;
  overflow: hidden;
  pointer-events: none;
}
/* the slice is a flat screen turned away a little, like a monitor seen from the side (owner,
   2026-11-09: tilted as a whole, never skewed): one rotation about the vertical axis at its near right
   edge, so every line stays straight and the row of buttons (69% down the slice) stays level. Its far
   side and its top fade into the band, the near corner keeps the screen's edge, so the buttons emerge */
.s-strip-tilt {
  position: absolute;
  right: 30px;
  top: 50%;
  width: 600px;
  aspect-ratio: 600 / 160;
  transform: translateY(-50%) perspective(850px) rotateY(-28deg);
  transform-origin: right 69%;
  border-radius: 0 0 14px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 42%), linear-gradient(to bottom, transparent 0, #000 46%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 42%), linear-gradient(to bottom, transparent 0, #000 46%);
  mask-composite: intersect;
}
.s-strip-tilt img { display: block; width: 100%; height: 100%; }
.s-strip-tilt::after { content: ""; position: absolute; inset: 0; border: 1px solid #cdd9e0; border-radius: inherit; }
.s-strip-next {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: s-strip-swap 9s ease-in-out infinite;
}
@keyframes s-strip-swap {
  0%, 40% { opacity: 0; }
  50%, 90% { opacity: 1; }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .s-strip-next { animation: none; opacity: 1; }
}
/* narrow: the slice goes under the sentence and the button, a shorter strip bled to the band's edges */
@media (max-width: 860px) {
  .s-strip-art { grid-template-columns: minmax(0, 1fr); }
  .s-strip-shot { min-height: 110px; margin: 6px -36px -30px; }
  .s-strip-tilt { right: 24px; width: 520px; transform: translateY(-50%) perspective(850px) rotateY(-24deg); }
}
@media (max-width: 420px) {
  .s-strip-shot { margin: 4px -20px -24px; min-height: 96px; }
  .s-strip-tilt { right: 12px; width: 440px; }
}

/* three options side by side (integration, pricing add-ons, documentation) */
.s-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.s-options.s-two { grid-template-columns: repeat(2, 1fr); }
.s-option {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 30px 28px;
  overflow-wrap: break-word;
}
.s-option.s-featured { border-color: var(--sky); box-shadow: var(--shadow-lift); }
.s-badge {
  align-self: flex-start;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sky-deep);
  background: var(--sky-mist);
  border-radius: 100px;
  padding: 6px 12px;
  margin-bottom: 18px;
}
.s-badge.s-warm { color: #9a5a1c; background: var(--peach-soft); }
.s-option h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 10px;
}
.s-option > p { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.58; }
.s-price {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 2px;
}
/* the caption beside a price moves to the next line whole when it does not fit, never split under the
   price's line height ("590 EUR once, for all your / projects") */
.s-price small { display: inline-block; font-size: 0.9rem; font-weight: 500; line-height: 1.4; color: var(--ink-soft); letter-spacing: 0; }
/* a promotional price outside the pricing page (src/i18n/prices.ts, owner's command 631): the promotional amount,
   the list price crossed out and the reduction beside it, the promotion's term and the lowest price of the 30
   days before the reduction in small lines under it, as on the pricing page's card */
.s-strip p .s-list { font-size: 0.82em; font-weight: 500; color: var(--ink-faded); text-decoration-thickness: 1.5px; white-space: nowrap; }
.s-price .s-list { font-size: 0.62em; font-weight: 500; color: var(--ink-faded); text-decoration-thickness: 1.5px; letter-spacing: 0; white-space: nowrap; }
.s-price .s-pr-off, .s-strip p .s-pr-off { vertical-align: 0.2em; }
.s-sale { white-space: nowrap; }
.s-price-note { margin: 2px 0 12px; font-size: 0.78rem; line-height: 1.45; color: var(--ink-faded); }
.s-price-note > span, .s-strip p span.s-price-note { display: block; }
.s-strip p span.s-price-note { font-size: 0.8rem; margin-top: 2px; color: var(--ink-faded); }
.s-price-note .s-promo-term, .s-strip p span.s-promo-term { font-size: 0.86rem; font-weight: 600; color: #2f7a55; }
.s-strip p span.s-promo-term { margin-top: 8px; }
.s-option .s-bullets { margin-bottom: 22px; }
.s-option .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 960px) {
  .s-options, .s-options.s-two { grid-template-columns: 1fr; }
}

/* the data flow: program -> files -> machine. Desktop: one grid whose rows the three columns share
   (subgrid), so the card, the files and the targets start and end on the same lines and the files
   stand level with the targets; src/scripts/flow-wires.ts draws the wires from the layout and sets
   .is-wired, the plain arrows stand in until then. Phones: the columns stacked, an arrow between */
.s-flow {
  --flow-gap: clamp(58px, 5vw, 76px);
  --flow-row: 16px;
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1.15fr 1.25fr;
  column-gap: var(--flow-gap);
  align-items: stretch;
}
.s-flow-col { display: flex; flex-direction: column; gap: var(--flow-row); position: relative; z-index: 1; }
.s-flow-col > .s-file, .s-flow-col > .s-target { flex: 1; }
@supports (grid-template-rows: subgrid) {
  .s-flow { grid-template-rows: auto repeat(5, auto); row-gap: var(--flow-row); }
  .s-flow-col { display: grid; grid-row: 1 / -1; grid-template-rows: subgrid; }
  .s-flow-pd { grid-row: 2 / -1; }
}
.s-flow-col + .s-flow-col::before {
  content: "";
  position: absolute;
  left: calc(var(--flow-gap) * -0.5 - 15px);
  top: 50%;
  width: 22px;
  height: 2px;
  background: var(--sky-deep);
}
.s-flow-col + .s-flow-col::after {
  content: "";
  position: absolute;
  left: calc(var(--flow-gap) * -0.5 + 3px);
  top: calc(50% - 6px);
  border: 7px solid transparent;
  border-left: 9px solid var(--sky-deep);
}
.s-flow.is-wired .s-flow-col::before, .s-flow.is-wired .s-flow-col::after { content: none; }
.s-flow-cap {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky-deep);
  margin-bottom: 2px;
}
.s-flow-pd {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1;
  color: white;
  border-radius: 22px;
  padding: 26px 24px;
  background:
    radial-gradient(120% 55% at 100% 0%, rgba(62, 197, 243, 0.24), rgba(62, 197, 243, 0) 62%),
    radial-gradient(90% 45% at 0% 100%, rgba(27, 166, 212, 0.16), rgba(27, 166, 212, 0) 72%),
    linear-gradient(165deg, #11435d 0%, var(--ink) 50%, #072335 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 0 0 1px rgba(62, 197, 243, 0.16),
    0 30px 60px -32px rgba(10, 126, 168, 0.75);
}
/* a faint drawing grid, strongest where the light falls */
.s-flow-pd::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(110% 75% at 100% 0%, #000, transparent 75%);
  mask-image: radial-gradient(110% 75% at 100% 0%, #000, transparent 75%);
}
.s-flow-pd > * { position: relative; }
.s-flow-pd .s-flow-name {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.s-flow-pd .s-flow-name img { width: 34px; height: 34px; filter: drop-shadow(0 4px 10px rgba(62, 197, 243, 0.35)); }
.s-flow-pd ul { list-style: none; margin-bottom: 18px; }
.s-flow-pd li { padding: 5px 0; color: rgba(255, 255, 255, 0.84); font-size: 0.95rem; }
.s-flow-pd li::before { content: "› "; color: var(--sky); font-weight: 700; }
.s-flow-pd .s-flow-base {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07);
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.72);
}
.s-flow-pd .s-flow-base b { display: block; color: white; margin-bottom: 4px; }
.s-file, .s-target {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 1px 2px rgba(10, 44, 61, 0.04), 0 12px 26px -22px rgba(10, 80, 110, 0.45);
}
.s-file.s-main {
  border-color: var(--sky);
  background: linear-gradient(100deg, var(--surface) 45%, var(--sky-mist));
  box-shadow: 0 0 0 3px rgba(62, 197, 243, 0.16), 0 16px 32px -20px rgba(10, 126, 168, 0.6);
}
/* the file types; a file that comes with companion files (the OpenPallet JSON and its PNG pictures)
   stacks its badges, so every title in the column starts on one line */
.s-file .s-exts { flex-shrink: 0; display: flex; flex-direction: column; gap: 4px; }
.s-file .s-ext {
  flex-shrink: 0;
  min-width: 52px;
  text-align: center;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  font-weight: 700;
  color: white;
  border-radius: 8px;
  padding: 6px 8px;
  background: var(--sky-deep);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), inset 0 -2px 0 rgba(0, 0, 0, 0.16);
}
.s-ext.s-pdf { background: #c0473b; }
.s-ext.s-json { background: #2f7a55; }
.s-ext.s-csv { background: #8a5a2b; }
.s-ext.s-db { background: var(--sky-deep); }
.s-ext.s-order { background: #5b4a9a; }
.s-file .s-ext.s-png { background: var(--surface); color: #2f7a55; box-shadow: inset 0 0 0 1.5px rgba(47, 122, 85, 0.55); padding: 5px 8px; }
.s-file b, .s-target b { display: block; font-size: 0.97rem; color: var(--ink); line-height: 1.3; }
.s-file span, .s-target span { display: block; font-size: 0.85rem; color: var(--ink-soft); line-height: 1.4; }
.s-target { background: var(--sky-haze); }
.s-target .s-ico { flex-shrink: 0; width: 36px; height: 36px; color: var(--sky-deep); }
/* the wires (drawn by flow-wires.ts, desktop only) */
.s-flow-wires {
  display: none;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
  z-index: 2;
}
.s-flow.is-wired > .s-flow-wires { display: block; }
.s-flow-wires path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.s-flow-wires .wires path { stroke: var(--sky-deep); stroke-width: 2; }
.s-flow-wires .wires .main { stroke: var(--sky-bright); stroke-width: 3; }
.s-flow-wires .wires .link { stroke: var(--sky-bright); stroke-width: 2.5; }
.s-flow-wires .glow path { stroke: var(--sky); stroke-width: 11; opacity: 0.16; }
.s-flow-wires .head { fill: var(--sky-deep); stroke: none; }
.s-flow-wires .head.main { fill: var(--sky-bright); }
.s-flow-wires .joint { fill: var(--sky-deep); }
.s-flow-wires .port { fill: var(--surface); stroke: var(--sky-deep); stroke-width: 2; }
/* the optional routes: a soft dashed layer behind the wires; the opacity is on the group, so the
   routes that run together do not darken where they overlap */
.s-flow-wires .alts { opacity: 0.4; }
.s-flow-wires .alts path { stroke: var(--sky-bright); stroke-width: 2.75; stroke-dasharray: 7 6; stroke-linecap: round; }
.s-flow-wires .alts .head, .s-flow-wires .alts .joint { fill: var(--sky-bright); stroke: none; }
.s-flow-wires .pulse .halo { fill: var(--sky); opacity: 0.3; }
.s-flow-wires .pulse .core { fill: var(--sky-deep); }
.s-flow-wires .pulse.main .core { fill: white; stroke: var(--sky-bright); stroke-width: 1.5; }
.s-flow-foot { margin-top: 26px; font-size: 0.95rem; color: var(--ink-soft); max-width: 900px; }
/* the caption and the legend of the dashed wires; the legend holds its place from the start and shows
   once the wires are drawn (no wires on phones, no legend) */
.s-flow-note { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 32px; }
.s-flow-note .s-flow-foot { flex: 1 1 480px; }
.s-flow-key {
  flex: none;
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--ink-soft);
  visibility: hidden;
}
.s-flow-key svg { flex: none; overflow: visible; opacity: 0.45; }
.s-flow-key svg path:first-child { fill: none; stroke: var(--sky-bright); stroke-width: 2.75; stroke-dasharray: 7 6; stroke-linecap: round; }
.s-flow-key svg path:last-child { fill: var(--sky-bright); }
.s-section:has(.s-flow.is-wired) .s-flow-key { visibility: visible; }
@media (max-width: 960px) {
  .s-flow { grid-template-columns: 1fr; grid-template-rows: none; row-gap: 0; column-gap: 0; }
  .s-flow-col { display: flex; grid-row: auto; }
  .s-flow-col > .s-file, .s-flow-col > .s-target { flex: none; }
  .s-flow-pd { grid-row: auto; }
  .s-flow-col + .s-flow-col { padding-top: 44px; }
  .s-flow-col + .s-flow-col::before { left: 50%; top: 10px; width: 2px; height: 22px; }
  .s-flow-col + .s-flow-col::after { left: calc(50% - 6px); top: 28px; border: 7px solid transparent; border-top: 9px solid var(--sky-deep); }
  .s-flow-key { display: none; }
}

/* facts: label and value rows */
.s-facts {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  overflow: hidden;
}
.s-facts > div {
  display: grid;
  grid-template-columns: minmax(140px, 0.8fr) 2fr;
  gap: 20px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line-soft);
}
.s-facts > div:last-child { border-bottom: none; }
/* a narrow card stacks its rows, whatever the screen (an e-mail address no longer breaks mid-word; night review 2026-11-10, D3-3) */
.s-facts { container-type: inline-size; }
@container (max-width: 400px) { .s-facts > div { grid-template-columns: 1fr; gap: 4px; } }
.s-facts dt { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.s-facts dd { color: var(--ink-soft); font-size: 0.95rem; line-height: 1.55; overflow-wrap: anywhere; }
.s-facts code, .s-prose code, .s-card code, .s-code {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 0.86rem;
  color: var(--ink);
  background: var(--sky-mist);
  border-radius: 6px;
  padding: 2px 6px;
}
@media (max-width: 600px) {
  .s-facts > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 18px; }
}

/* the person of the contact page (src/config/contact.ts): photo, name, role, reply time and, once the
   booking page exists, the video call; no telephone (owner, 2026-11-05) */
.s-person { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 18px; }
.s-person img { width: 64px; height: 64px; border-radius: 50%; flex: none; object-fit: cover; }
.s-person > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.45; }
.s-person strong { color: var(--ink); font-weight: 600; }
.s-person .s-person-reply { margin-top: 6px; color: var(--ink); }
.s-person a { color: var(--sky-deep); }

/* plain text */
.s-prose { max-width: 760px; }
.s-prose p { color: var(--ink-soft); font-size: 1.05rem; line-height: 1.68; }
.s-prose p + p { margin-top: 14px; }
.s-prose strong { color: var(--ink); font-weight: 600; }
/* links in running text; a button (.btn) in these sections keeps its own colour and even border
   (owner, 2026-11-09: a dotted bottom edge on the secondary buttons). :where keeps the specificity
   of a plain ".s-prose a" */
:where(.s-prose, .s-step, .s-split, .s-option > p, .s-facts, .s-box, .s-lede) a:not(.btn) {
  color: var(--sky-deep);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px dotted var(--sky-deep);
}

/* a framed box: form place, notes */
.s-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  padding: 32px 32px;
  box-shadow: var(--shadow-soft);
}
.s-box h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  color: var(--ink);
}
.s-box p { color: var(--ink-soft); font-size: 0.98rem; line-height: 1.58; }
.s-box p + p { margin-top: 10px; }
.s-box .cta-row { margin-top: 22px; margin-bottom: 0; }
.s-two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 900px) { .s-two-col { grid-template-columns: 1fr; } }

/* questions */
.s-faq .faq-list { max-width: 860px; }

/* closing call */
.s-cta .cta-row { justify-content: center; }
.s-cta .s-note-line { text-align: center; }

/* a film */
.s-film .video-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: #0a2c3d;
  cursor: pointer;
  display: block;
  overflow: hidden;
}
.s-film .video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.s-film .video-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--sky);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 18px 40px -10px rgba(10, 44, 61, 0.55);
  z-index: 1;
}
.s-film .video-play svg { width: 34px; height: 34px; margin-left: 5px; }
.s-film .video-facade:hover .video-play { background: var(--sky-deep); }
.s-film .video-badge {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  background: rgba(10, 44, 61, 0.7);
  padding: 5px 10px;
  border-radius: 100px;
}
/* the centre of the clock on the 69 s film's picture: the middle of it is the "3 min" */
.s-film .play-on-clock .video-play { left: 23.2%; top: 57.8%; }
@media (max-width: 540px) {
  /* a phone: the picture's own text reaches the corner, and the clock stays readable */
  .s-film .play-on-clock .video-play { width: 52px; height: 52px; }
  .s-film .play-on-clock .video-play svg { width: 22px; height: 22px; margin-left: 3px; }
  .s-film .play-on-clock .video-badge { right: 6px; bottom: 6px; font-size: 10px; padding: 3px 7px; }
}
@media (max-width: 360px) {
  .s-film .play-on-clock .video-badge { display: none; }
}
.s-film-more { margin: 18px 0 0; text-align: center; font-weight: 600; }
.s-film-caption { padding: 10px 4px 0; font-size: 0.9rem; color: var(--ink-faded); text-align: center; }
.s-film-more a { color: var(--sky-deep); text-decoration: none; }
.s-film-more a:hover { color: var(--ink); }
.s-film video { position: absolute; inset: 0; width: 100%; height: 100%; background: #0a2c3d; }
@media (max-width: 540px) {
  .s-film .video-play { width: 64px; height: 64px; }
  .s-film .video-play svg { width: 26px; height: 26px; margin-left: 4px; }
}

/* site map */
.s-map { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.s-map h2 { font-size: 1.2rem; letter-spacing: -0.015em; margin-bottom: 14px; }
.s-map ul { list-style: none; }
.s-map li { padding: 6px 0; }
.s-map a { color: var(--ink-soft); text-decoration: none; border-bottom: 1px dotted var(--line); }
.s-map a:hover { color: var(--sky-deep); }
@media (max-width: 900px) { .s-map { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .s-map { grid-template-columns: 1fr; } }

/* legal texts */
.s-legal { max-width: 820px; color: var(--ink-soft); font-size: 1rem; line-height: 1.68; overflow-wrap: break-word; }
.s-legal h2 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin: 40px 0 14px;
}
.s-legal h3 { font-family: 'IBM Plex Sans', sans-serif; font-size: 1.12rem; color: var(--ink); margin: 26px 0 10px; }
.s-legal p { margin-bottom: 12px; }
.s-legal ul, .s-legal ol { margin: 0 0 14px 22px; }
.s-legal li { margin-bottom: 6px; }
.s-legal strong { color: var(--ink); }
.s-legal a { color: var(--sky-deep); text-decoration: none; border-bottom: 1px dotted var(--sky-deep); overflow-wrap: anywhere; }
.s-legal .s-table { overflow-x: auto; margin: 6px 0 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.s-legal table { border-collapse: collapse; width: 100%; font-size: 0.9rem; line-height: 1.5; }
.s-legal th, .s-legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.s-legal th { color: var(--ink); font-weight: 600; background: var(--sky-haze); }
.s-legal-meta {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-faded);
  margin-bottom: 8px;
}
.s-binding {
  max-width: 820px;
  margin-bottom: 28px;
  padding: 14px 18px;
  border-radius: 14px;
  background: var(--sky-mist);
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.s-binding a { color: var(--sky-deep); font-weight: 600; }
@media (max-width: 640px) {
  .s-legal .s-table { border: 0; background: none; overflow: visible; }
  .s-legal table, .s-legal tbody, .s-legal tr, .s-legal td { display: block; width: 100%; }
  .s-legal thead { display: none; }
  .s-legal tr { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); margin-bottom: 12px; padding: 6px 0; }
  .s-legal td { border-bottom: 0; padding: 6px 14px; font-size: 0.9rem; }
  .s-legal td::before {
    content: attr(data-label);
    display: block;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-faded);
    margin-bottom: 2px;
  }
}

/* who makes it */
.s-maker {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: center;
  max-width: 900px;
}
.s-maker img { width: 160px; height: 160px; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow-soft); }
.s-maker .section-label { margin-bottom: 14px; }
.s-maker h3 {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 8px;
}
.s-maker p { color: var(--ink-soft); font-size: 1rem; line-height: 1.6; margin-bottom: 10px; }
.s-maker .s-more { font-weight: 600; color: var(--sky-deep); text-decoration: none; }
@media (max-width: 600px) {
  .s-maker { grid-template-columns: 1fr; gap: 20px; }
  .s-maker img { width: 120px; height: 120px; }
}

/* today's footer on a new page of a language still on today's frame (the German legal texts):
   one column on a phone, as on the home page */
@media (max-width: 980px) {
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* a grid cell never grows past the screen because of a long button: the cell may shrink, and on a
   narrow phone a button's label wraps inside the button */
.s-hero-grid > *, .s-two-col > *, .s-split > *, .s-grid > *, .s-options > * { min-width: 0; }
@media (max-width: 420px) {
  .s-section .btn, .s-hero .btn, .s-cta .btn, .hero .btn { white-space: normal; text-align: left; }
  .s-box { padding: 26px 20px; }
  .s-strip, .s-option { padding: 24px 20px; }
}
/* on a phone two buttons share a row only when both labels fit whole; otherwise each takes its own
   row at full width (today's home and pricing give every button half the row, flex: 1, which
   breaks a longer label of the new copy, or of a longer language, into three or four lines) */
@media (max-width: 540px) {
  :is(.s-section, .s-hero, .s-cta, .hero, .lp-hero) .cta-row .btn { flex: 1 1 auto; justify-content: center; text-align: center; }
}
/* a long label of a longer language in a box or a band of a 320 px phone: two lines, not three */
@media (max-width: 360px) {
  :is(.s-section, .s-hero, .s-cta, .hero, .lp-hero) .cta-row .btn { padding-left: 18px; padding-right: 18px; }
  :is(.s-section, .s-hero, .s-cta, .lp-hero) .btn { font-size: 0.92rem; gap: 8px; }
  /* the closing heading: a long word of the language (pt "posicionamentos") fits the line */
  .s-cta h2 { font-size: 1.9rem; }
  :is(.s-box, .s-option, .s-strip) :is(.cta-row, div, p) .btn { padding-left: 14px; padding-right: 14px; gap: 6px; }
}

/* the new frame has its menu of five groups: the tagline beside the logo would wrap to two or
   three lines and change the header's height with the length of the language, so it gives way */
:where(header.f-head) .brand-tag { display: none; }
/* the name on one line in every language: the menu button carries the groups below 1161 px, so
   the bar has room for it down to 390 px */
:where(header.f-head) .brand-name { white-space: nowrap; }
/* on one line the name ran under the menu button of a narrow phone (measured 2026-11-09 in Edge:
   below 349 px on a page with 32 px margins, 329 px with the 22 px margins of the English, Polish
   and German home, pricing and calculator pages, 357 px in Japanese and Chinese, 373 px in
   Portuguese with its wider "PT-BR" switch; at 320 px 9 to 52 px of the name lay under the button
   and the switch). Below 390 px it stands on two lines, "Pallet" over "Designer", at every width
   and in every language alike; two lines of 16 px stay within the 40 px of the menu button, so the
   bar keeps its height. tests/e2e/header.spec.ts checks the bar at 320 to 390 px */
@media (max-width: 389px) {
  :where(header.f-head) .brand-name { white-space: normal; width: min-content; font-size: 16px; line-height: 1.05; }
}

/* ---------- pricing: toggles, edition cards, add-ons (K2-2) ---------- */
/* a text a toggle changes stands in a stack: every variant in one grid cell, only the chosen one
   visible, so the cell keeps the height of its longest variant and nothing below moves */
.s-pr-stack { display: grid; }
.s-pr-stack > * { grid-area: 1 / 1; }
.s-pr-stack > :not(.is-on) { visibility: hidden; }

.s-pr-toggles { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-bottom: 30px; }
.s-pr-toggle { border: 0; padding: 0; margin: 0; min-width: 0; }
.s-pr-toggle legend {
  padding: 0;
  margin-bottom: 8px;
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faded);
}
.s-pr-seg {
  display: grid;
  grid-template-columns: repeat(var(--n), minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 100px;
}
.s-pr-seg label { position: relative; display: flex; cursor: pointer; }
.s-pr-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.s-pr-seg span {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 16px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-align: center;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.s-pr-seg label:hover span { color: var(--ink); }
.s-pr-seg input:checked + span { background: var(--sky-deep); color: white; }
.s-pr-seg input:focus-visible + span { outline: 2px solid var(--sky); outline-offset: 2px; }
.s-pr-off {
  font-family: 'JetBrains Mono', 'Courier New', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #2f7a55;
  background: var(--mint-soft);
  border-radius: 100px;
  padding: 3px 8px;
  white-space: nowrap;
}

.s-pr-price { margin: 12px 0 6px; }
.s-pr-was { min-height: 1.5em; font-size: 0.95rem; color: var(--ink-faded); }
.s-pr-was s { text-decoration-thickness: 1.5px; }
.s-pr-amount {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 700;
  font-size: clamp(1.7rem, 8vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.s-pr-unit { font-size: 0.92rem; color: var(--ink-soft); }
/* the promotion (Ekosystem cennik.md section 6a): its end under the price, one stack per term so the
   line keeps its height on the card that has none */
.s-pr-promo { margin: -2px 0 10px; font-size: 0.9rem; font-weight: 600; color: #2f7a55; }
.s-pr-promo-line, .s-promo-line { font-weight: 600; color: #2f7a55; }
/* the lowest price of the 30 days before the reduction (Ekosystem cennik.md section 6a): small, under the price */
.s-pr-lowest { margin: -6px 0 10px; font-size: 0.78rem; color: var(--ink-faded); }
.s-pr-note {
  margin-bottom: 14px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--sky-haze);
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--sky-deep);
  font-weight: 500;
}
.s-pr-card > p { margin-bottom: 22px; }
/* each edition has its colour (owner, 2026-11-10): the integrator edition blue, the plant licence green; the two
   cards weigh the same, none is marked as chosen (the edition switch is gone) */
.s-option[data-edition] { border-top: 5px solid var(--edition-line, var(--line)); }
.s-option[data-edition='integrator'] { --edition: var(--edition-int); --edition-soft: var(--edition-int-soft); --edition-line: var(--edition-int-line); }
.s-option[data-edition='client'] { --edition: var(--edition-plant); --edition-soft: var(--edition-plant-soft); --edition-line: var(--edition-plant-line); }
.s-option[data-edition] > .s-badge { color: var(--edition); background: var(--edition-soft); }
/* the card a link names (?edition=): a lift, in its own colour */
.s-pr-card.s-featured { border-color: var(--edition-line); }
.s-pr-try {
  display: inline-block;
  margin-top: 14px;
  font-weight: 600;
  color: var(--sky-deep);
  text-decoration: none;
  border-bottom: 1px dotted var(--sky-deep);
}
.s-pr-try svg { width: 16px; height: 16px; margin-left: 8px; vertical-align: -3px; }
.s-pr-try:hover { color: var(--ink); }

.s-pr-addons .s-option > p { margin-bottom: 18px; }
.s-pr-line { display: flex; flex-direction: column; margin: 6px 0 12px; }
.s-pr-line [data-item] { white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-pr-ai { margin: 0 0 22px; border-top: 1px dashed var(--line); }
.s-pr-ai > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 9.5rem;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.s-pr-ai dt b { display: block; color: var(--ink); font-size: 0.97rem; }
.s-pr-ai dt span, .s-pr-ai dd span { display: block; color: var(--ink-soft); font-size: 0.86rem; line-height: 1.4; }
.s-pr-ai dd { text-align: right; }
@media (max-width: 380px) { .s-pr-ai > div { grid-template-columns: 1fr; gap: 2px; } .s-pr-ai dd { text-align: left; } }
.s-pr-ai dd b { display: block; color: var(--ink); font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-pr-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; }
.s-pr-actions .btn { margin-top: 0; }
/* the Siemens package: its delivery stands right above its "Buy", at the card's foot */
.s-pr-buy { margin-top: auto; }
.s-pr-buy .s-pr-actions { margin-top: 0; }
.s-pr-deliv { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 14px; font-size: 0.9rem; line-height: 1.45; color: var(--ink-soft); }
.s-pr-deliv svg { flex-shrink: 0; width: 18px; height: 18px; margin-top: 1px; color: var(--sky-deep); }
/* the services, after the shop's items: the line "individual quote and a separate invoice, outside the
   online shop" stands under the section's heading, once for both cards */
.s-pr-services .s-head { margin-bottom: 32px; }
.s-pr-services .s-head .s-pr-svc { margin: 16px 0 0; max-width: 680px; font-size: 1rem; }
.s-pr-services .s-head .s-pr-svc svg { margin-top: 2px; }
.s-pr-services .s-option > p { margin-bottom: 18px; }
/* the phone rule of today's pricing CSS gives every button flex: 1 (basis 0): beside a short link a
   one-word label ("Kaufen") was squeezed onto three lines; from its own width the link wraps instead */
@media (max-width: 540px) { .s-pr-actions .btn { flex-basis: auto; white-space: nowrap; } }
.s-pr-more { font-weight: 600; font-size: 0.93rem; color: var(--sky-deep); text-decoration: none; border-bottom: 1px dotted var(--sky-deep); }
@media (max-width: 640px) {
  .s-pr-toggle { flex: 1 1 100%; }
}
@media (max-width: 420px) {
  .s-pr-card, .s-pr-addons .s-option, .s-pr-services .s-option { padding: 26px 20px; }
  .s-pr-seg span { padding: 6px 8px; font-size: 0.9rem; }
  .s-pr-ai > div { grid-template-columns: minmax(0, 1fr) 8.5rem; }
}
/* a 320 px phone: the longest one-word option (fr "Perpétuelle", de "Unbefristet") stood past its
   pill, up to the border of the switch */
@media (max-width: 340px) {
  .s-pr-seg span { padding: 6px 4px; font-size: 0.82rem; }
}

/* ---------- the order dialog before the Paddle checkout (K2-2) ---------- */
/* its top edge is fixed, not centred: nothing in it changes height while it is open, and even so
   the fields would not move */
.s-dlg {
  width: min(600px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  margin: 16px auto auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-deep);
  overflow: auto;
}
@media (min-height: 760px) { .s-dlg { margin-top: 6vh; max-height: calc(94dvh - 16px); } }
.s-dlg [hidden] { display: none; }
.s-dlg::backdrop { background: rgba(10, 44, 61, 0.45); }
.s-dlg-form { padding: 26px 30px 24px; }
.s-dlg-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.s-dlg-head h2 { font-size: 1.5rem; letter-spacing: -0.02em; line-height: 1.2; }
.s-dlg-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink-soft);
  cursor: pointer;
}
.s-dlg-close:hover { color: var(--ink); border-color: var(--sky); }
.s-dlg-close svg { width: 18px; height: 18px; }
/* the name above the total, always: the name does not change while the dialog is open, and the
   total (a no-break space for 7 seats and more) keeps its own row whatever its width */
.s-dlg-sum {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 12px 16px;
  margin-bottom: 18px;
  border-radius: 14px;
  background: var(--sky-mist);
  font-size: 0.95rem;
}
.s-dlg-sum span { color: var(--ink-soft); }
.s-dlg-sum small { font-size: 0.82rem; color: var(--ink-faded); }
.s-dlg-total s { color: var(--ink-faded); text-decoration-thickness: 1.5px; white-space: nowrap; }
.s-dlg-sum .s-dlg-promo { font-weight: 600; color: #2f7a55; }
.s-dlg-sum b { font-family: 'IBM Plex Sans', sans-serif; font-size: 1.15rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-dlg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; }
.s-dlg-wide, .s-dlg-grid fieldset { grid-column: 1 / -1; }
.s-dlg-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.s-dlg-field > span, .s-dlg-field legend { font-size: 0.86rem; font-weight: 600; color: var(--ink); padding: 0; }
.s-dlg-field legend { margin-bottom: 6px; }
.s-dlg-field small { font-size: 0.8rem; color: var(--ink-faded); line-height: 1.35; }
.s-dlg-field input, .s-dlg-field select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  font: inherit;
  font-size: 0.97rem;
  color: var(--ink);
}
.s-dlg-field input:focus, .s-dlg-field select:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(62, 197, 243, 0.18); }
.s-dlg-field [aria-invalid="true"], .s-dlg-check input[aria-invalid="true"] { border-color: #c0473b; box-shadow: 0 0 0 3px rgba(192, 71, 59, 0.14); }
.s-dlg-check { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; font-size: 0.93rem; line-height: 1.45; color: var(--ink-soft); cursor: pointer; }
.s-dlg-check input { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.s-dlg-check input:disabled + span { color: var(--ink-faded); }
.s-dlg-sub { margin-left: 28px; }
.s-dlg-check a { color: var(--sky-deep); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--sky-deep); }
/* beside the seats (under them on a phone): the order on invoice for a discount or payment terms; it stands
   there for every number, so the number never moves it */
.s-dlg-aside { align-self: end; display: flex; align-items: center; min-height: 44px; margin: 0; font-size: 0.8rem; line-height: 1.35; color: var(--ink-faded); }
.s-dlg-aside a { color: var(--sky-deep); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--sky-deep); }
.s-dlg-field input[type=number] { font-variant-numeric: tabular-nums; }
.s-dlg-privacy { margin-top: 14px; font-size: 0.8rem; line-height: 1.4; color: var(--ink-faded); }
.s-dlg-privacy a { color: var(--sky-deep); font-weight: 600; text-decoration: none; border-bottom: 1px dotted var(--sky-deep); }
/* the one message line keeps two lines of room, empty or not */
.s-dlg-msg { min-height: 2.9em; margin: 10px 0 10px; font-size: 0.92rem; line-height: 1.45; color: var(--ink-soft); }
.s-dlg-msg.is-error { color: #a8382d; }
.s-dlg-msg a { color: inherit; font-weight: 600; }
.s-dlg-submit { width: 100%; justify-content: center; }
.s-dlg-submit:disabled { opacity: 0.6; cursor: progress; transform: none; box-shadow: none; }
.s-dlg-foot { margin-top: 12px; font-size: 0.8rem; color: var(--ink-faded); text-align: center; }
/* a build without the Paddle token: the choice, its price and the way to order, no fields */
.s-dlg[data-offline] :is(.s-dlg-grid, .s-dlg-privacy, .s-dlg-submit, .s-dlg-foot) { display: none; }
.s-dlg[data-offline] .s-dlg-msg { min-height: 0; margin-bottom: 4px; }
@media (max-width: 560px) {
  .s-dlg-form { padding: 20px 18px 18px; }
  .s-dlg-grid { grid-template-columns: 1fr; }
  .s-dlg-head h2 { font-size: 1.3rem; }
}

/* buttons standing side by side are equally wide (owner, 2026-11-08): the row is one grid whose columns
   take the width of the widest label; a phone keeps the wrapping flex row above */
@media (min-width: 541px) {
  .cta-row { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; width: max-content; max-width: 100%; }
  .cta-row .btn { justify-content: center; text-align: center; }
  .cta-row.is-stacked { grid-auto-flow: row; }
  .s-cta .cta-row { margin-inline: auto; }
}
