/*
 * The Solution page, part 1 (card 23): hero, deployment steps, interlude, the compatible systems
 * (card 51: the strip alone; Easy to deploy's heading and columns left the page). Figma V12, desktop 3596:8505 (1512)
 * and mobile 3596:31733 (390). Widths: mobile under 768 px, tablet 768 to 1279 px (PM layout),
 * desktop from 1280 px. The deployment block takes the desktop composition from 1024 px.
 * Every value comes from tokens.css. Motion stops with prefers-reduced-motion (end of file).
 */

.page--solution {
  padding-top: 0;
}

/* --- 01 Hero (no animation) ---------------------------------------------------------------- */

.solution-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 104px 0 96px; /* the photo band under the button is 96 high on mobile (PM) */
  background: var(--color-white);
}

.solution-hero__photo {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.solution-hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 81.7% 0; /* Figma mobile: the photo 795 wide, 331 cut on the left */
}

.solution-hero__photo::before,
.solution-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
}

.solution-hero__photo::before {
  background: var(--gradient-solution-hero-mobile), var(--gradient-solution-hero-soft-mobile);
}

.solution-hero__photo::after {
  inset: auto 0 0;
  height: 41px;
  background: var(--gradient-white-fade);
}

.solution-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-16);
}

.solution-hero__eyebrow {
  color: var(--color-navy-900);
  font-size: var(--text-eyebrow-size);
  line-height: var(--text-eyebrow-line);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--text-eyebrow-tracking);
  text-transform: uppercase;
}

.solution-hero__title {
  color: var(--color-navy-900);
  font-size: var(--text-hero-size);
  line-height: var(--text-hero-line);
  font-weight: var(--weight-bold);
}

.solution-hero__accent {
  color: var(--color-teal-400);
}

.solution-hero__subtitle {
  color: var(--color-hero-subtitle);
  font-size: var(--text-lead-size);
  line-height: var(--text-lead-line);
}

.solution-hero__button {
  width: 100%;
  margin-top: var(--space-8);
}

.solution-hero__proof {
  margin-top: var(--space-8);
  color: var(--color-navy-85);
  font-size: var(--text-body-size);
  line-height: 22px;
  font-weight: var(--weight-semibold);
}

/* --- 02 Deployment ------------------------------------------------------------------------- */

.deployment {
  padding: var(--space-64) 0;
  background: var(--color-white);
}

.deployment__lead {
  color: var(--color-petrol-900);
}

.deployment__block {
  margin-top: var(--space-40);
}

/* Tighter, when the whole section would not fit under the header otherwise (card 25). */
[data-steps-spacing="tight"] .deployment__block {
  margin-top: var(--space-32);
}

.deployment__panels {
  display: flex;
  flex-direction: column;
  gap: var(--space-64);
}

/* The progress bar exists only when the block is pinned (solution.js). */
.progress {
  --edge: 32px; /* from the bar's edge to the first marker's centre */
  --line-top: 22px;
  --o-top: 0px;
  display: none;
  position: relative;
  height: 96px;
}

.progress__line {
  position: absolute;
  top: var(--line-top);
  left: calc(var(--edge) - 24px);
  right: calc(var(--edge) - 24px);
  height: 4px;
  border-radius: 2px;
  background: var(--color-grey-150);
}

/* Card 35: the fill follows the "O" frame by frame (--o-pos, solution.js), as one piece. */
.progress__fill {
  display: block;
  width: calc(24px + var(--o-pos, 0) * (100% - 48px) / 4);
  height: 100%;
  border-radius: inherit;
  background: var(--color-teal-400);
}

.progress__markers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.progress__marker {
  position: absolute;
  top: calc(var(--line-top) - 4px);
  left: calc(var(--edge) + var(--i) * (100% - 2 * var(--edge)) / 4 - 6px);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-step-marker);
}

[data-step="0"] .progress__marker:nth-child(-n + 1),
[data-step="1"] .progress__marker:nth-child(-n + 2),
[data-step="2"] .progress__marker:nth-child(-n + 3),
[data-step="3"] .progress__marker:nth-child(-n + 4),
[data-step="4"] .progress__marker:nth-child(-n + 5) {
  background: var(--color-teal-400);
}

/* The Thermosphr "O" (card 35): one drawing, at the first marker, that solution.js slides along
   the line with a transform while its ring fills and its dot turns. Never faded. */
.progress__o {
  position: absolute;
  z-index: 1;
  top: var(--o-top);
  left: calc(var(--edge) - 24px);
  width: 48px;
  height: 48px;
  pointer-events: none;
  will-change: transform;
}

.progress__o svg {
  display: block;
}

.progress__o-disc,
.progress__o-gap {
  fill: var(--color-white);
}

.progress__o-track {
  stroke: var(--color-grey-150);
}

.progress__o-arc,
.progress__o-dot {
  stroke: var(--color-teal-400);
}

.progress__steps {
  position: absolute;
  inset: 0;
}

/* One button per step: the label, and the tap area around its marker (70 x 96 on mobile). */
.progress__button {
  position: absolute;
  top: 0;
  left: calc(var(--edge) + var(--i) * (100% - 2 * var(--edge)) / 4 - 35px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 70px;
  height: 96px;
  padding: 56px 3px 0;
  border: 0;
  border-radius: var(--space-8);
  background: none;
  color: var(--color-slate-500);
  font: inherit;
  font-size: var(--text-label-size);
  line-height: var(--text-label-line);
  font-weight: var(--weight-medium);
  text-align: center;
  cursor: pointer;
}

.progress__button[aria-current="step"] {
  color: var(--color-petrol-900);
  font-weight: var(--weight-semibold);
}

/* A step: the five have the same slots, so the pinned block never changes size. */
.step {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.step__copy {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.step__name {
  color: var(--color-petrol-900);
  font-size: var(--text-display-size);
  line-height: var(--text-display-line);
  font-weight: var(--weight-bold);
}

.step__kicker,
.step__rows dt {
  font-size: var(--text-eyebrow-size);
  line-height: var(--text-eyebrow-line);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--text-eyebrow-tracking);
  text-transform: uppercase;
}

.step__kicker {
  color: var(--color-teal-700);
}

.step__title {
  min-height: 56px; /* two lines */
  color: var(--color-petrol-900);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  font-weight: var(--weight-bold);
}

.step__text {
  min-height: 72px; /* three lines */
  margin-top: var(--space-8);
  color: var(--color-slate-500);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
}

.step__rows {
  margin: var(--space-8) 0 0;
}

/* Card 62: 60 at least, two lines of 20 in it (1 + 10 + 40 + 9); a third line grows the row (it
   overflowed by 1 px with two lines before). */
.step__row {
  display: flex;
  align-items: baseline;
  min-height: 60px;
  padding: 10px 0 9px;
  border-top: 1px solid var(--color-grey-150);
}

.step__rows dt {
  flex: none;
  width: 96px;
  color: var(--color-slate-500);
}

.step__row--thermosphr dt {
  color: var(--color-teal-700);
}

.step__rows dd {
  flex: 1;
  margin: 0;
  color: var(--color-petrol-900);
  font-size: var(--text-body-sm-size);
  line-height: var(--text-body-sm-line);
}

.step__visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: var(--color-petrol-950); /* card 52: dark (3974:54, 3978:4491) */
}

.step__visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 350 / 160;
  object-fit: cover;
}

/* Card 52, Before under 1280 px (3978:4491): the picture shifted right (107 of 350, 12 from the
   top, 243 x 148 shown), a 70 px fade on its left, so no pin hides under the key figure. */
.step--before .step__visual img {
  width: 69.43%;
  margin: 3.43% 0 0 30.57%;
  aspect-ratio: 243 / 148;
}

/* Its key figure at most the drawn 195 px wide, 12 from the bottom (as drawn: 72 + 76 = 148): a
   longer caption (French, German) wraps and the card grows upwards, never over a pin. */
.step--before .step__figure {
  top: auto;
  bottom: 12px;
  max-width: 195px;
  white-space: normal;
}

.step--before .step__visual picture::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 0;
  left: 30.57%;
  width: 20%;
  background: linear-gradient(to right, var(--color-petrol-950), var(--color-petrol-950-0));
  pointer-events: none;
}

.step__figure {
  position: absolute;
  z-index: 9;
  top: 72px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-12);
  border-radius: var(--space-16);
  background: var(--color-white);
  box-shadow: var(--shadow-float-small);
  white-space: nowrap;
}

.step__figure-value {
  color: var(--color-petrol-900);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  font-weight: var(--weight-bold);
}

.step__figure-caption {
  color: var(--color-slate-500);
  font-size: var(--text-body-sm-size);
  line-height: var(--text-body-sm-line);
}

/* Card 57: a step change is one window of 0.4 s for the "O", the bold label, the text and the
   picture (solution.js, frame by frame; card 54's dark layer before it). Each picture and its
   dark ground are one piece (the <picture>): the arriving one cross-fades over the one left,
   which stays drawn under it until the end, so the panel is never pale, dimmed nor empty. The
   key figure's card is outside that piece: white and opaque at every frame, its two lines fading
   out and in as the text does (--copy); one card at a time (data-card="off": the other). */
.step__visual picture {
  display: flow-root;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: inherit;
  background: var(--color-petrol-950);
  opacity: var(--picture, 1);
}

.step__copy,
.step__figure-value,
.step__figure-caption {
  opacity: var(--copy, 1);
}

[data-card="off"] .step__figure {
  visibility: hidden;
}

[data-steps-changing] .step__visual {
  background: none;
}

/* The label's colour during a change: from the other steps' to the current step's (--reach, 0
   to 1, solution.js), over the window; its weight changes when the change starts. */
[data-steps-changing] .progress__button {
  color: color-mix(
    in srgb,
    var(--color-petrol-900) calc(var(--reach, 0) * 100%),
    var(--color-slate-500)
  );
}

/* Pinned (solution.js, never with reduced motion or on a screen too short): the whole section
   ("section") or the bar and the step ("block") stay under the header while the runway scrolls;
   the five steps share one place. --pin-top is set by solution.js: the section centred in the
   room under the header, or the block right under it (the heading above it, out of view). */
[data-steps-pinned] .deployment__pin {
  position: sticky;
  top: var(--pin-top, var(--header-clearance));
}

[data-steps-pinned] .deployment__runway {
  height: calc(5 * 50svh);
}

/* Card 66: on a touch screen (solution.js, data-steps-touch) the device does all the scrolling and
   the step is the runway's fifth the scroll is in: each step one small viewport height (100svh,
   the screen with the browser's bars shown, which never changes when they move), about one swipe
   on a phone, so the steps never fly by and a toolbar never shifts them. */
[data-steps-pinned][data-steps-touch] .deployment__runway {
  height: calc(5 * 100svh);
}

/* Card 66-3: a step's text that grows (a translation) must not move the scroll. Chromium's scroll
   anchoring moved it by 6 to 30 px (run 46450934707: no write by the page, none with this rule). */
[data-steps][data-steps-touch] {
  overflow-anchor: none;
}

/* The bar and the step only: once pinned, the heading above them is out of view (hidden, so
   no line of it shows around the header). */
[data-steps-mode="block"].is-stuck .deployment__heading {
  visibility: hidden;
}

[data-steps-pinned] .deployment__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

[data-steps-pinned] .progress {
  display: block;
}

[data-steps-pinned] .deployment__panels {
  display: grid;
}

/* One step at a time (card 35): the steps not shown are out of the page (display: none), but for
   the one left during a change (card 57: "is-drawn", under the step arriving, until the end of
   the change). While solution.js measures, the five share one place: the tallest sets the room
   (min-height), so the pinned block never changes size. */
[data-steps-pinned] .step {
  position: relative;
  grid-area: 1 / 1;
}

[data-steps-pinned]:not([data-steps-measuring]) [data-step="0"] .step:not(:nth-child(1)):not(.is-drawn),
[data-steps-pinned]:not([data-steps-measuring]) [data-step="1"] .step:not(:nth-child(2)):not(.is-drawn),
[data-steps-pinned]:not([data-steps-measuring]) [data-step="2"] .step:not(:nth-child(3)):not(.is-drawn),
[data-steps-pinned]:not([data-steps-measuring]) [data-step="3"] .step:not(:nth-child(4)):not(.is-drawn),
[data-steps-pinned]:not([data-steps-measuring]) [data-step="4"] .step:not(:nth-child(5)):not(.is-drawn) {
  display: none;
}

/* On the mobile block the step's name is the bar's label: solution.js gives it the class
   visually-hidden (kept for screen readers only). */
@media (max-width: 1023px) {
  [data-steps-pinned] .step__copy {
    gap: 0;
  }

  [data-steps-pinned] .step__title {
    margin-top: var(--space-8);
  }

  [data-steps-pinned] .step__text {
    margin-top: var(--space-16);
  }

  [data-steps-pinned] .step__rows {
    margin-top: var(--space-16);
  }
}

/* Card 62 (option B, Romain, 26 Nov): on a phone the pinned step holds one more line of its text
   (a title line is 28 px): the room keeps the drawn 480 px (the block 600 at 390 x 844) and
   the spacing inside the step is tighter by 28 (4 + 8 + 8 + 8), so the step's content takes 452
   with today's texts and the 28 px left stay free under the picture. The picture, its crop, its
   key figure and the text sizes as drawn. solution.js gives the five steps' title, text and rows
   the tallest one's height while pinned, so their elements stay aligned. */
@media (max-width: 767px) {
  [data-steps-pinned] .deployment__panels {
    min-height: 480px;
  }

  [data-steps-pinned] .step {
    gap: var(--space-8);
  }

  [data-steps-pinned] .step__title {
    margin-top: var(--space-4);
  }

  [data-steps-pinned] .step__text {
    margin-top: var(--space-8);
  }

  [data-steps-pinned] .step__rows {
    margin-top: var(--space-8);
  }
}

/* --- 03 Interlude (no animation) ----------------------------------------------------------- */

.interlude {
  padding: var(--space-64) 0;
}

.interlude__contour {
  top: -184px;
  left: -331.5px;
}

.interlude__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

.interlude__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 564 / 440;
  border-radius: 20px;
  object-fit: cover;
}

.interlude__text {
  display: flex;
  flex-direction: column;
  gap: var(--space-32);
}

.interlude__closing {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  color: var(--color-white);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  font-weight: var(--weight-semibold);
}

.interlude__closing::before {
  content: "";
  flex: none;
  width: 32px;
  height: 3px;
  background: var(--color-teal-400);
}

.interlude__quote {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  margin: 0;
}

.interlude__quote blockquote {
  margin: 0;
  color: var(--color-white);
  font-size: var(--text-quote-size);
  line-height: var(--text-quote-line);
  font-weight: var(--weight-semibold);
}

.interlude__person {
  display: flex;
  align-items: center;
  gap: var(--space-12);
  color: var(--color-slate-300);
  font-size: var(--text-body-sm-size);
  line-height: var(--text-body-sm-line);
}

.interlude__person img {
  flex: none;
  width: 87px;
  height: 30px;
}

/* --- 04 Compatible systems (card 51, V13 3854:9743 and 3854:27351): the systems strip, a block
   of its own, its title an eyebrow (sections.css), 20 px above the strip; 64 px above and below
   on a phone, 80 on a tablet (the rhythm of the block it leaves), 120 above and 126 below from
   1280 px, as drawn. Same marquee as the Landing's client logos. ------------------------------ */

.systems {
  /* Card 52 (3992:4350 / 3992:4371): tiles 1.25 times larger, 185 x 107.5 on a phone, 260 x 150
     from 768 px (as Home's client logos). */
  --tile-scale: 0.8894;
  --tile-height: 107.5px;
  padding: var(--space-64) 0;
  background: var(--color-white);
}

.systems__viewport {
  position: relative;
  margin-top: var(--space-20);
  overflow: hidden;
}

.systems__viewport::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  bottom: 0;
  width: 48px;
  background: var(--gradient-white-right);
  pointer-events: none;
}

/* Drawn "scrolls left to right · pauses on hover". */
.systems__track {
  display: flex;
  width: max-content;
  margin-left: var(--page-margin);
  /* Card 52: nine tiles of 260 + 8 px per copy (2,412 px; 1,737 px on a phone) at card 51's
     speed: 72 px/s at 1512 (1,296 px in 18 s), 52 px/s at 390. */
  animation: systems-marquee 33.5s linear infinite;
}

.systems__viewport:hover .systems__track {
  animation-play-state: paused;
}

@keyframes systems-marquee {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.systems__row {
  display: flex;
  gap: var(--space-8);
  padding-right: var(--space-8);
}

.systems__tile {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: calc(208px * var(--tile-scale));
  height: var(--tile-height);
  border-radius: calc(var(--space-16) * var(--tile-scale));
  background: var(--color-grey-100);
  box-shadow: var(--shadow-logo-tile);
}

.systems__tile img {
  width: calc(var(--logo-width) * 1px * var(--tile-scale));
  height: calc(var(--logo-height) * 1px * var(--tile-scale));
  max-width: none;
}

/* --- Tablet: 768 to 1279 px ---------------------------------------------------------------- */

@media (min-width: 768px) {
  .solution-hero {
    padding: 120px 0 var(--space-80);
  }

  .solution-hero__button {
    width: 200px;
  }

  .deployment {
    padding: var(--space-80) 0;
  }

  /* The mobile block on the 688 width: the picture keeps the mobile proportions. */
  .step__figure,
  .step--before .step__figure {
    top: auto;
    bottom: var(--space-16);
  }

  .interlude {
    padding: var(--space-80) 0;
  }

  .interlude__contour {
    top: -150px;
    left: calc(50% - 756px);
  }

  .systems {
    --tile-scale: 1.25;
    --tile-height: 150px;
    padding: var(--space-80) 0;
  }

  .systems__viewport {
    width: min(100% - 2 * var(--page-margin), var(--content-max));
    margin-inline: auto;
  }

  .systems__viewport::before {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    width: 96px;
    background: var(--gradient-white-left);
    pointer-events: none;
  }

  .systems__viewport::after {
    width: 96px;
  }

  .systems__track {
    margin-left: 0;
  }
}

/* --- From 1024 px: the deployment block and the interlude take the desktop composition ----- */

@media (min-width: 1024px) {
  .progress {
    --edge: 24px;
    --line-top: 58px;
    --o-top: 36px;
    height: 84px;
  }

  .progress__button {
    left: calc(var(--edge) + var(--i) * (100% - 2 * var(--edge)) / 4 - 80px);
    width: 160px;
    height: 84px;
    padding: 0;
  }

  .progress__item:first-child .progress__button {
    left: 0;
    justify-content: flex-start;
    text-align: left;
  }

  .progress__item:last-child .progress__button {
    left: auto;
    right: 0;
    justify-content: flex-end;
    text-align: right;
  }

  [data-steps-pinned] .deployment__block {
    gap: 56px;
  }

  [data-steps-pinned][data-steps-spacing="tight"] .deployment__block {
    gap: var(--space-32);
  }

  .deployment__panels {
    gap: var(--space-80);
  }

  .deployment__block {
    margin-top: 56px;
  }

  [data-steps-spacing="tight"] .deployment__block {
    margin-top: var(--space-32);
  }

  .step {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    column-gap: var(--space-80);
  }

  .step__copy {
    gap: 0;
  }

  .step__kicker {
    margin-top: var(--space-8);
  }

  .step__title {
    min-height: 0;
    margin-top: var(--space-16);
    font-size: var(--text-h2-size);
    line-height: var(--text-h2-line);
  }

  .step__text {
    min-height: 0;
    margin-top: var(--space-16);
    font-size: var(--text-body-lg-size);
    line-height: var(--text-body-lg-line);
  }

  .step__rows {
    margin-top: var(--space-32);
  }

  .step__row {
    min-height: 0;
    padding: var(--space-16) 0;
  }

  .step__rows dt {
    width: 140px;
  }

  .step__rows dd {
    font-size: var(--text-body-size);
    line-height: var(--text-body-line);
  }

  /* The picture (560 x 400 at 1512) and its key figure, 32 to the left and below. */
  .step__visual {
    overflow: visible;
    margin-bottom: 32px;
  }

  .step__visual img {
    aspect-ratio: 560 / 400;
    border-radius: var(--radius-card);
  }

  .step--before .step__visual img {
    width: 100%;
    margin: 0;
    aspect-ratio: 560 / 400;
  }

  .step--before .step__visual picture::after {
    display: none;
  }

  .step--before .step__figure {
    bottom: -32px;
    max-width: none;
    white-space: nowrap;
  }

  .step__figure {
    top: auto;
    bottom: -32px;
    left: -32px;
    padding: var(--space-24);
    box-shadow: var(--shadow-float);
  }

  .step__figure-value {
    font-size: var(--text-metric-size);
    line-height: var(--text-metric-line);
  }

  .interlude__inner {
    flex-direction: row;
    align-items: center;
    gap: var(--space-40);
  }

  .interlude__photo,
  .interlude__text {
    flex: 1;
  }
}

/* --- Desktop: from 1280 px, as drawn at 1512 ------------------------------------------------ */

@media (min-width: 1280px) {
  .solution-hero {
    display: flex;
    flex-direction: column;
    height: 982px;
    padding: 80px 0 0;
  }

  .solution-hero__photo img {
    object-position: center;
  }

  .solution-hero__photo::before {
    background: var(--gradient-solution-hero-desktop), var(--gradient-solution-hero-soft-desktop);
  }

  .solution-hero__photo::after {
    height: 120px;
  }

  .solution-hero__body {
    display: flex;
    flex: 1;
    align-items: center;
  }

  .solution-hero__copy {
    width: 649px;
    gap: var(--space-24);
  }

  .solution-hero__subtitle {
    width: 540px;
  }

  .solution-hero__button,
  .solution-hero__proof {
    margin-top: 0;
  }

  .deployment {
    padding: 48px 0 120px;
  }

  .interlude {
    padding: 120px 0;
  }

  .interlude__inner {
    gap: 72px;
  }

  .interlude__photo,
  .interlude__text {
    flex: 0 0 564px;
  }

  .systems__viewport::before,
  .systems__viewport::after {
    width: 240px;
  }

  .systems {
    padding: 120px 0 126px;
  }
}

/* === Part 2 (card 24): simulator, pricing, reporting, partners, FAQ ====================== */

/* --- 05 ON/OFF simulator ------------------------------------------------------------------
 * One component, two states. solution.js drives the change through custom properties, each
 * from 0 (With Thermosphr) to 1 (Without), on its own part of the timeline (Figma keyframes):
 * --k-ground (ground, card, divider), --k-glow, --k-knob, --k-ring (ring, dot, graduations),
 * --k-dot, --k-gap (the saving between the curves), --k-line (the Thermosphr line), --k-story.
 * Without JavaScript they stay at 0: the With state, complete.
 */

.simulator {
  --k-ground: 0;
  --k-glow: 0;
  --k-knob: 0;
  --k-ring: 0;
  --k-dot: 0;
  --k-gap: 0;
  --k-line: 0;
  --k-story: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: var(--space-64) 0;
  background: var(--color-navy-900);
  color: var(--color-white);
}

.simulator__ground {
  position: absolute;
  z-index: -1;
  inset: 0;
}

.simulator__ground::before,
.simulator__ground::after {
  content: "";
  position: absolute;
}

/* The lighter teal ground and the glow (Figma "fade in progressively"): gone without. */
.simulator__ground::before {
  inset: 0;
  background: var(--gradient-simulator-ground);
  opacity: calc(0.45 * (1 - var(--k-ground)));
}

.simulator__ground::after {
  top: 10.75%;
  left: 3.7%;
  width: 92.6%;
  height: 84.5%;
  background: var(--gradient-simulator-glow);
  opacity: calc(0.6 * (1 - var(--k-glow)));
}

.simulator__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-40);
}

.simulator__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  text-align: center;
}

.simulator__eyebrow {
  color: var(--color-teal-300);
  font-size: var(--text-simulator-eyebrow-size);
  font-weight: var(--weight-bold);
  letter-spacing: var(--text-simulator-eyebrow-tracking);
}

.simulator__title {
  font-size: var(--text-simulator-title-size);
  line-height: var(--text-simulator-title-line);
  font-weight: var(--weight-bold);
}

.simulator__subtitle {
  color: var(--color-slate-300);
  font-size: var(--text-simulator-subtitle-size);
  line-height: var(--text-simulator-subtitle-line);
}

.simulator__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: var(--space-24);
  width: 100%;
  padding: var(--space-20);
  border: 1px solid
    color-mix(in srgb, var(--color-white-12) calc(var(--k-ground) * 100%), var(--color-teal-300-38));
  border-radius: 28px;
  background: var(--color-white-4);
  box-shadow: 0 0 70px
    color-mix(in srgb, transparent calc(var(--k-ground) * 100%), var(--color-teal-500-28));
}

.simulator__top {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
}

.simulator__label,
.simulator__small-label {
  color: var(--color-slate-300);
  font-size: var(--text-simulator-small-size);
  font-weight: var(--weight-bold);
  letter-spacing: var(--text-simulator-small-tracking);
}

/* The toggle: two buttons on a pill, the knob slides under the chosen one. */
.simulator__toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: var(--button-height);
  border: 1px solid var(--color-white-12);
  border-radius: var(--radius-round);
  background: var(--color-petrol-900-80);
}

.simulator__toggle[hidden] {
  display: none;
}

.simulator__knob {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--radius-round);
  background: color-mix(
    in srgb,
    var(--color-slate-500) calc(var(--k-knob) * 100%),
    var(--color-teal-500)
  );
  transform: translateX(calc((1 - var(--k-knob)) * 100%));
}

.simulator__option {
  position: relative;
  border-radius: var(--radius-round);
  font-size: 14px;
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}

.simulator__option--without {
  color: color-mix(in srgb, var(--color-white) calc(var(--k-knob) * 100%), var(--color-slate-300));
}

.simulator__option--with {
  color: color-mix(
    in srgb,
    var(--color-slate-300) calc(var(--k-knob) * 100%),
    var(--color-petrol-900)
  );
}

/* The dial: 280 on mobile, 360 on tablets, 440 from 1280 px. */
.simulator__dial {
  position: relative;
  justify-self: center;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: var(--shadow-simulator-dial);
}

.simulator__dial-art {
  display: block;
  width: 100%;
  height: 100%;
}

.simulator__face-centre {
  stop-color: var(--color-navy-800);
}

.simulator__face-edge {
  stop-color: var(--color-navy-900);
}

.simulator__ring {
  fill: none;
  stroke-width: 53.3;
}

.simulator__ring--slate,
.simulator__ring--slate-end {
  stroke: var(--color-slate-500);
}

.simulator__ring--slate-end {
  opacity: calc(1 - 0.5 * var(--k-ring));
}

.simulator__ring--mint {
  stroke: var(--color-teal-200);
}

.simulator__orbit {
  transform-box: view-box;
  transform-origin: 220px 220px;
  transform: rotate(calc(var(--k-ring) * -360deg));
}

.simulator__bezel {
  fill: none;
  stroke: var(--color-white-40);
  stroke-width: 1.5;
}

.simulator__ticks path {
  fill: none;
  stroke: color-mix(in srgb, var(--color-slate-500) calc(var(--k-ring) * 100%), var(--color-teal-200));
  stroke-width: 4.125;
  stroke-linecap: round;
}

.simulator__dot {
  fill: color-mix(in srgb, var(--color-slate-500) calc(var(--k-dot) * 100%), var(--color-teal-200));
}

.simulator__readout {
  position: absolute;
  top: 50%;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  transform: translate(-50%, calc(-50% + 8px));
}

.simulator__score {
  display: flex;
  align-items: flex-start;
  color: var(--color-teal-400);
  font-size: var(--text-simulator-score-size);
  line-height: var(--text-simulator-score-size);
  font-weight: var(--weight-thin);
  letter-spacing: var(--text-simulator-score-tracking);
  text-shadow: var(--shadow-simulator-score);
}

.simulator__score-unit {
  margin-left: 1px;
  font-size: var(--text-simulator-score-unit-size);
  line-height: 31px;
  letter-spacing: 0;
}

.simulator__caption {
  font-size: var(--text-simulator-small-size);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--text-dial-caption-tracking);
}

/* Energy today and the story. */
.simulator__energy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.simulator__energy-value {
  margin-top: var(--space-4);
  font-size: var(--text-simulator-energy-size);
  line-height: var(--text-simulator-energy-line);
  font-weight: var(--weight-bold);
}

.simulator__energy-unit {
  margin-top: var(--space-4);
  color: var(--color-slate-300);
  font-size: var(--text-simulator-unit-size);
  font-weight: var(--weight-medium);
}

.simulator__divider {
  width: 48px;
  height: 2px;
  margin-top: var(--space-24);
  background: color-mix(in srgb, var(--color-slate-500) calc(var(--k-ground) * 100%), var(--color-teal-300));
}

.simulator__stories,
.simulator__subs {
  display: grid;
}

.simulator__stories > *,
.simulator__subs > * {
  grid-area: 1 / 1;
}

.simulator__stories {
  margin-top: var(--space-24);
}

.simulator__story {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.simulator__story--with,
.simulator__sub--with {
  opacity: calc(1 - var(--k-story));
}

.simulator__story--without,
.simulator__sub--without {
  opacity: var(--k-story);
}

/* At rest, the other state's texts are hidden, not only transparent. */
[data-state="with"]:not(.is-changing) .simulator__story--without,
[data-state="with"]:not(.is-changing) .simulator__sub--without,
[data-state="without"]:not(.is-changing) .simulator__story--with,
[data-state="without"]:not(.is-changing) .simulator__sub--with {
  visibility: hidden;
}

.simulator__story-title {
  font-size: var(--text-simulator-subtitle-size);
  line-height: 28px;
  font-weight: var(--weight-semibold);
}

.simulator__story-text {
  color: var(--color-slate-300);
  font-size: var(--text-body-lg-size);
  line-height: 26px;
}

/* The three outcomes. */
.simulator__outcome {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-white-10);
}

.simulator__outcome:first-child {
  padding-top: 0;
}

.simulator__outcome:last-child {
  border-bottom: 0;
}

.simulator__outcome dd {
  margin: 0;
}

.simulator__outcome-label {
  font-size: 16px;
  font-weight: var(--weight-semibold);
}

.simulator__outcome-value {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: var(--text-simulator-value-size);
  line-height: var(--text-simulator-value-line);
  font-weight: var(--weight-bold);
}

.simulator__outcome-value--accent {
  color: var(--color-teal-300);
}

.simulator__outcome-unit {
  color: var(--color-slate-300);
  font-size: 18px;
  line-height: normal;
  font-weight: var(--weight-medium);
}

.simulator__outcome-sub {
  font-size: 14px;
}

/* "Average temperature" and "Thermosphr controls": SemiBold teal with, Regular slate without. */
.simulator__outcome-sub--temperature,
.simulator__sub--with {
  color: color-mix(in srgb, var(--color-slate-300) calc(var(--k-story) * 100%), var(--color-teal-300));
  font-weight: var(--weight-semibold);
}

[data-shown="without"] .simulator__outcome-sub--temperature,
.simulator__sub--without {
  color: var(--color-slate-300);
  font-weight: var(--weight-regular);
}

/* The 24 hours chart. */
.simulator__chart-block {
  padding-top: var(--space-24);
  border-top: 1px solid var(--color-white-8);
}

.simulator__chart-head {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

.simulator__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-24);
}

.simulator__legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--color-slate-300);
  font-size: var(--text-label-size);
  line-height: 16px;
  font-weight: var(--weight-medium);
}

.simulator__legend-item::before {
  content: "";
  width: 16px;
  height: 3px;
  border-radius: 2px;
  background: var(--color-grey-300);
}

.simulator__legend-item--thermosphr {
  opacity: calc(1 - 0.65 * var(--k-ring));
}

.simulator__legend-item--thermosphr::before {
  background: var(--color-teal-200);
}

.simulator__chart {
  display: block;
  width: 100%;
  height: 110px;
  margin-top: var(--space-24);
  overflow: visible;
}

.simulator__chart-area {
  fill: var(--color-petrol-900-35);
}

.simulator__chart-gap {
  fill: var(--color-teal-300-45);
  opacity: calc(1 - var(--k-gap));
}

.simulator__chart-bms,
.simulator__chart-line {
  fill: none;
  stroke-linecap: round;
}

.simulator__chart-bms {
  stroke: var(--color-grey-300);
  stroke-width: 2.5;
}

.simulator__chart-line {
  stroke: var(--color-teal-200);
  stroke-width: 3.5;
  stroke-dasharray: 1 1;
  stroke-dashoffset: var(--k-line);
}

[data-line-hidden] .simulator__chart-line {
  visibility: hidden;
}

.simulator__hours {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: var(--color-slate-300);
  font-size: 11px;
  line-height: 13px;
  font-weight: var(--weight-medium);
}

.simulator__footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-16);
  width: 100%;
}

.simulator__button {
  width: 100%;
}

.simulator__note {
  color: var(--color-slate-300);
  font-size: 14px;
}

/* --- 06 Pricing: a real three-column table at every width ------------------------------- */

.pricing {
  padding: var(--space-64) 0;
  background: var(--color-white);
}

.pricing__context {
  margin-top: var(--space-32);
  color: var(--color-petrol-900);
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  font-weight: var(--weight-semibold);
}

.pricing__frame {
  --without-width: 100px;
  --brand-width: 116px;
  --panel-overhang: 0px;
  position: relative;
  isolation: isolate;
  margin-top: var(--space-32);
}

/* The Thermosphr column's navy panel, behind its cells (24 px over the table from 1280 px). */
.pricing__frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: calc(-1 * var(--panel-overhang));
  right: 0;
  bottom: calc(-1 * var(--panel-overhang));
  width: var(--brand-width);
  border-radius: var(--radius-card);
  background: var(--color-navy-900);
}

.pricing__table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
}

.pricing__table th,
.pricing__table td {
  padding: 0;
  font-weight: var(--weight-semibold);
  text-align: center;
  vertical-align: middle;
}

.pricing__table .pricing__corner,
.pricing__table .pricing__label {
  text-align: left;
}

.pricing__context-cell {
  display: none;
}

thead .pricing__without {
  width: var(--without-width);
  padding: var(--space-12) 0;
  color: var(--color-petrol-900);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
}

.pricing__brand {
  width: var(--brand-width);
  padding: var(--space-16) var(--space-8);
  color: var(--color-teal-400);
}

.pricing__brand .logo {
  display: block;
  width: 100px;
  height: auto;
  margin-inline: auto;
}

tbody .pricing__label,
tbody td {
  border-top: 1px solid var(--color-grey-150);
}

tbody tr:first-child .pricing__label,
tbody tr:first-child .pricing__without {
  border-top-color: var(--color-petrol-900);
}

tbody .pricing__thermosphr {
  border-top-color: var(--color-white);
  color: var(--color-white);
}

.pricing__label {
  padding: var(--space-12) var(--space-12) var(--space-12) 0;
}

.pricing__title {
  display: block;
  color: var(--color-petrol-900);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
}

.pricing__line {
  display: block;
  margin-top: var(--space-4);
  color: var(--color-slate-500);
  font-size: var(--text-body-sm-size);
  line-height: var(--text-body-sm-line);
  font-weight: var(--weight-regular);
}

tbody .pricing__without,
tbody .pricing__thermosphr {
  font-size: var(--text-body-lg-size);
  line-height: 21px;
  white-space: nowrap;
}

tbody .pricing__without {
  color: var(--color-petrol-900);
}

tbody .pricing__none {
  color: var(--color-slate-500);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
  font-weight: var(--weight-regular);
}

.pricing__row--net .pricing__thermosphr {
  color: var(--color-teal-400);
  font-size: var(--text-h3-size);
  line-height: 28px;
  font-weight: var(--weight-bold);
}

.pricing__button {
  width: 100%;
  margin-top: var(--space-32);
}

/* --- 07 Reporting ------------------------------------------------------------------------- */

.reporting {
  padding: var(--space-64) 0;
}

.reporting__contour {
  top: 8.7px;
  left: -331.5px;
}

.reporting__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

.reporting__lead {
  font-size: var(--text-lead-size);
  line-height: var(--text-lead-line);
}

.reporting__badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--space-8);
  margin-top: var(--space-24);
  padding: var(--space-12);
  border: 1px solid var(--color-teal-400-35);
  border-radius: 14px;
  background: var(--color-navy-800);
  color: var(--color-teal-200);
}

.reporting__badge-title {
  font-size: 18px;
  line-height: 23px;
  font-weight: var(--weight-bold);
}

.reporting__badge-text {
  font-size: var(--text-body-size);
  line-height: 19px;
  font-weight: var(--weight-medium);
}

.report {
  display: flex;
  flex-direction: column;
  padding: var(--space-20);
  border: 1px solid var(--color-grey-300-80);
  border-radius: 28px;
  background: var(--color-white);
  box-shadow: var(--shadow-report);
  color: var(--color-navy-900);
}

.report__title {
  font-size: var(--text-simulator-subtitle-size);
  line-height: 25px;
  font-weight: var(--weight-semibold);
}

.report__building {
  margin-top: 2px;
  color: var(--color-navy-65);
  font-size: 14px;
  line-height: 18px;
}

.report__kpis {
  display: grid;
  gap: var(--space-12);
  margin-top: var(--space-24);
}

.report__kpi {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-16) 18px;
  border-radius: var(--space-16);
  background: var(--color-grey-100);
}

.report__kpi-value {
  font-size: var(--text-report-kpi-size);
  line-height: var(--text-report-kpi-line);
  font-weight: var(--weight-bold);
  letter-spacing: -0.5px;
  white-space: nowrap;
}

.report__kpi-label {
  color: var(--color-navy-65);
  font-size: var(--text-label-size);
  line-height: 16px;
}

.report__kpi--standard {
  background: var(--color-teal-400);
}

.report__kpi--standard .report__kpi-label {
  color: var(--color-text-on-action);
}

/* Twelve months: before and with Thermosphr, in a 130 px plot over the month letters. */
.report__chart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  height: 160px;
  margin-top: var(--space-24);
}

.report__month {
  position: relative;
}

.report__bar {
  position: absolute;
  bottom: 30px;
  width: 34.3%;
  height: calc(var(--h) * 1px);
  border-radius: 4px;
  transform-origin: bottom;
}

.report__bar--before {
  left: 0;
  background: var(--color-grey-300);
}

.report__bar--with {
  left: 40.7%;
  background: var(--color-teal-400);
}

.report__letter {
  position: absolute;
  top: 140px;
  left: 0;
  width: 75%;
  color: var(--color-navy-65);
  font-size: 11px;
  line-height: 14px;
  font-weight: var(--weight-medium);
  text-align: center;
}

/* Waiting off screen (solution.js, motion allowed), then once: each bar grows in 0.45 s to
   108 % and settles in 0.2 s; one bar every 0.06 s, "with" 0.08 s after its "before". */
[data-reporting].is-waiting .report__bar {
  transform: scaleY(0);
}

[data-reporting].is-playing .report__bar {
  animation: report-bar 0.65s ease-out calc(var(--i) * 0.06s) both;
}

[data-reporting].is-playing .report__bar--with {
  animation-delay: calc(var(--i) * 0.06s + 0.08s);
}

@keyframes report-bar {
  0% {
    transform: scaleY(0);
  }

  69.2% {
    transform: scaleY(1.08);
    animation-timing-function: ease-in-out;
  }

  100% {
    transform: scaleY(1);
  }
}

.report__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8) var(--space-20);
  margin-top: var(--space-24);
}

.report__legend-item {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  color: var(--color-navy-65);
  font-size: var(--text-label-size);
  line-height: 16px;
}

.report__legend-item::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--color-grey-300);
}

.report__legend-item--with::before {
  background: var(--color-teal-400);
}

/* --- 08 Partners (card 52, fixes before launch 3994:6518 / 3994:6532): one static block, every
   partner at once; on a phone 2 x 4 tiles of 171 x 100 (8 apart, logos at 0.758, radius 12). - */

.partners {
  --tile-scale: 0.758;
  --tile-height: 100px;
  padding: var(--space-32) 0;
  background: var(--color-white);
}

.partners__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8);
  margin-top: var(--space-24);
}

.partners__tile {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--tile-height);
  border-radius: calc(var(--space-16) * var(--tile-scale));
  background: var(--color-grey-100);
  box-shadow: var(--shadow-logo-tile);
}

.partners__tile img {
  width: calc(var(--logo-width) * 1px * var(--tile-scale));
  height: calc(var(--logo-height) * 1px * var(--tile-scale));
  max-width: none;
}

@media (min-width: 1024px) {
  .partners__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-24);
  }
}

/* --- 09 FAQ: details and summary, all open on load -------------------------------------- */

.faq {
  padding: var(--space-64) 0;
  background: var(--color-white);
}

.faq__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-40);
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.faq__item {
  padding: var(--space-24) 28px;
  border: 1px solid var(--color-slate-400);
  border-radius: var(--radius-list);
  background: var(--color-white);
}

.faq__question {
  display: flex;
  align-items: flex-start;
  gap: var(--space-32);
  list-style: none;
  cursor: pointer;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question-text,
.faq__sign {
  font-size: var(--text-h3-size);
  line-height: var(--text-h3-line);
  font-weight: var(--weight-semibold);
}

.faq__question-text {
  flex: 1;
  color: var(--color-petrol-900);
}

.faq__sign {
  flex: none;
  color: var(--color-teal-700);
}

/* While an answer folds (js/faq.js, card 46) the item is still open: the sign is already "+". */
.faq__item[open]:not(.is-closing) .faq__sign-closed,
.faq__item:not([open]) .faq__sign-open,
.faq__item.is-closing .faq__sign-open {
  display: none;
}

/* The answer unfolds and folds inside the item's changing height (js/faq.js). */
.faq__item.is-folding {
  overflow: hidden;
}

.faq__answer {
  max-width: 600px;
  margin-top: var(--space-12);
  color: var(--color-slate-500);
  font-size: var(--text-body-size);
  line-height: var(--text-body-line);
}

/* A 44 px touch target in its line (padding taken back by the margins: the line keeps its
   height). From 1280 px the text link as drawn. */
.faq__link {
  display: inline-block;
  margin: -10px 0;
  padding: 10px 0;
  color: var(--color-petrol-900);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* --- Part 2 on tablets: 768 to 1279 px (PM layout, card 24) ---------------------------- */

@media (min-width: 768px) {
  .simulator {
    padding: var(--space-80) 0;
  }

  .simulator__card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--space-40);
    row-gap: var(--space-32);
    padding: var(--space-32) var(--space-40) var(--space-24);
  }

  .simulator__top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    grid-column: 1 / -1;
  }

  .simulator__toggle {
    flex: 0 0 356px;
  }

  .simulator__dial {
    grid-column: 1 / -1;
    width: 360px;
  }

  .simulator__outcomes,
  .simulator__outcome {
    align-items: flex-end;
    text-align: right;
  }

  .simulator__chart-block {
    grid-column: 1 / -1;
  }

  .simulator__chart-head {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .simulator__chart {
    margin-top: var(--space-20);
  }

  .simulator__footer {
    flex-direction: row;
    justify-content: center;
    gap: var(--space-24);
  }

  .simulator__button {
    width: auto;
  }

  .pricing,
  .reporting,
  .faq {
    padding: var(--space-80) 0;
  }

  /* Card 52, tablets (not drawn): 2 x 4 up to 1023 px, 4 x 2 from 1024 px, logos at their
     size of today, tiles 120 high. */
  .partners {
    --tile-scale: 1;
    --tile-height: 120px;
    padding: var(--space-64) 0;
  }

  .pricing__context {
    display: none;
  }

  .pricing__context-cell {
    display: block;
  }

  .pricing__frame {
    --without-width: 160px;
    --brand-width: 180px;
    --panel-overhang: var(--space-24);
    margin-top: 64px;
  }

  .pricing__corner {
    padding: 29px var(--space-24) 29px 0;
    color: var(--color-petrol-900);
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-line);
  }

  thead .pricing__without {
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-line);
  }

  .pricing__brand .logo {
    width: 132px;
  }

  .pricing__label {
    height: 80px;
    padding: 11px var(--space-24) 11px 0;
  }

  .pricing__title {
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-line);
  }

  .pricing__line {
    font-size: var(--text-body-size);
    line-height: var(--text-body-line);
  }

  tbody .pricing__without,
  tbody .pricing__thermosphr {
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-line);
  }

  .pricing__row--net .pricing__thermosphr {
    font-size: var(--text-h2-size);
    line-height: var(--text-h2-line);
  }

  .pricing__button {
    display: flex;
    width: max-content;
    margin: 64px auto 0;
  }

  .reporting__contour {
    top: -150px;
    left: calc(50% - 756px);
  }

  .reporting__badge {
    column-gap: var(--space-12);
    padding: var(--space-12) var(--space-16);
  }

  .report {
    padding: 36px var(--space-40);
  }

  .report__kpis {
    grid-template-columns: repeat(3, 1fr);
  }


  .faq__question-text,
  .faq__sign {
    font-size: var(--text-h3-size);
    line-height: var(--text-h3-line);
  }
}

/* --- Part 2 on desktops: from 1280 px, as drawn at 1512 ---------------------------------- */

@media (min-width: 1280px) {
  .simulator {
    padding: 120px 0;
  }

  .simulator__card {
    grid-template-columns: 290px minmax(0, 1fr) 280px;
    column-gap: 0;
    row-gap: 0;
    margin-top: var(--space-4);
    padding: 35px 56px 18px;
  }

  .simulator__top {
    padding-left: 0;
  }

  .simulator__dial {
    z-index: 1;
    grid-row: 2;
    grid-column: 2;
    justify-self: start;
    width: 440px;
    margin: 63px 0 -19px 33px;
  }

  .simulator__energy {
    grid-row: 2;
    grid-column: 1;
    margin-top: 48px;
  }

  .simulator__energy-value {
    margin-top: 6px;
  }

  .simulator__divider {
    margin-top: 21px;
  }

  .simulator__stories {
    margin-top: 26px;
  }

  .simulator__outcomes {
    grid-row: 2;
    grid-column: 3;
    margin-top: 44px;
  }

  .simulator__chart-block {
    grid-row: 3;
    padding-top: 21px;
  }

  .simulator__hours {
    margin-top: 10px;
  }

  .simulator__footer {
    margin-top: 4px;
  }

  .pricing,
  .reporting,
  .faq {
    padding: 120px 0;
  }

  /* Card 52: 4 x 2 tiles of 282 x 150, 24 apart, logos 1.25 times; 120 above, 126 below. */
  .partners {
    --tile-scale: 1.25;
    --tile-height: 150px;
    padding: 120px 0 126px;
  }

  .partners__grid {
    margin-top: var(--space-20);
  }

  .pricing__frame {
    --without-width: 240px;
    --brand-width: 240px;
  }

  .reporting__contour {
    top: -144px;
  }

  .reporting__inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 100px;
  }

  .reporting__text {
    flex: 0 0 460px;
    padding-top: var(--space-40);
  }

  .report {
    flex: 0 0 640px;
  }


  .faq__link {
    display: inline;
    margin: 0;
    padding: 0;
  }

  .faq__inner {
    display: grid;
    grid-template-columns: 420px 680px;
    column-gap: 100px;
    align-items: start;
  }
}

/* --- Reduced motion: no pinning (solution.js), no movement ------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .systems__track {
    animation: none;
  }

  .systems__row[aria-hidden="true"] {
    display: none;
  }

  .systems__viewport {
    overflow-x: auto;
  }

  /* Card 24: the report's bars and amount show their final state (solution.js never makes
     them wait). */

  [data-reporting].is-playing .report__bar {
    animation: none;
  }
}

/* --- Card 36: French ---------------------------------------------------------------------- */

/* The Deployment steps, hyphenated in French: unhyphenated, the tallest French step (Step 1)
   takes one line more than the drawn block on a phone (624 px for 600), and every step takes
   the tallest one's size. Hyphenated (the page is lang="fr"), they keep the drawn 600 px. */
html:lang(fr) .step__copy {
  hyphens: auto;
}
