/* visages.tech — shared styles of every page (moved out of index.html on 27/10/2026).
   Base = iMac design (2240px canvas, Figma 2014:975); each other device overrides it in css/bp-*.css.
   Sections are marked with "N. Name" comments; values are Figma px of the relevant canvas. */

@font-face {
  font-family: "Favorit";
  src: local("ABC Favorit Variable Trial"), url("../fonts/ABCFavoritVariable-Trial.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Favorit Italic";
  src: local("ABC Favorit Book Italic Trial"), url("../fonts/ABCFavorit-BookItalic-Trial.otf") format("opentype");
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Favorit Mono";
  src: local("ABC Favorit Mono Variable Trial"), url("../fonts/ABCFavoritMonoVariable-Trial.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --page: #f1f1f1;
  --white: #ffffff;
  --black: #000000;
  --grey: #999999;
  --green: #63ff2b;
  --dark-green: #0f1f10;
  --mid-green: #436e46;
  --sage: #c3dac7;
  --lime: #cef79e;
  --book: 350;
  --sans: "Favorit", "Helvetica Neue", Arial, sans-serif;
  --mono: "Favorit Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--black);
  font-family: var(--sans);
  font-weight: var(--book);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: none; }
/* images and videos can't be grabbed and dragged with the mouse (Chrome, Safari; Firefox: "dragstart" in the script) */
img, video { -webkit-user-drag: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
p, h1, h2, h3 { margin: 0; font-weight: inherit; }

/* Lenis smooth scroll (official lenis.css 1.3.7) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }
.lenis.lenis-autoToggle { transition-property: overflow; transition-duration: 1ms; transition-behavior: allow-discrete; }

.page { display: flex; flex-direction: column; gap: 120px; width: 100%; overflow: clip; }

/* ---------- Shared type ---------- */
.display {               /* Gros titres — 56/64, -2% */
  font-size: 56px;
  line-height: 64px;
  letter-spacing: -1.12px;
}
.u {
  text-decoration-line: underline;
  text-decoration-thickness: from-font;
  text-underline-position: from-font;
}
.muted { color: var(--grey); }
.mono {
  font-family: var(--mono);
  font-weight: var(--book);
  text-transform: uppercase;
  font-size: 15px;
  line-height: 20px;
  white-space: nowrap;
}
.body16 { font-size: 16px; line-height: 24px; }
.sub24 { font-size: 24px; line-height: 28px; }

/* Green keyword tag (Mono 14/22) */
.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 5px;
  background: var(--green);
  color: var(--black);
  font-family: var(--mono);
  font-weight: var(--book);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 22px;
  white-space: nowrap;
}
/* Larger tag variant (Mono 15/20, 8px vertical padding) */
.tag--lg { padding: 8px 12px; font-size: 15px; line-height: 20px; }

/* Small square +/- button */
.sq {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: var(--page);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}
.sq img { width: 10px; height: 10px; }
.sq--white { background: var(--white); }
.sq--36 { width: 36px; height: 36px; background: var(--white); }
.sq--36 img { width: 16px; height: 16px; }

.arrow-btn { display: inline-flex; align-items: center; gap: 15px; }
.arrow-btn img { width: 26px; height: 26px; transform: rotate(-90deg); }

/* ---------- 1. Hero ---------- */
.top { display: flex; flex-direction: column; }
.hero {
  position: relative;
  height: 1152px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 336px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(180deg,
    rgb(214, 226, 241) 0%,
    rgb(227, 234, 244) 15.385%,
    rgb(238, 240, 247) 28.365%,
    rgb(242, 244, 247) 48.077%,
    rgb(245, 247, 247) 66.346%,
    rgb(231, 242, 240) 81.731%,
    rgb(216, 235, 233) 100%);
}
.hero__bg img {
  position: absolute;
  left: -0.1%;
  top: -5.51%;
  width: 117.51%;
  height: 121.5%;
}
.nav { display: flex; align-items: flex-start; justify-content: space-between; width: 100%; }
.nav__logo { width: 143px; display: flex; align-items: center; }
.nav__logo svg { width: 127px; height: 21.558px; display: block; }
.nav__links { display: flex; gap: 30px; align-items: flex-start; }
.nav__links a { padding: 8px 12px; border-radius: 5px; transition: background-color .2s; }
.nav__links a:hover { background: rgba(255,255,255,.6); }
.nav__cta { display: flex; }

/* Burger menu (phone + iPad portrait; button & menu are hidden elsewhere via data-hide).
   No open state exists in Figma: simple drop-down card in the nav's style. */
.nav { position: relative; }
.nav__burger { position: relative; }
.nav__burger img { position: absolute; transition: opacity .25s ease, transform .35s cubic-bezier(.65, 0, .25, 1); }
.nav .nav__burger img.close { width: 16px; height: 16px; opacity: 0; transform: rotate(-90deg); }
.nav.is-open .nav__burger img.open { opacity: 0; transform: rotate(90deg); }
.nav.is-open .nav__burger img.close { opacity: 1; transform: none; }
.nav__menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  padding: 5px 20px;
  border-radius: 8px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity .25s ease, transform .35s cubic-bezier(.65, 0, .25, 1), visibility 0s .35s;
}
.nav.is-open .nav__menu { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .35s cubic-bezier(.65, 0, .25, 1), visibility 0s; }
.nav__menu a { display: flex; align-items: center; min-height: 52px; font-size: 14px; line-height: 22px; }
.nav__menu a + a { border-top: 0.5px solid rgba(0,0,0,.15); }
.nav__menu .arrow-btn { justify-content: space-between; }

/* Compact header (Figma 2081:1484), shown when scrolling back up (see script).
   Desktop: 762px white 70 % card, centred. iPhone / iPad portrait: their usual white bar. */
.nav--float {
  --float-ease: cubic-bezier(.22, 1, .36, 1);
  position: fixed;
  z-index: 100;
  top: 15px;
  left: 50%;
  width: 762px;
  align-items: center;
  padding: 8px 15px;            /* Figma 2081:1484 */
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  transform: translate(-50%, calc(-100% - 30px));
  visibility: hidden;
  transition: transform .5s var(--float-ease), visibility 0s .5s;
}
.nav--float.is-shown {
  transform: translate(-50%, 0);
  visibility: visible;
  transition: transform .6s var(--float-ease), visibility 0s;
}
html[data-bp="phone"] .nav--float,
html[data-bp="ipad-p"] .nav--float { left: 0; right: 0; width: auto; transform: translateY(calc(-100% - 30px)); }
html[data-bp="phone"] .nav--float { top: 15px; margin: 0 15px; }
html[data-bp="ipad-p"] .nav--float { top: 30px; margin: 0 30px; }
html[data-bp="phone"] .nav--float.is-shown,
html[data-bp="ipad-p"] .nav--float.is-shown { transform: none; }
@media (prefers-reduced-motion: reduce) {
  .nav--float, .nav--float.is-shown { transition: visibility 0s; }
}

.hero__content { display: flex; flex-direction: column; gap: 40px; width: 518px; }
.hero__text { display: flex; flex-direction: column; gap: 30px; }
.hero__text p { width: 423px; height: 43px; display: flex; align-items: center; color: rgba(0,0,0,.7); }
.hero__actions { display: flex; gap: 15px; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 5px;
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  transition: opacity .2s, background-color .25s ease;
}
.btn:hover { opacity: .85; }
.btn--dark { background: var(--black); color: var(--white); }
.btn--light { background: var(--white); color: var(--black); }
/* "How it works": turns light grey on hover (same grey as the +/− buttons) */
.btn--light:hover { opacity: 1; background: #e6e6e6; }

/* ---------- 2. Trusted by ---------- */
.trusted {
  height: 133px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 100px 0 30px;
  border-radius: 8px;
  overflow: hidden;
}
.trusted__label {
  background: var(--white);
  padding: 8px 12px;
  border-radius: 5px;
}
.trusted img { object-fit: cover; }
.trusted__label { flex: none; position: relative; z-index: 1; }
.trusted__viewport, .trusted__track, .trusted__group { display: contents; }
.trusted__group > * { flex: none; }
/* not enough room for every logo (set by the script): the logos scroll right → left in a loop,
   the "Trusted by" label stays put. Two copies of the group; the track moves by one copy. */
.trusted.is-marquee { padding-right: 0 !important; }   /* logos run to the screen edge */
.trusted.is-marquee .trusted__viewport {
  display: block; flex: 1 1 0; min-width: 0; align-self: stretch; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 30px);
          mask-image: linear-gradient(to right, transparent, #000 30px);
}
.trusted.is-marquee .trusted__track {
  display: flex; width: max-content; height: 100%;
  animation: trusted-marquee var(--marquee-duration, 30s) linear infinite;
}
.trusted.is-marquee .trusted__group { display: flex; align-items: center; gap: var(--marquee-gap); padding-right: var(--marquee-gap); }
.trusted.is-marquee:hover .trusted__track { animation-play-state: paused; }
@keyframes trusted-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .trusted.is-marquee .trusted__viewport { overflow-x: auto; }
  .trusted.is-marquee .trusted__track { animation: none; }
}
.logo-coperni { position: relative; width: 144px; height: 39px; overflow: hidden; }
.logo-coperni img { position: absolute; left: 2.98%; top: 0; width: 94.05%; height: 100%; }

/* ---------- 3. Statement ---------- */
.statement {
  height: 800px;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.statement__inner { width: 1414px; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }

/* ---------- 4. Face Scan intro ---------- */
.facescan {
  height: 800px;
  background: var(--dark-green);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.center-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 31.405px;
  text-align: center;
}
.facescan h2 { color: var(--white); white-space: nowrap; }
.facescan p { width: 522px; color: rgba(255,255,255,.5); }
.facescan .down { width: 36px; height: 36px; display: block; }

/* ---------- 5. Steps ---------- */
.steps {
  display: flex;
  gap: 15px;
  padding: 15px 30px 30px;
}
.step { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 15px; }
.step__media { height: 522px; border-radius: 8px; overflow: hidden; }
.step__media img { width: 100%; height: 100%; object-fit: cover; }
.card {
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  text-align: left;
  width: 100%;
}
.steps { align-items: flex-start; }
.step { --step-ease: cubic-bezier(.65, 0, .25, 1); }
.step .card {
  height: 222px;               /* closed */
  cursor: pointer;
  transition: height .4s var(--step-ease), box-shadow .3s ease;
}
.step .card[aria-expanded="true"] { height: 362px; }   /* open (Figma) */
.step__inner {
  width: 365px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
}
/* description reveal: rows 0fr → 1fr, then fade/slide in */
.step__desc {
  display: grid;
  grid-template-rows: 0fr;
  margin-top: -20px;           /* cancels the head gap while closed */
  transition: grid-template-rows .4s var(--step-ease), margin-top .4s var(--step-ease);
}
.step__desc > p {
  min-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .25s ease;
}
.step .card[aria-expanded="true"] .step__desc { grid-template-rows: 1fr; margin-top: 0; }
.step .card[aria-expanded="true"] .step__desc > p {
  opacity: 1;
  transform: none;
  transition: opacity .3s ease .12s, transform .4s var(--step-ease) .08s;
}
.step .card:not([aria-expanded="true"]):hover .sq { background: #e6e6e6; }
.step .sq { position: relative; transition: background-color .3s ease; }
.step .sq img { position: absolute; transition: opacity .25s ease, transform .35s var(--step-ease); }
.step .sq .minus { opacity: 0; transform: rotate(-90deg); }
.step .card[aria-expanded="true"] .sq .plus { opacity: 0; transform: rotate(90deg); }
.step .card[aria-expanded="true"] .sq .minus { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .step *, .step .card { transition-duration: .01s !important; transition-delay: 0s !important; }
}
/* open cards all take the height of the tallest one (measured by the script: .has-equal-open) */
.steps.is-measuring .step *, .steps.is-measuring .step .card { transition: none !important; }
.steps.has-equal-open .step .card[aria-expanded="true"] { height: var(--step-open-h) !important; }
/* the − button sits at the bottom of the card, aligned across the row */
.steps.has-equal-open .step .card[aria-expanded="true"] .step__inner { height: 100%; }
.steps.has-equal-open .step .card[aria-expanded="true"] .sq { margin-top: auto; }
.step__head { display: flex; flex-direction: column; gap: 20px; }
.step__num { display: flex; gap: 10px; align-items: center; }
.step__num span:first-child { color: var(--grey); }

/* ---------- 6. What is measured ---------- */
.measured {
  height: 1152px;
  background: var(--mid-green);
  display: flex;
}
.measured__left {
  flex: 1083 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.measured__copy { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.measured__tags { display: flex; gap: 15px; }
.measured__copy h2 { color: var(--white); white-space: nowrap; }
.measured__right {
  flex: 1157 1 0;
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  padding: 60px 60px 60px 15px;
  background: var(--sage);
}
.measured__dots { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.measured__face { position: relative; flex: 1 1 0; min-width: 0; aspect-ratio: 1 / 1; overflow: hidden; }
.measured__face img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
/* Face scan: "materialises" when it comes on screen (blur → sharp, slight zoom, fade; script adds
   .is-armed then .is-in), and moves a little with the scroll only (--face-py, set by the script):
   still when the page is still. overflow: visible so the hair/neck are never clipped by the frame. */
.measured__face { overflow: visible; }
.measured__face img { translate: 0 var(--face-py, 0px); }
.measured__face.is-armed img { opacity: 0; scale: .9; filter: blur(1.5px); transition: opacity 1.2s ease, scale 1.6s cubic-bezier(.22, 1, .36, 1), filter .8s ease-out; }
.measured__face.is-in img { opacity: 1; scale: 1; filter: none; }
@media (prefers-reduced-motion: reduce) {
  .measured__face img { translate: none; }
  .measured__face.is-armed img { opacity: 1; scale: none; filter: none; transition: none; }
}

.panel {
  position: relative;
  flex: none;
  width: 391px;
  height: 100%;
  background: var(--white);
  border-radius: 8px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
/* Accordion: one group is always open and fills the remaining height */
.panel { --acc-ease: cubic-bezier(.65, 0, .25, 1); --acc-dur: .6s; }
.acc {
  position: relative;
  flex: 0 0 79px;              /* closed = header height (15 + 49 + 15) */
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
  border-radius: 6px;
  background: rgba(241,241,241,0);
  overflow: hidden;
  transition: flex-grow var(--acc-dur) var(--acc-ease), background-color .35s ease;
}
.acc.is-open { flex-grow: 1; background: var(--page); }
.panel.no-anim .acc, .panel.no-anim .acc *, .panel.no-anim .acc::after { transition: none !important; }
/* separator under closed groups (0.5px #999), hidden on the open one and the last.
   Hairlines are borders, not 0.5px-tall backgrounds: browsers draw a border at least 1 screen
   pixel wide, while a background that thin can round to nothing (depends on zoom, screen density
   and position: Safari dropped up to all 11 lines of the panel, Chrome up to 2). */
.acc::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  border-bottom: 0.5px solid var(--grey);
  transition: opacity .3s ease;
}
.acc.is-open::after, .acc:last-child::after { opacity: 0; }
.acc .panel__row { cursor: pointer; }
.acc.is-open .panel__row { cursor: default; }
.acc .panel__thumb img { transition: transform .6s var(--acc-ease); }
.acc:not(.is-open) .panel__row:hover .panel__thumb img { transform: scale(1.08); }
.acc:not(.is-open) .panel__row:hover .sq { background: #e6e6e6; }

/* +/− toggle: button turns white and the icon rotates */
.acc .sq { position: relative; transition: background-color .3s ease; }
.acc .sq img { position: absolute; transition: opacity .3s ease, transform .5s var(--acc-ease); }
.acc .sq .minus { opacity: 0; transform: rotate(-90deg); }
.acc.is-open .sq { background: var(--white); }
.acc.is-open .sq .plus { opacity: 0; transform: rotate(90deg); }
.acc.is-open .sq .minus { opacity: 1; transform: none; }

/* measurement rows cascade in */
.acc .panel__item, .acc .panel__rule {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease;
}
.acc.is-open .panel__item, .acc.is-open .panel__rule {
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .55s var(--acc-ease);
  transition-delay: calc(.18s + var(--i, 0) * 45ms);
}
.panel__item .val { font-variant-numeric: tabular-nums; }

@media (prefers-reduced-motion: reduce) {
  .acc, .acc *, .acc::after { transition-duration: .01s !important; transition-delay: 0s !important; }
}
.panel__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px 15px 15px;
  width: 100%;
  text-align: left;
}
.panel__id { display: flex; gap: 15px; align-items: flex-start; }
.panel__thumb { width: 49px; height: 49px; border-radius: 6px; overflow: hidden; position: relative; flex: none; }
.panel__thumb img { width: 100%; height: 100%; object-fit: cover; }
.panel__thumb--fw img { position: absolute; left: -23.84%; top: -48.42%; width: 147.67%; height: 147.67%; }
.panel__label { min-width: 188px; display: flex; flex-direction: column; white-space: nowrap; }   /* one line each, even "10 measurements available" */
.panel__label span + span { color: var(--grey); }
.panel__list {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 15px 20px 15px 15px;
}
.panel__item { display: flex; justify-content: space-between; align-items: center; white-space: nowrap; }
.panel__item span + span { color: var(--grey); }
.panel__rule { height: 0; position: relative; }
.panel__rule::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; border-top: 0.5px solid var(--grey); }   /* border: see .acc::after */
/* General face only: note at the bottom of the open card (Figma 312:1734 — Book Italic, #999) */
.panel__more {
  margin-top: auto;
  padding: 0 15px 15px;
  font-family: "Favorit Italic", var(--sans);
  font-size: 16px;
  line-height: 24px;
  color: var(--grey);
  white-space: nowrap;
  opacity: 0;
  transition: opacity .25s ease;
}
.acc.is-open .panel__more { opacity: 1; transition: opacity .45s ease .6s; }
.acc .panel__list:has(+ .panel__more) { padding-bottom: 0; }   /* note 15 px under the last row (card gap), as in Figma */

/* ---------- 7. Channels ---------- */
.channels {
  height: 1100px;
  background: var(--white);
  padding: 30px;
  display: flex;
}
.channels__inner { flex: 1; display: flex; flex-direction: column; justify-content: space-between; border-radius: 8px; }
.channels__title {
  flex: 1 1 0;
  min-height: 0;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 30px;
  text-align: center;
}
.channels__cards { height: 555px; display: flex; gap: 15px; }
.channel {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  padding: 30px;
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  isolation: isolate;
}
.channel__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; border-radius: 6px; }
.channel__bg img { position: absolute; height: auto; }   /* height from the photo's own ratio: never stretched */
.channel__bg::after { content: ""; position: absolute; inset: 0; background: rgba(15,31,16,.2); }
.channel--store .channel__bg img { left: -24.99%; top: -47.51%; width: 149.98%; }
.channel--online .channel__bg img { left: 0; top: -32.53%; width: 100%; }
.channel__top { display: flex; justify-content: space-between; align-items: flex-start; }
.channel__pill {
  background: var(--black);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 5px;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -0.44px;
  font-weight: 400;
  white-space: nowrap;
}
.channel__text { color: var(--white); font-size: 40px; line-height: 46px; letter-spacing: -0.8px; }

/* Online card — hover / focus / tap reveals API · SDK chips and description */
.channel--reveal { --ease: cubic-bezier(.22, .7, .2, 1); cursor: pointer; outline: none; }
.channel--reveal .channel__bg::after { transition: background-color .5s var(--ease); }
.channel--reveal .channel__bg img { transition: transform .8s var(--ease); }
.channel__pills { display: flex; align-items: center; gap: 15px; }
.channel__chip {
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 15px;
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  color: var(--black);
  font-size: 16px;
  line-height: 24px;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
/* In-store: "White-label Mobile Application" chip with store badges */
.channel__chip--app { gap: 10px; padding: 0 7px 0 15px; }
.store-badges { display: flex; gap: 5px; align-items: center; }
.store-badge {
  display: flex;
  align-items: center;
  height: 34px;
  border-radius: 6px;
  background: rgba(255,255,255,.7);
}
.store-badge--ios { width: 54px; padding: 0 10px; justify-content: center; }
.ios-logo { position: relative; display: block; width: 100%; aspect-ratio: 97 / 40; overflow: hidden; }
.ios-logo img { position: absolute; left: 0; top: -18.2%; width: 100%; height: 136.41%; }
.store-badge--android { width: 138px; padding: 0 6px 0 10px; gap: 10px; }
.store-badge--android > img { flex: 1 1 0; min-width: 0; aspect-ratio: 3572 / 544; object-fit: cover; }
.soon {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(153,153,153,.3);
  opacity: .8;
  font-family: "Favorit Italic", var(--sans);
  font-style: italic;
  font-size: 12px;
  line-height: 18px;
  color: var(--black);
  white-space: nowrap;
}
.channel--store.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__bg img { transform: scale(.99); }

.channel__more {
  width: 532px;
  color: var(--white);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .4s var(--ease), transform .55s var(--ease);
}
.channel__toggle { position: relative; }
.channel__toggle img { position: absolute; transition: opacity .3s var(--ease), transform .45s var(--ease); }
.channel__toggle .minus { opacity: 0; transform: rotate(-90deg); }

.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__bg::after { background-color: rgba(15,31,16,.85); }
.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__bg img { transform: translateY(2px) scale(1.015); }
.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__chip { opacity: 1; transform: none; }
.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__chip:nth-child(2) { transition-delay: .06s; }
.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__chip:nth-child(3) { transition-delay: .12s; }
.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__more { opacity: 1; transform: none; transition-delay: .1s; }
.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__toggle .plus { opacity: 0; transform: rotate(90deg); }
.channel--reveal:is(:hover, :focus-visible, .is-open) .channel__toggle .minus { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .channel--reveal *, .channel--reveal *::after { transition-duration: .01s !important; transition-delay: 0s !important; }
}

/* ---------- 8. Get measured ---------- */
/* Pinned "scroll story": the block stays in place while 4 states play.
   JS sets the wrapper height (block + 3 scroll steps) and the sticky top. */
.flow { position: relative; }
.getmeasured { --flow-ease: cubic-bezier(.65, 0, .25, 1); height: 1100px; padding: 0 30px; display: flex; gap: 15px; align-items: stretch; }
.flow.is-pinned .getmeasured { position: sticky; top: var(--flow-top, 0px); }
.getmeasured__media { position: relative; flex: 1 1 0; min-width: 0; border-radius: 8px; overflow: hidden; background: var(--sage); }
.getmeasured__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity .7s ease, transform 1.1s var(--flow-ease);
}
.getmeasured__media img.is-active { opacity: 1; transform: none; }
.flow__panels { display: grid; }
.flow__panel {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  visibility: hidden;
  transition: visibility 0s .5s;
}
.flow__panel > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .3s ease, transform .4s var(--flow-ease);
}
.flow__panel.is-active { visibility: visible; transition: visibility 0s; }
.flow__panel.is-active > * { opacity: 1; transform: none; transition: opacity .5s ease .2s, transform .7s var(--flow-ease) .15s; }
.flow__panel.is-active > *:nth-child(2) { transition-delay: .3s, .25s; }
.flow__panel.is-leaving-up > * { transform: translateY(-24px); }
.getmeasured__media img.is-active, .flow__panel.is-active > * { will-change: opacity, transform; }
@media (prefers-reduced-motion: reduce) {
  .getmeasured *, .getmeasured *::before { transition-duration: .01s !important; transition-delay: 0s !important; }
}
.getmeasured__card {
  flex: 1 1 0;
  min-width: 0;
  background: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* fixed 332px box (Figma) so the tabs never jump between states */
.getmeasured__copy { width: 549px; height: 332px; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.tabs { display: flex; gap: 30px; align-items: center; }
.tabs button {
  font-family: var(--mono);
  font-weight: var(--book);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 22px;
  color: var(--grey);
  transition: color .2s;
}
.tabs button:hover, .tabs button[aria-selected="true"] { color: var(--dark-green); }
.getmeasured__text { display: flex; flex-direction: column; gap: 20px; }
.getmeasured__text p { color: rgba(0,0,0,.7); }

/* ---------- 9. Use cases ---------- */
.cases { height: 1066px; padding: 30px 0; display: flex; flex-direction: column; gap: 120px; }
.cases__head { padding: 0 30px; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.cases__row { flex: 1 1 0; min-height: 0; display: flex; gap: 15px; }
.case { display: flex; flex-direction: column; gap: 15px; height: 100%; }
.case--a { flex: 1 1 0; min-width: 0; padding-left: 30px; }
.case--b { flex: none; width: 532px; }
.case--c { flex: none; width: 562px; padding-right: 30px; }
.case__media {
  position: relative;
  flex: 1 1 0;
  min-height: 0;
  padding: 30px;
  border-radius: 8px;
  overflow: hidden;
  isolation: isolate;
}
.case__media > img { position: absolute; z-index: -1; }
.case--a .case__media > img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.case--b .case__media > img { left: -9.85%; top: -30.04%; width: 186.03%; height: 160.31%; }
.case--c .case__media > img { left: -5.92%; top: -4.93%; width: 111.83%; height: 122.85%; }
.case__badge {
  display: inline-flex;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255,255,255,.85);
}
.case__badge img { object-fit: cover; }
.case__body { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.case__copy { display: flex; flex-direction: column; gap: 20px; }
.case__copy .mono { line-height: 18px; }
.case--a .case__body { width: 435px; }
.case--b .case__body, .case--c .case__body { width: 480px; }

/* ---------- 10. Custom fit ---------- */
.custom { height: 1100px; background: var(--dark-green); padding: 30px; display: flex; }
.custom__left { flex: 1 1 0; min-width: 0; display: flex; align-items: center; justify-content: center; }
.custom__copy { display: flex; flex-direction: column; gap: 31.405px; align-items: flex-start; }
.custom__copy h2 { color: var(--white); white-space: nowrap; }
.custom__copy p { width: 522px; color: rgba(255,255,255,.7); }
.custom__right { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 15px; }
.custom__row { flex: 1 1 0; min-height: 0; display: flex; gap: 15px; }
.custom__media { position: relative; flex: 508 1 0; min-width: 0; border-radius: 8px; overflow: hidden; }
.custom__media img { position: absolute; }
.custom__media--capture .bg { inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* object-fit: contain = the card keeps its proportions whatever the block's shape (never stretched) */
.custom__media--capture .fg { left: 15.86%; top: 9.52%; width: 68.28%; height: 80.96%; object-fit: contain; }
.custom__media--adapt { background: var(--sage); }
.custom__media--adapt video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.custom__media--make img { inset: 0; width: 100%; height: 100%; object-fit: cover; }
.custom__card {
  flex: 567 1 0;
  min-width: 0;
  background: var(--white);
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.custom__card h3 { color: var(--dark-green); }

/* ---------- 10b. Fitting insights (size simulator) ----------
   Figma: instance 2122:1992 of component set 2122:1855 (variants 2122:1854 "Today" / 2142:6755 "Variant2" = based on your customers).
   The toggle sets data-scenario="today" | "based" on the section; everything that changes
   between the two variants is driven from that attribute below. */
.insights { display: flex; flex-direction: column; gap: 90px; }
.insights__head { padding: 0 30px; display: flex; align-items: flex-end; justify-content: space-between; }
.insights__title { display: flex; flex-direction: column; gap: 31.405px; align-items: flex-start; }
.insights__title h2 { white-space: nowrap; }
.insights__intro { width: 480px; color: #4a4a4a; }
.insights__main { display: flex; flex-direction: column; gap: 60px; }
.insights__cards { padding: 0 30px; display: flex; flex-direction: column; gap: 60px; }
.insights__note { padding: 0 30px; color: var(--grey); }
/* the other scenario's texts are in the page too, hidden */
.insights[data-scenario="today"] [data-when="based"],
.insights[data-scenario="based"] [data-when="today"] { display: none; }

.sim { background: var(--white); border-radius: 8px; padding: 30px; display: flex; flex-direction: column; gap: 90px; }
.sim__head { display: flex; align-items: flex-start; justify-content: space-between; }
.sim__heading { display: flex; flex-direction: column; gap: 15px; }
.sim__kicker, .sim__label {
  font-family: var(--mono);
  text-transform: uppercase;
  font-size: 14px;
  line-height: 22px;
  color: var(--grey);
  white-space: nowrap;
}
.sim__title { font-size: 40px; line-height: 46px; letter-spacing: -0.8px; white-space: nowrap; }
.sim__toggle { display: flex; gap: 4px; padding: 4px; border-radius: 12px; background: var(--page); }
.sim__opt { height: 44px; padding: 0 18px; border-radius: 9px; white-space: nowrap; transition: background-color .25s ease; }
.sim__opt[aria-pressed="true"] { background: var(--white); cursor: default; }
.sim__opt[aria-pressed="false"]:hover { background: #e6e6e6; }

.sim__body { display: flex; gap: 60px; }
.sim__chart { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; }
.sim__legend { padding-top: 4px; display: flex; gap: 24px; }
.sim__key { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.sim__swatch { width: 14px; height: 14px; border-radius: 3px; background: var(--mid-green); }
.sim__swatch--none { background: none; border: 1px dashed var(--grey); }
.sim__graph { display: flex; flex-direction: column; gap: 15px; }
/* --bars = height of the tallest bar; bar heights are % of it (Figma values / 250 px) */
.sim__plot { position: relative; height: 340px; --bars: 250px; }
/* S / M / L size ranges, positions in % of the 120–160 mm axis */
.sim__band {
  position: absolute;
  top: 0;
  bottom: 0;
  padding-top: 10px;
  border-left: 1px solid var(--white);
  border-right: 1px solid var(--white);
  border-radius: 10px 10px 0 0;
  background: var(--page);
  text-align: center;
  transition: left .5s ease, width .5s ease;
}
.sim__band--s { left: 20%; width: 17.5%; }
.sim__band--m { left: 37.5%; width: 17.5%; }
.sim__band--l { left: 65%; width: 15%; }
.insights[data-scenario="based"] .sim__band--s { left: 20%; width: 20%; }
.insights[data-scenario="based"] .sim__band--m { left: 40%; width: 20%; }
.insights[data-scenario="based"] .sim__band--l { left: 60%; width: 20%; }
.sim__bars {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--bars) + 2px);
  padding-bottom: 1px;
  border-bottom: 1px solid var(--grey);
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.sim__bar {
  flex: 1 1 0;
  min-width: 0;
  border: 1px dashed var(--grey);
  border-bottom: 0;
  border-radius: 4px 4px 0 0;
  transition: background-color .4s ease, border-color .4s ease;
}
/* --fit: fits a size in both scenarios; --gap: the two widths between M and L, which only fit
   once the sizes are re-spaced */
.sim__bar--fit,
.insights[data-scenario="based"] .sim__bar--gap { background: var(--mid-green); border-color: transparent; }
.sim__gap {
  position: absolute;
  top: 36px;
  left: 55%;
  right: 35%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: opacity .3s ease, visibility .3s;
}
.sim__gap span { padding: 4px 10px; border-radius: 6px; background: var(--black); color: var(--white); white-space: nowrap; }
.sim__gap i { align-self: stretch; height: 8px; border: 1.5px solid var(--black); border-bottom: 0; border-radius: 3px 3px 0 0; }
.insights[data-scenario="based"] .sim__gap { opacity: 0; visibility: hidden; }
.sim__axis { display: flex; align-items: baseline; justify-content: space-between; white-space: nowrap; }
.sim__axis .mono { color: var(--grey); }

/* "Customers served": on the white card, set apart from the chart by a grey line */
.sim__stats {
  flex: none;
  width: 657px;
  padding-left: 60px;
  border-left: 1px solid var(--grey);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
}
.sim__figure { display: flex; flex-direction: column; gap: 15px; }
.sim__value { font-family: var(--mono); font-size: 125px; line-height: 125px; white-space: nowrap; }
.sim__delta { padding: 4px 10px; border-radius: 6px; background: var(--page); color: var(--dark-green); white-space: nowrap; transition: background-color .4s ease; }
.insights[data-scenario="based"] .sim__delta { background: var(--green); }
.sim__copy { display: flex; flex-direction: column; gap: 15px; }
.sim__copy .body16 { color: #555; }

/* the three arguments: white cards */
.benefits { display: flex; gap: 15px; }
.benefit {
  flex: 1 1 0;
  min-width: 0;
  padding: 30px 30px 40px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.benefit .mono { line-height: 18px; color: var(--grey); }
@media (prefers-reduced-motion: reduce) {
  .sim__band, .sim__bar, .sim__gap, .sim__delta { transition: none; }
}

/* ---------- 11. Data control ---------- */
.data { height: 636px; padding: 60px 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 120px; }
.data h2 { white-space: nowrap; }
.data__tiles { width: 100%; display: flex; align-items: stretch; }
.tile {
  flex: 1 1 0;
  min-width: 0;
  padding: 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}
.tile img { width: 35px; height: 35px; overflow: visible; }
.tile__text { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.tile--lime { background: var(--lime); }
.tile--lime .tile__text { width: 368px; }
.tile--dark { background: var(--dark-green); color: var(--white); }
.tile--sage { background: var(--sage); }
.tile--green { background: var(--mid-green); color: var(--white); }
.tile--lime .body16, .tile--sage .body16 { color: rgba(0,0,0,.5); }
.tile--dark .body16, .tile--green .body16 { color: rgba(255,255,255,.5); }
.tile--sage .body16 { letter-spacing: -0.5px; }

/* ---------- 12. Research ---------- */
.research { height: 945px; padding: 0 120px; display: flex; gap: 186px; align-items: center; }
.research__blocks { flex: none; width: 902px; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; }
.research__blocks div { border-radius: 8px; overflow: hidden; background: var(--sage); }
.research__blocks img, .research__blocks video { display: block; width: 100%; height: 100%; object-fit: cover; }
.research__blocks div:first-child { width: 642px; height: 945px; }
.research__blocks div:last-child { width: 245px; height: 300px; background: #000; }   /* video on black */
/* Entrance (script adds .is-armed, then .is-in when the section comes on screen): the photos
   rise into place and fade in, the small one just after. Then, while scrolling, they keep
   drifting a little (parallax, script sets --py / --lift), see below. */
.research__blocks { --reveal-ease: cubic-bezier(.22, 1, .36, 1); }
/* No zoom inside the frames (it cut the person's head at the photo's right edge, and the video's
   temples): the photo is shown exactly as framed in Figma; the big FRAME drifts a little with the
   scroll (--py × .35), the small one rises a bit faster (--lift). */
.research__blocks div:first-child { translate: 0 calc(var(--py, 0px) * .35); }
.research__blocks div:last-child { translate: 0 var(--lift, 0px); }
.research__blocks.is-armed div { opacity: 0; transform: translateY(160px); transition: transform 1.4s var(--reveal-ease), opacity 1s ease; }
.research__blocks.is-armed div:last-child { transition-delay: .2s; }
.research__blocks.is-in div { opacity: 1; transform: none; }
/* replay (see replayOnView): reset to the start state without animating */
.is-resetting, .is-resetting * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .research__blocks div:first-child, .research__blocks div:last-child { translate: none; }
  .research__blocks.is-armed div { opacity: 1; transform: none; transition: none; }
}
.research__right { flex: 1 1 0; min-width: 0; align-self: stretch; display: flex; align-items: center; justify-content: center; }
.research__copy { width: 715px; display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.research__copy h2 { white-space: nowrap; }
.research__paras { display: flex; flex-direction: column; gap: 15px; font-size: 30px; line-height: 36px; letter-spacing: -0.6px; }
.research__paras p + p { color: var(--grey); }

/* ---------- 13. Footer ---------- */
.footer { background: var(--dark-green); color: var(--white); padding: 30px; }
.footer__cta {
  padding: 200px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
}
.footer__cta .center-title { gap: 30px; }
.footer__cta h2 { width: 928px; }
.footer__cta h2 span { color: rgba(255,255,255,.5); }
.footer__main {
  height: 240px;
  border-top: 1px solid var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.footer__info { display: flex; align-items: flex-start; padding-top: 23px; }
.footer__city { width: 783px; font-size: 40px; line-height: 46px; letter-spacing: -1.2px; }
.footer__city span { display: block; width: 491px; }
.footer__col { width: 236px; display: flex; flex-direction: column; gap: 12px; }
.footer__col .head { opacity: .3; }
.footer__col a { transition: opacity .2s; }
.footer__col a:hover { opacity: .6; }
.footer__bottom { display: flex; justify-content: space-between; align-items: flex-end; }
.footer__bottom svg { width: 127px; height: 21.558px; display: block; }
.footer__top { margin-bottom: 5px; font-size: 14px; line-height: 16.8px; letter-spacing: -0.42px; }

/* ==========================================================================
   Book a demo page (book-a-demo.html, Figma 2142:2909) — iMac; other devices in css/bp-*.css
   ========================================================================== */
.page--demo { gap: 60px; }
.demo-head { padding: 30px; }
.demo { padding: 0 30px; display: flex; align-items: flex-start; gap: 120px; }

.demo__intro { flex: none; width: 540px; display: flex; flex-direction: column; gap: 60px; }
.demo__heading { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.demo__copy { display: flex; flex-direction: column; gap: 20px; }
.demo__copy .body16 { color: rgba(0,0,0,.7); }
.demo__social { display: flex; flex-direction: column; gap: 15px; align-items: flex-start; }
/* hover = Figma variant "Default" of the link (2142:3621): underlined, with the ↗ arrow */
.demo__social a { display: inline-flex; align-items: center; gap: 10px; text-underline-position: from-font; }
.demo__social img { width: 12.85px; height: 13px; opacity: 0; transition: opacity .2s; }
.demo__social a:hover { text-decoration: underline; }
.demo__social a:hover img { opacity: 1; }

.demo__form {
  flex: 1 1 0;
  min-width: 0;
  padding: 30px;
  border-radius: 8px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.demo__group { display: flex; flex-direction: column; gap: 20px; }
/* group titles: Mono 14/22 or 15/20 grey, as in Figma */
.demo__label { font-family: var(--mono); text-transform: uppercase; font-size: 14px; line-height: 22px; color: var(--grey); }
.demo__label--lg { font-size: 15px; line-height: 20px; }
.demo__fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 15px; }

.field { display: flex; flex-direction: column; gap: 10px; }
.field__name { font-size: 14px; line-height: 22px; }
.field input,
.field select,
.demo__form textarea {
  width: 100%;
  height: 50px;
  margin: 0;
  padding: 12px 18px;
  border: 1px solid var(--grey);
  border-radius: 8px;
  background: var(--white);
  color: var(--black);
  font: inherit;
  outline: none;
  transition: border-color .2s;
}
.field input:focus,
.field select:focus,
.demo__form textarea:focus { border-color: var(--black); }
.field__select { position: relative; display: block; }
.field select { -webkit-appearance: none; appearance: none; padding-right: 51px; cursor: pointer; }
/* Figma chevron (pointing left) turned to point down */
.field__chevron {
  position: absolute;
  top: 50%;
  right: 18px;
  width: 15.219px;
  height: 8.476px;
  margin-top: -4.238px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.field__chevron img { flex: none; width: 8.476px; height: 15.219px; transform: rotate(-90deg); }
.demo__form textarea { height: 100px; resize: vertical; }

/* option buttons: "Your company" = one choice, "What would you like to see?" = several */
.chips { display: flex; flex-wrap: wrap; gap: 15px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.chip span { display: block; padding: 12px 18px; border-radius: 8px; background: var(--page); white-space: nowrap; transition: background-color .2s, color .2s; }
.chip:hover span { background: #e6e6e6; }
.chip input:checked + span { background: var(--dark-green); color: var(--white); }   /* no selected state in Figma */
.chip input:focus-visible + span { outline: 2px solid var(--dark-green); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 15px; font-size: 14px; line-height: 22px; cursor: pointer; }
.consent input {
  flex: none;
  width: 24px;
  height: 24px;
  margin: 0;
  border: 1px solid var(--black);
  border-radius: 5px;
  background: var(--white) center / 14px no-repeat;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.consent input:checked {
  border-color: var(--dark-green);
  background-color: var(--dark-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M2 7.5l3.2 3L12 3.5' fill='none' stroke='%23fff' stroke-width='1.6'/%3E%3C/svg%3E");
}
.consent input:focus-visible { outline: 2px solid var(--dark-green); outline-offset: 2px; }
.consent a { text-decoration: underline; text-underline-position: from-font; }

.demo__submit { align-self: flex-start; padding: 14px 18px; border-radius: 8px; background: var(--dark-green); color: var(--white); transition: opacity .2s; }
.demo__submit:not(:disabled):hover { opacity: .85; }
/* until the consent box is ticked (no disabled state in Figma) */
.demo__submit:disabled { opacity: .35; cursor: not-allowed; }

/* ---------- Per-device content ----------
   The base styles above are the iMac design (2240px canvas). Each other device has its
   own stylesheet in css/ (all selectors prefixed html[data-bp="…"]).
   To show an element only on some devices: data-hide="phone ipad-p" hides it on those. */
html[data-bp="imac"]   [data-hide~="imac"],
html[data-bp="mbp"]    [data-hide~="mbp"],
html[data-bp="ipad-l"] [data-hide~="ipad-l"],
html[data-bp="ipad-p"] [data-hide~="ipad-p"],
html[data-bp="phone"]  [data-hide~="phone"],
html[data-bp="fhd"]    [data-hide~="fhd"] { display: none !important; }
