/* Penthertz AI
   Graphite ground, one cyan taken from the logo, used for links, the main button and data in motion.
   Wide Archivo for titles, IBM Plex Sans for reading, IBM Plex Mono for anything you could type.
   Page grid: a narrow left column for titles and terms, a wide right column for the text.
   Drawings, tables and photos run the full width. */

:root {
  --bg: #0D0F13;
  --bg-2: #12151A;
  --face: #171B21;
  --rule: #232830;
  --rule-2: #39414C;
  --ink: #ECEEF1;
  --ink-2: #A9B0BA;
  --ink-3: #78808B;
  --accent: #8FE3FF;
  --on-accent: #04202B;
  --warn: #E9B765;
  --stop: #E87D72;
  --ok: #86D4A6;

  --display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --text: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --wrap: 1120px;
  --cols: minmax(0, 4fr) minmax(0, 7fr);
  --gap: 56px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video, svg { display: block; max-width: 100%; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #fff; }

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

code { font: 500 0.9em var(--mono); color: var(--ink); }

h1, h2 {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -0.022em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h3 { font: 600 18px/1.3 var(--text); }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: 24px; }

/* ---------- top bar ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 15, 19, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}

.bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { flex: none; }
.brand img { height: 30px; width: auto; }

.links { display: flex; gap: 26px; margin-left: auto; font-size: 14.5px; }
.links a { color: var(--ink-2); text-decoration: none; }
.links a:hover { color: var(--ink); }

.tools { display: flex; align-items: center; gap: 16px; }

.lang { display: flex; gap: 2px; font: 500 12.5px/1 var(--mono); }
.lang a { padding: 6px 7px; border-radius: 3px; color: var(--ink-3); text-decoration: none; }
.lang a:hover { color: var(--ink); }
.lang a[aria-current] { color: var(--ink); background: var(--face); }

.btn {
  display: inline-block;
  padding: 14px 22px;
  border: 0;
  border-radius: 4px;
  background: var(--accent);
  color: var(--on-accent);
  font: 600 15px/1 var(--text);
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #fff; color: var(--bg); }
.btn.sm { padding: 10px 14px; font-size: 14px; white-space: nowrap; }
.btn .short { display: none; }

/* ---------- hero: the wave banner ---------- */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(580px, calc(100svh - 65px), 860px);
  padding-block: 72px 96px;
  overflow: hidden;
  text-align: center;
}
#wave { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
/* a soft dark patch behind the text so it stays readable over the brightest strands */
.shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 70% 62% at 50% 46%, rgba(13, 15, 19, 0.8) 0%, rgba(13, 15, 19, 0.36) 62%, rgba(13, 15, 19, 0.5) 100%);
}
.hero .wrap { position: relative; width: 100%; }
.hero h1 { max-width: 13.5em; margin-inline: auto; font-size: clamp(34px, 9.4vw, 72px); line-height: 1.03; }
/* the French second line is longer: a smaller size on phones keeps one sentence per line */
:lang(fr) .hero h1 { font-size: clamp(25px, 8vw, 72px); }
.hero .sub { max-width: 35em; margin: 28px auto 0; font-size: 20px; line-height: 1.5; color: #D6DBE2; }
.hero .cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px; margin-top: 36px; }
.hero .from { margin-top: 22px; font-size: 14.5px; color: var(--ink-2); }
.btn.ghost { padding: 13px 22px; border: 1px solid var(--rule-2); background: rgba(13, 15, 19, 0.72); color: var(--ink); font-weight: 500; }
.btn.ghost:hover { border-color: var(--ink-2); background: rgba(13, 15, 19, 0.9); color: #fff; }

/* ---------- the kit, just under the banner ---------- */

.arrives { padding-block: 72px 76px; border-top: 1px solid var(--rule); }
.kit { text-align: center; }
.kit .pick { display: none; margin-bottom: 30px; }
.js .kit .pick { display: inline-flex; }
.kit ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; text-align: center; }
.kit li { padding-inline: 12px; font-size: 14px; line-height: 1.45; color: var(--ink-3); }
.kit li b { display: block; margin-bottom: 4px; font-size: 15px; font-weight: 600; color: var(--ink); }

/* ---------- results strip ---------- */

.proof { padding-block: 64px 68px; border-top: 1px solid var(--rule); background: var(--bg-2); }
.proof h2 { font: 500 15px/1.4 var(--text); letter-spacing: 0; color: var(--ink-3); }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 72px; margin-top: 26px; }
.stats > div { padding: 26px 0 30px; border-top: 1px solid var(--rule); }
.stats dt { font: 600 54px/1 var(--display); font-stretch: 112%; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.stats dt span { font: 500 17px/1 var(--text); letter-spacing: 0; color: var(--ink-2); }
.stats dd { max-width: 30em; margin-top: 14px; font-size: 15.5px; line-height: 1.5; color: var(--ink-2); }
.proof .note { margin-top: 0; padding-top: 22px; border-top: 1px solid var(--rule); max-width: none; font-size: 14.5px; color: var(--ink-3); }

/* ---------- sections ---------- */

.sec { padding-block: 108px; border-top: 1px solid var(--rule); }

.head { display: grid; grid-template-columns: var(--cols); gap: 20px var(--gap); align-items: end; margin-bottom: 64px; }
.head h2, .split h2 { font-size: clamp(27px, 3.5vw, 42px); line-height: 1.07; }
.head p { max-width: 34em; font-size: 18px; line-height: 1.55; color: var(--ink-2); }

.split { display: grid; grid-template-columns: var(--cols); gap: 36px var(--gap); align-items: start; }
.split .lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); }

.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 48px; }
.trio h3 { padding-top: 18px; border-top: 1px solid var(--rule-2); }
.trio p { margin-top: 10px; font-size: 16px; color: var(--ink-2); }

.note { margin-top: 22px; max-width: 46em; font-size: 15px; color: var(--ink-3); }

/* ---------- drawings ---------- */

.fig { margin-top: 84px; }
.fig-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 32px; margin-bottom: 22px; }
.fig-bar h3 { font-size: 20px; }
.fig-tools { display: flex; flex-wrap: wrap; gap: 10px 14px; }

/* one-of-several switch. The 1px gaps over a rule-coloured ground draw the dividers, so it can wrap on a phone. */
.seg { display: inline-flex; flex-wrap: wrap; gap: 1px; border: 1px solid var(--rule-2); border-radius: 4px; background: var(--rule-2); overflow: hidden; }
.seg button {
  appearance: none;
  flex: 1 1 auto;
  margin: 0;
  padding: 9px 14px;
  border: 0;
  background: var(--bg);
  color: var(--ink-2);
  font: 500 14px/1.1 var(--text);
  cursor: pointer;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.seg[hidden] { display: none; }

.draw { position: relative; }
.draw:empty { display: none; }   /* no JavaScript: no drawing, no empty frame */
.draw svg { width: 100%; height: auto; overflow: visible; }
.plate { border: 1px solid var(--rule); border-radius: 6px; background: var(--bg-2); }

.labels { position: absolute; inset: 0; pointer-events: none; }
.lbl {
  position: absolute;
  left: calc(var(--x) * 1%);
  top: calc(var(--y) * 1%);
  width: max-content;
  max-width: 21%;
  transform: translateX(-50%);
  font-size: 13px;
  line-height: 1.3;
  text-align: center;
  color: var(--ink-3);
  transition: opacity 0.3s;
}
.lbl b { display: block; font-weight: 600; color: var(--ink); }
.lbl.zone { max-width: 40%; transform: none; text-align: left; font-size: 12.5px; color: var(--ink-2); }
.lbl.zone b { font-weight: 400; color: var(--ink-2); }
.lbl.cloud { max-width: 25%; }
.lbl.wide { max-width: 44%; }
.lbl.out { max-width: 25%; }
.lbl.left { max-width: 30%; transform: none; text-align: left; }
.lbl.part { max-width: 32%; }
.off { opacity: 0; }

/* strokes keep their weight when the drawing is scaled down */
.draw svg * { vector-effect: non-scaling-stroke; }
.face { fill: var(--face); stroke: #9BA4AF; stroke-width: 1.25; stroke-linejoin: round; }
.face.top { fill: #1F252D; }
.face.side { fill: #11141A; }
.dt, .grille { fill: none; stroke: #56606C; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.term { stroke: #7C8793; }
.led { fill: var(--accent); }
.ctr { fill: var(--bg-2); stroke: #7C8793; stroke-width: 1; transition: fill 0.3s, stroke 0.3s; }
.cable { fill: none; stroke: #5D6772; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.35s, stroke 0.35s; }
.cable.fast { stroke: #8494A3; stroke-width: 2; }
.cable.warn { stroke: var(--warn); }
.cable.thin { stroke-dasharray: 2 5; }
.desk { fill: none; stroke: var(--rule-2); stroke-width: 1; }
/* dashed means software running on the machine, or a unit you could add */
.tie { fill: none; stroke: #7C8793; stroke-width: 1.25; stroke-dasharray: 4 4; }
.ghost .face { fill: none; stroke: #5D6772; stroke-dasharray: 4 4; }
.ghost .dt, .ghost .led { display: none; }
.lead { fill: none; stroke: #56606C; stroke-width: 1; }
.lead-dot { fill: #9BA4AF; }
.ico { fill: none; stroke: #7C8793; stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: opacity 0.35s; }
.ico.warn { stroke: var(--warn); }
.ico.dim { stroke: #4A535E; }
.knock { fill: var(--bg-2); stroke: none; }
.dot { fill: var(--accent); }
.dot.warn { fill: var(--warn); }
.zone-a, .zone-b { fill: rgba(255, 255, 255, 0.018); stroke: var(--rule-2); stroke-width: 1.25; transition: opacity 0.35s; }
.zone-b { stroke: #4E7F93; stroke-dasharray: 5 4; }
.draw [data-on], .rigs { transition: opacity 0.35s; }

/* where it runs */
.deploy { display: grid; grid-template-columns: var(--cols); gap: var(--gap); align-items: center; }
.modes { border-bottom: 1px solid var(--rule); }
.mode { padding: 18px 0 18px 18px; border-top: 1px solid var(--rule); box-shadow: inset 2px 0 0 transparent; transition: box-shadow 0.25s; }
.mode button {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: 600 18px/1.3 var(--text);
  text-align: left;
  cursor: pointer;
}
.mode button:hover { color: var(--ink); }
.mode p { margin-top: 8px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.mode.is-on { box-shadow: inset 2px 0 0 var(--accent); }
.mode.is-on button { color: var(--ink); }
.js .mode:not(.is-on) p { display: none; }
.hub.hit .ctr[data-c="2"] { fill: #3A3122; stroke: var(--warn); }

.why { margin-top: 84px; }
.trio.why { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px var(--gap); }
.why p { max-width: 34em; }
/* the bench section: its four results sit straight under the heading */
.why.flush { margin-top: 0; }
#bench .note { margin-top: 44px; }

/* isolation: solid outline = a machine's firewall, dashed = the lab's NAT, amber cross = refused there */
.ring { fill: rgba(255, 255, 255, 0.018); stroke: #7C8793; stroke-width: 1.25; }
.stop { fill: none; stroke: var(--warn); stroke-width: 1.75; stroke-linecap: round; }
.lbl.cap { max-width: 28%; text-wrap: balance; }
.lbl.low { transform: translateY(-100%); }   /* placed by its bottom edge */
.legend { display: none; gap: 6px 22px; font-size: 14px; color: var(--ink-3); }
.js .legend { display: flex; flex-wrap: wrap; }
.legend i { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--accent); }
.legend i.no { background: var(--warn); }
.layers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px var(--gap); margin-top: 28px; }
.layers dt { font: 600 18px/1.3 var(--text); color: var(--ink); }
.layers dd { max-width: 34em; margin-top: 10px; font-size: 16px; color: var(--ink-2); }
.layers dd code { white-space: nowrap; }

/* cluster */
.unit { transition: transform 0.5s cubic-bezier(0.3, 0, 0.2, 1), opacity 0.3s; }
.unit.t-a .front { fill: #24323B; }
.unit.t-b .front { fill: #24332D; }
.unit.t-b .led { fill: var(--ok); }
.reads { margin-top: 22px; }
.reads dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 48px; }
.reads dt { font-size: 13.5px; color: var(--ink-3); }
.reads dd { margin-top: 3px; font-size: 16px; color: var(--ink); }
.reads dd span { display: block; font-size: 14.5px; color: var(--ink-2); }
.js .reads dl:not(.is-on) { display: none; }
.key { display: inline-block; width: 9px; height: 9px; margin-right: 7px; border-radius: 2px; background: #3F6577; }
.key.b { background: #3F6A55; }

/* an OffenCode run */
.station circle { fill: var(--bg); stroke: var(--rule-2); stroke-width: 1.25; transition: stroke 0.3s; }
.station path, .station rect { fill: none; stroke: var(--ink-3); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; transition: stroke 0.3s; }
.station { cursor: pointer; }
.station.done circle { stroke: #4E7F93; }
.station.is-on circle { stroke: var(--accent); }
.station.is-on path, .station.is-on rect { stroke: var(--ink); }
.station.ok circle { stroke: var(--ok); }
.station.ok path, .station.ok rect { stroke: var(--ok); }
.rail { fill: none; stroke: var(--rule-2); stroke-width: 1.25; }
.rail.go { stroke: #4E7F93; }
.orbit { fill: none; stroke: var(--rule-2); stroke-width: 1; stroke-dasharray: 2 4; }
.token { fill: var(--accent); transition: fill 0.3s; }
.token.ok { fill: var(--ok); }

/* the OffenCode team: the same round nodes as the run drawing, with nothing to click */
.station.node { cursor: default; }
.dot.ok { fill: var(--ok); }
.legend i.ok { background: var(--ok); }
.lbl.cap.wide { max-width: 44%; }

.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: 6px; counter-reset: step; }
.steps li { padding-inline: 14px; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--ink-3); counter-increment: step; transition: color 0.3s; }
.steps button {
  appearance: none;
  display: block;
  width: 100%;
  margin: 0 0 6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink-2);
  font: 600 16px/1.3 var(--text);
  cursor: pointer;
  transition: color 0.3s;
}
.steps button::before { content: counter(step) ". "; font-weight: 400; color: var(--ink-3); }
.steps li.is-on { color: var(--ink-2); }
.steps li.is-on button { color: var(--ink); }

/* ---------- photos, screenshots, video ---------- */

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; margin-top: 84px; }
.shots.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.shot img, .shot video { width: 100%; height: auto; border: 1px solid var(--rule); border-radius: 4px; background: var(--bg-2); }
.shot figcaption { margin-top: 10px; font-size: 14px; color: var(--ink-3); }
.shot.film { margin-top: 84px; }
.shot.wide { margin-top: 32px; }
/* a screenshot opens over the page (media.js) */
.shot a { display: block; border-radius: 4px; cursor: zoom-in; }
.shot a:hover img { border-color: var(--rule-2); }
/* the demo film: our own still under a play button; media.js swaps in the player when it is pressed */
.film .play { position: relative; cursor: pointer; }
.film .play::after { content: ''; position: absolute; inset: 0; border-radius: 4px; background: rgba(13, 15, 19, 0.3); }
.film .play:hover::after { background: rgba(13, 15, 19, 0.12); }
.film .play .btn { position: absolute; z-index: 1; left: 50%; top: 62%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px; white-space: nowrap; }
.film .play .btn::before { content: ''; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.film .play:hover .btn { background: #fff; color: var(--bg); }
.film iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 1px solid var(--rule); border-radius: 4px; background: #000; }
/* the popup: the picture fitted to the window; a click on it, or the button, shows it at full size to scroll or drag */
html:has(.zoom[open]) { overflow: hidden; }
.zoom { width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 10, 13, 0.96); color: var(--ink-2); }
.zoom[open] { display: flex; flex-direction: column; }
.zoom-pane { flex: 1; min-height: 0; display: flex; overflow: auto; overscroll-behavior: contain; padding: 20px; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }
.zoom-pane img { flex: none; margin: auto; width: auto; max-width: 100%; max-height: 100%; border: 1px solid var(--rule); border-radius: 4px; cursor: zoom-in; user-select: none; }
.zoom.is-in .zoom-pane img { max-width: none; max-height: none; cursor: zoom-out; }
.zoom-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; padding: 12px 20px; border-top: 1px solid var(--rule); font-size: 14px; }
.zoom-bar span { flex: none; display: flex; gap: 8px; }
.zoom-bar button { padding: 9px 14px; border: 1px solid var(--rule-2); border-radius: 4px; background: none; color: var(--ink); font: 500 14px/1 var(--text); cursor: pointer; }
.zoom-bar button:hover { border-color: var(--ink-2); }
@media (max-width: 740px) {
  .zoom-pane { padding: 10px; }
  .zoom-bar { flex-direction: column; align-items: stretch; padding: 12px 18px; }
  .zoom-bar span { justify-content: flex-end; }
}

/* ---------- tables ---------- */

.scroll { margin-top: 84px; overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--rule-2) transparent; }
.scroll.tight { margin-top: 28px; }
.scroll.flush { margin-top: 0; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; line-height: 1.45; font-variant-numeric: tabular-nums; }
th, td { padding: 14px 22px 14px 0; border-bottom: 1px solid var(--rule); text-align: left; vertical-align: top; }
th:last-child, td:last-child { padding-right: 0; }
thead th { border-bottom-color: var(--rule-2); vertical-align: bottom; font: 600 15px/1.3 var(--text); color: var(--ink); }
tbody th { font-weight: 400; color: var(--ink-3); white-space: nowrap; }
td { color: var(--ink-2); }
.spec { min-width: 940px; }
/* the two machines that are quickest to get sit side by side: a faint tint behind the pair, a cyan line on top */
.spec col.rec { background: rgba(143, 227, 255, 0.045); }
.spec th:nth-child(2), .spec td:nth-child(2), .spec th:nth-child(3), .spec td:nth-child(3) { padding-left: 18px; }
.spec thead th:nth-child(2), .spec thead th:nth-child(3) { box-shadow: inset 0 2px 0 var(--accent); }
.pick { display: block; margin-bottom: 5px; font: 500 13px/1.2 var(--text); color: var(--accent); }
.models { min-width: 760px; }
.models td:first-child { color: var(--ink); white-space: nowrap; }
/* one model on three setups: our column carries the tint and the cyan line of the quick-delivery pair */
.versus { min-width: 680px; font-size: 15.5px; }
.versus col.ours { background: rgba(143, 227, 255, 0.045); }
.versus thead th { width: 23%; }
.versus tbody th { white-space: normal; color: var(--ink); }
.versus th:last-child, .versus td:last-child { padding-inline: 18px; }
.versus thead th:last-child { box-shadow: inset 0 2px 0 var(--accent); }
.versus tbody td:last-child { font-weight: 600; color: var(--ink); }
.sub-p { margin-top: 10px; max-width: 40em; font-size: 16px; color: var(--ink-2); }
.scroll + .sub-p { margin-top: 26px; max-width: 46em; }
/* this table only scrolls on phones, so its swipe hint waits until then */
.sub-p + .hint { display: none; }
@media (max-width: 740px) { .sub-p + .hint { display: block; margin-top: 18px; } }
.hint { display: none; }

/* ---------- pricing ---------- */

.price > div { display: grid; grid-template-columns: var(--cols); gap: 8px var(--gap); padding: 28px 0; border-top: 1px solid var(--rule); }
.price > div:last-child { border-bottom: 1px solid var(--rule); }
.price dt { font: 600 34px/1.1 var(--display); font-stretch: 112%; letter-spacing: -0.025em; }
.price dd { font-size: 16px; color: var(--ink-2); }
.price dd b { display: block; margin-bottom: 4px; font-size: 17px; font-weight: 600; color: var(--ink); }
.sub-h { margin-top: 84px; font-size: 20px; }
/* what a package includes, under the first way to buy */
.incl { margin-top: 14px; max-width: 40em; }
.incl li { padding: 10px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.incl li:last-child { padding-bottom: 0; }

/* ---------- questions ---------- */

.faq details { border-top: 1px solid var(--rule); }
.faq details:last-child { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; padding: 18px 40px 18px 0; list-style: none; font: 500 17px/1.4 var(--text); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 4px; top: 29px; width: 13px; height: 1.5px; background: var(--ink-3); transition: transform 0.2s; }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0deg); }
.faq summary:hover::before, .faq summary:hover::after { background: var(--ink); }
.faq details p { padding: 0 40px 22px 0; font-size: 16px; color: var(--ink-2); }

/* ---------- who we are ---------- */

.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.fields > div { padding: 15px 0; border-top: 1px solid var(--rule); }
.fields dt { font-size: 16px; font-weight: 600; }
.fields dd { margin-top: 2px; font-size: 14.5px; color: var(--ink-3); }

/* a tool or a list explained row by row: title on the left, one line per job on the right */
.tool { margin-top: 84px; }
.tool h3 { font-size: 20px; }
.tool .lead { margin-top: 12px; font-size: 16px; }
.fields.one { grid-template-columns: minmax(0, 1fr); }
.fields.one > div { padding: 17px 0 19px; }
.fields.one dd { max-width: 40em; margin-top: 4px; font-size: 15.5px; line-height: 1.55; color: var(--ink-2); }
.fields.one dd code { white-space: nowrap; }
.tool + .note { margin-top: 40px; }

/* ---------- contact ---------- */

.reach { margin-top: 28px; font-size: 15.5px; color: var(--ink-2); }
.reach div { padding: 11px 0; border-top: 1px solid var(--rule); }
.reach dt { display: inline; color: var(--ink-3); }
.reach dd { display: inline; }

form { display: grid; gap: 18px; }
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
label { display: grid; gap: 7px; font-size: 14px; color: var(--ink-2); }
input, select, textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  background: var(--bg-2);
  color: var(--ink);
  font: 400 16px/1.4 var(--text);
}
textarea { resize: vertical; }
input:hover, select:hover, textarea:hover { border-color: #56606C; }
.send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.send span { font-size: 13.5px; color: var(--ink-3); }
.sent { font-size: 15px; color: var(--ok); }
.sent[data-state="fail"] { color: var(--warn); }

/* ---------- footer ---------- */

.foot { padding-block: 34px; border-top: 1px solid var(--rule); font-size: 14px; color: var(--ink-3); }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 28px; }
.foot .who { display: flex; align-items: center; gap: 10px; }
.foot .who img { height: 22px; width: auto; }
.foot .who a { color: var(--ink-2); }
.foot .who a:hover { color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; }
.foot nav > a { color: var(--ink-3); text-decoration: none; }
.foot nav > a:hover { color: var(--ink); }
.foot .legal { flex-basis: 100%; padding-top: 18px; border-top: 1px solid var(--rule); font-size: 13px; line-height: 1.6; }

/* ---------- narrower screens ---------- */

@media (max-width: 1000px) {
  .links { display: none; }
  .tools { margin-left: auto; }
  .trio, .trio.why { grid-template-columns: 1fr; gap: 28px; }
  .shots.three { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --gap: 28px; }
  body { font-size: 16px; }
  h1, h2 { font-stretch: 104%; }
  .sec { padding-block: 72px; }
  .head, .split, .deploy, .price > div { grid-template-columns: 1fr; }
  .head { margin-bottom: 44px; align-items: start; }
  .hero { min-height: clamp(560px, calc(100svh - 65px), 720px); padding-block: 56px 88px; }
  .hero .sub { font-size: 18px; }
  .shade { background: radial-gradient(ellipse 130% 58% at 50% 44%, rgba(13, 15, 19, 0.84) 0%, rgba(13, 15, 19, 0.5) 70%, rgba(13, 15, 19, 0.5) 100%); }
  .arrives { padding-block: 48px 52px; }
  .kit li { padding-inline: 4px; font-size: 12.5px; }
  .kit li b { font-size: 12.5px; }
  .kit li span { display: none; }
  .stats { grid-template-columns: 1fr; }
  .stats > div { padding: 22px 0 24px; }
  .stats dt { font-size: 44px; }
  .fig, .why, .shots, .shot.film, .scroll, .sub-h, .tool { margin-top: 56px; }
  .scroll.tight { margin-top: 24px; }
  .deploy .draw { order: -1; }
  .lbl { font-size: 11.5px; }
  .lbl:not(.zone) span { display: none; }
  .lbl.left b { white-space: nowrap; }
  .lbl.cloud span { display: none; }   /* no room next to the machines on a phone: the countries are in the text below */
  .lbl.part { max-width: 27%; }
  .fig-tools, .fig-tools .seg { width: 100%; }
  .reads dl { grid-template-columns: 1fr; gap: 14px; }
  .steps { grid-template-columns: 1fr; margin-top: 18px; }
  .steps li { padding: 14px 0; border-top: 1px solid var(--rule); text-align: left; }
  .steps button { text-align: left; }
  .shots { grid-template-columns: 1fr; }
  .fields, .pair, .layers { grid-template-columns: 1fr; }
  .lbl.cap { max-width: 40%; }
  .hint { display: block; margin-top: 56px; font-size: 14px; color: var(--ink-3); }
  .hint + .scroll { margin-top: 12px; }
  .price dt { font-size: 28px; }
}

@media (max-width: 420px) {
  .wrap { padding-inline: 18px; }
  .brand img { height: 26px; }
  .tools { gap: 10px; }
  .btn.sm { padding: 9px 12px; }
}

@media (max-width: 480px) {
  .btn .full { display: none; }
  .btn .short { display: inline; }
}

@media (max-width: 350px) {
  .lbl, .lbl.zone { font-size: 10.5px; }
  .bar { gap: 12px; }
  .brand img { height: 22px; }
  .tools { gap: 8px; }
  .lang a { padding: 6px 5px; }
  .btn.sm { padding: 9px 10px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .unit, .lbl, .cable, .mode, .station circle { transition: none; }
}
