/* Lizamo, the public site: paper and ink, one violet. Light and dark follow the system. The motion explains what
   Lizamo does (a page translated before the eyes) and answers the hand (press, hover); it moves transform, opacity
   and clip only, and « réduire les animations » keeps the fades and drops the movement. */
@font-face {
  font-family: 'Lora';
  src: url('/site/fonts/lora.woff2') format('woff2');
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fbfaf7;
  --bg-alt: #f3f0ea;
  --card: #ffffff;
  --fg: #1d1b26;
  --mut: #5d5a6b;
  --line: #e4dfd6;
  --acc: #5b3cc4;
  --acc-hover: #4a2fa8;
  --acc-ink: #ffffff;
  --acc-soft: #efeafd;
  --glow: rgba(91, 60, 196, 0.16);
  --todo: #b3261e;
  --shadow: 0 1px 2px rgba(29, 27, 38, 0.06), 0 10px 30px rgba(29, 27, 38, 0.08);
  --shadow-lg: 0 2px 6px rgba(29, 27, 38, 0.06), 0 24px 60px rgba(29, 27, 38, 0.14);
  --radius: 14px;
  --serif: 'Lora', 'Iowan Old Style', Georgia, serif;
  --sans: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  /* motion: strong curves, short UI, longer only to explain */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121119;
    --bg-alt: #17151f;
    --card: #1c1a26;
    --fg: #ecebf3;
    --mut: #aaa6bb;
    --line: #2d2a3a;
    --acc: #a08bff;
    --acc-hover: #b6a6ff;
    --acc-ink: #15121f;
    --acc-soft: #241f3a;
    --glow: rgba(160, 139, 255, 0.14);
    --todo: #ff8a80;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 2px 6px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.45);
    color-scheme: dark;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}
@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 17px/1.6 var(--sans);
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--acc);
  text-underline-offset: 0.15em;
}
a:hover {
  color: var(--acc-hover);
}
:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}
h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.7rem);
  font-weight: 700;
  letter-spacing: -0.025em;
}
h2 {
  font-size: clamp(1.65rem, 3.1vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h3 {
  font-size: 1.15rem;
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}
.wrap.narrow {
  max-width: 780px;
}
.center {
  text-align: center;
  justify-content: center;
}
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--card);
  padding: 8px 12px;
  z-index: 10;
}
.skip:focus {
  left: 8px;
}

/* the bar at the top */
.bar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent);
}
.bar-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 60px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--fg);
  text-decoration: none;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.2rem;
}
.logo:hover {
  color: var(--fg);
}
.logo-mark {
  width: 30px;
  height: 30px;
  flex: none;
}
.logo-mark rect {
  fill: var(--acc);
}
.logo-mark path {
  fill: var(--acc-ink);
}
.nav {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: var(--mut);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 150ms ease;
}
.nav a:hover {
  color: var(--fg);
}
@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .bar-in .btn-small {
    margin-left: auto;
  }
}

/* buttons: they answer the press */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1.5px solid var(--acc);
  background: var(--acc);
  color: var(--acc-ink);
  font: 600 1rem/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    transform 160ms var(--ease-out),
    box-shadow 200ms ease;
}
.btn:hover {
  background: var(--acc-hover);
  border-color: var(--acc-hover);
  color: var(--acc-ink);
}
.btn:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .btn:not(.btn-ghost):hover {
    box-shadow: 0 8px 24px var(--glow);
  }
}
.btn-ghost {
  background: transparent;
  color: var(--acc);
}
.btn-ghost:hover {
  background: var(--acc-soft);
  color: var(--acc);
}
.btn-small {
  min-height: 38px;
  padding: 0 18px;
  font-size: 0.92rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 26px 0 12px;
}
.micro {
  color: var(--mut);
  font-size: 0.92rem;
}

/* the hero: words on the left, the stage on the right, where a page is translated before the eyes */
.hero {
  position: relative;
  isolation: isolate;
  padding: 64px 0 28px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: -10% -20% 0;
  z-index: -1;
  background:
    radial-gradient(42% 46% at 76% 34%, var(--glow), transparent 70%),
    radial-gradient(30% 34% at 12% 8%, color-mix(in srgb, var(--acc) 8%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-copy .cta-row {
    justify-content: center;
  }
  .hero-copy .lead {
    margin-inline: auto;
  }
}
.eyebrow {
  color: var(--acc);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}
.lead {
  font-size: 1.14rem;
  color: var(--mut);
  max-width: 560px;
}
/* the word that follows the stage: every word in the same cell, the widest sets the width (nothing moves) */
.swap {
  display: inline-grid;
  color: var(--acc);
}
.swap-word {
  grid-area: 1 / 1;
  opacity: 0;
  transform: translateY(0.32em);
  filter: blur(6px);
  transition:
    opacity 380ms ease,
    transform 520ms var(--ease-out),
    filter 380ms ease;
}
.swap-word.is-on {
  opacity: 1;
  transform: none;
  filter: none;
}
.stage {
  position: relative;
}
.stage-tabs {
  position: relative;
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 auto 14px;
  width: max-content;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 80%, transparent);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.stage-tabs::-webkit-scrollbar {
  display: none;
}
.stage-tabs::before {
  /* the pill under the tab shown: it slides to the next one */
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 0;
  width: var(--pill-w, 0);
  transform: translateX(var(--pill-x, 0));
  border-radius: 999px;
  background: var(--acc);
  transition:
    transform 380ms var(--ease-in-out),
    width 380ms var(--ease-in-out);
}
.stage-tabs button {
  position: relative;
  border: 0;
  background: none;
  color: var(--mut);
  font: 600 0.88rem/1 var(--sans);
  padding: 10px 14px;
  border-radius: 999px;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color 200ms ease,
    transform 160ms var(--ease-out);
}
@media (max-width: 480px) {
  .stage-tabs .long {
    display: none;
  }
  .stage-tabs button {
    padding: 10px 13px;
  }
}
.stage-tabs button[aria-selected='true'] {
  color: var(--acc-ink);
}
.stage-tabs button:active {
  transform: scale(0.97);
}
.stage-screens {
  display: grid;
  aspect-ratio: 1 / 1.08;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  background: var(--card);
  overflow: hidden;
}
.screen {
  grid-area: 1 / 1;
  min-height: 0;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.985) translateY(6px);
  filter: blur(4px);
  transition:
    opacity 360ms ease,
    transform 480ms var(--ease-out),
    filter 360ms ease,
    visibility 0s linear 480ms;
}
.screen.is-on {
  opacity: 1;
  visibility: visible;
  transform: none;
  filter: none;
  transition-delay: 0s;
}
.screen[hidden] {
  display: none;
}
.js .screen[hidden] {
  display: block;
}
.stage-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px 0 0;
  color: var(--mut);
  font-size: 0.9rem;
  min-height: 1.6em;
}
.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2fb36b;
  box-shadow: 0 0 0 0 rgba(47, 179, 107, 0.5);
}
.stage.working .pulse {
  background: var(--acc);
  animation: pulse 1.1s ease-out infinite;
}
@keyframes pulse {
  to {
    box-shadow: 0 0 0 9px rgba(91, 60, 196, 0);
  }
}
[data-status-text] {
  transition:
    opacity 200ms ease,
    filter 200ms ease;
}
[data-status-text].swapping {
  opacity: 0;
  filter: blur(2px);
}
.stage-note {
  color: var(--mut);
  font-size: 0.82rem;
  text-align: center;
  margin-top: 26px;
}

/* original and translation, one over the other: a bar shows where one ends, and the hand moves it. --pos is a
   registered percentage so that the bar can glide to where a click or a tap sent it. */
@property --pos {
  syntax: '<percentage>';
  inherits: true;
  initial-value: 0%;
}
.compare {
  position: relative;
  --pos: 0%;
  height: 100%;
  overflow: hidden;
  background: #fff;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  /* a finger scrolls the page up and down; sideways, it moves the bar */
  touch-action: pan-y pinch-zoom;
}
.compare.glide {
  transition: --pos 320ms var(--ease-out);
}
@media (pointer: fine) {
  .compare {
    cursor: ew-resize;
  }
}
.pdf-demo .compare,
.img-demo .compare {
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.compare img {
  width: 100%;
}
.compare-vo,
.compare-vf {
  height: 100%;
}
.compare-vf {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--pos));
}
.compare.fit-top img,
.compare:not(.fit-top) .compare-vo img,
.compare-vf img {
  height: 100%;
  object-fit: cover;
}
.compare.fit-top img {
  object-position: top;
}
/* the bar: a line, and a strip as wide as a fingertip around it that a finger grabs (it never scrolls the page) */
.handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 44px;
  margin-left: -22px;
  touch-action: none;
  transition: opacity 240ms ease;
}
.handle::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 21px;
  width: 2px;
  background: #fff;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.14),
    0 0 14px rgba(0, 0, 0, 0.22);
}
/* its handle: what is on each side, and the way it moves; it stays whole inside the picture, even at an edge */
.knob {
  --half: 50px;
  position: absolute;
  top: 50%;
  left: clamp(calc(var(--half) + 6px), var(--pos), calc(100% - var(--half) - 6px));
  display: flex;
  align-items: center;
  width: calc(var(--half) * 2);
  height: 40px;
  margin-left: calc(var(--half) * -1);
  margin-top: -20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  color: #1d1b26;
  box-shadow:
    0 0 0 1px rgba(21, 18, 31, 0.08),
    0 3px 12px rgba(21, 18, 31, 0.3);
  font: 700 0.72rem/1 var(--sans);
  letter-spacing: 0.04em;
  touch-action: none;
  transition:
    transform 220ms var(--ease-out),
    box-shadow 220ms ease,
    opacity 240ms ease;
}
.knob b {
  flex: 1 1 0;
  min-width: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
}
.knob i {
  flex: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--acc)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E")
    center / 15px no-repeat;
}
@media (pointer: coarse) {
  .knob {
    height: 44px;
    margin-top: -22px;
  }
}
@media (hover: hover) and (pointer: fine) {
  .knob {
    cursor: grab;
  }
  .compare:hover .knob {
    transform: scale(1.04);
  }
}
.compare.dragging .knob {
  transform: scale(1.08);
  box-shadow:
    0 0 0 1px rgba(21, 18, 31, 0.08),
    0 8px 22px rgba(21, 18, 31, 0.36);
  cursor: grabbing;
}
.compare.dragging {
  cursor: grabbing;
}
.compare-range:focus-visible ~ .knob {
  outline: 3px solid var(--acc);
  outline-offset: 3px;
}
/* the translating line, while it sweeps the page */
.sweep {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--pos);
  width: 90px;
  margin-left: -45px;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(160, 139, 255, 0.28) 45%, rgba(255, 255, 255, 0.95) 50%, rgba(160, 139, 255, 0.28) 55%, transparent);
  transition: opacity 260ms ease;
}
.compare.sweeping .sweep {
  opacity: 1;
}
.compare.sweeping .handle,
.compare.sweeping .knob {
  opacity: 0;
}
/* the range input under the bar: the keyboard and assistive technologies move it, the hand never meets it */
.compare-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

/* the showcase: documents with nothing in common, on a night stage that takes the colour of the one shown; the cards
   pass by in a row (a finger swipes them, the arrows and the index too), the one in the middle is lit */
.vitrine {
  --v-bg: #0d0b13;
  --v-fg: #f4f2fa;
  --v-mut: #b4aec8;
  --v-line: rgba(255, 255, 255, 0.1);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 72px;
  background: var(--v-bg);
  color: var(--v-fg);
}
.v-glow {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.v-glow span {
  position: absolute;
  inset: -20% -10% 10%;
  opacity: 0;
  background:
    radial-gradient(46% 52% at 50% 60%, color-mix(in srgb, var(--tint) 62%, transparent), transparent 74%),
    radial-gradient(34% 34% at 16% 18%, color-mix(in srgb, var(--tint) 26%, transparent), transparent 70%),
    radial-gradient(30% 30% at 86% 86%, color-mix(in srgb, var(--tint) 22%, transparent), transparent 70%);
  transition: opacity 900ms ease;
}
.v-glow span.is-on {
  opacity: 0.9;
}
.v-head {
  text-align: center;
}
.v-head .kicker {
  color: #b9a8ff;
}
.v-head h2 {
  max-width: 820px;
  margin-inline: auto;
}
.v-head .section-lead {
  color: var(--v-mut);
}
.v-stage {
  position: relative;
  margin-top: 8px;
}
.v-track {
  --card: min(980px, 82vw);
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 18px calc((100vw - var(--card)) / 2) 22px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}
.v-track::-webkit-scrollbar {
  display: none;
}
.v-slide {
  flex: none;
  width: var(--card);
  scroll-snap-align: center;
  scroll-snap-stop: always;
  opacity: 0.38;
  transform: scale(0.94);
  filter: saturate(0.7);
  transition:
    opacity 520ms var(--ease-out),
    transform 620ms var(--ease-out),
    filter 520ms ease;
}
.v-slide.is-active {
  opacity: 1;
  transform: none;
  filter: none;
}
.v-card {
  margin: 0;
}
.v-media {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  background: #1a1724;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 30px 80px rgba(0, 0, 0, 0.55);
}
.v-media .compare {
  position: absolute;
  inset: 0;
  height: auto;
}
.v-media .compare img {
  height: 100%;
  object-fit: cover;
}
.v-media .compare picture {
  display: block;
  height: 100%;
}
.v-media .compare picture[hidden] {
  display: none;
}
/* in the row, a finger turns the pages: only the bar and its handle move the bar */
.v-track .compare {
  touch-action: pan-x pan-y pinch-zoom;
}
.v-slide:not(.is-active) .compare {
  cursor: pointer;
}
.v-slide:not(.is-active) .handle,
.v-slide:not(.is-active) .knob {
  opacity: 0;
}
.v-chip {
  position: absolute;
  top: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(13, 11, 19, 0.62);
  -webkit-backdrop-filter: blur(10px) saturate(1.4);
  backdrop-filter: blur(10px) saturate(1.4);
  color: #fff;
  font: 600 0.8rem/1 var(--sans);
  letter-spacing: 0.01em;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.v-chip small {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}
.v-domain {
  left: 14px;
}
.v-langs,
.v-switch {
  right: 14px;
}
.v-langs i {
  font-style: normal;
  color: #b9a8ff;
}
.v-switch {
  padding: 3px;
  gap: 2px;
  pointer-events: auto;
}
.v-switch button {
  border: 0;
  border-radius: 999px;
  padding: 6px 11px;
  background: transparent;
  color: rgba(255, 255, 255, 0.8);
  font: 600 0.8rem/1 var(--sans);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    transform 160ms var(--ease-out);
}
.v-switch button[aria-pressed='true'] {
  background: #fff;
  color: #15121f;
}
.v-switch button:active {
  transform: scale(0.96);
}
.v-cap {
  max-width: 720px;
  margin: 18px auto 0;
  text-align: center;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 420ms ease,
    transform 520ms var(--ease-out);
}
.v-slide.is-active .v-cap {
  opacity: 1;
  transform: none;
}
.v-line {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: var(--v-fg);
}
.v-credit {
  margin: 0;
  font-size: 0.8rem;
  color: var(--v-mut);
}
.v-nav {
  position: absolute;
  top: calc(18px + (min(980px, 82vw) * 10 / 32));
  z-index: 3;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  color: #15121f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition:
    transform 180ms var(--ease-out),
    opacity 240ms ease;
}
.v-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.v-nav:active {
  transform: scale(0.94);
}
.v-nav[disabled] {
  opacity: 0;
  pointer-events: none;
}
.v-prev {
  left: max(16px, calc((100vw - min(980px, 82vw)) / 2 - 76px));
}
.v-next {
  right: max(16px, calc((100vw - min(980px, 82vw)) / 2 - 76px));
}
@media (hover: hover) and (pointer: fine) {
  .v-nav:hover {
    transform: scale(1.06);
  }
}
.v-index {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}
.v-index button {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 108px;
  padding: 9px 14px 11px;
  border: 1px solid var(--v-line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--v-mut);
  font: 600 0.86rem/1.1 var(--sans);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 220ms ease,
    color 220ms ease,
    border-color 220ms ease,
    transform 160ms var(--ease-out);
}
.v-index small {
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  opacity: 0.8;
}
.v-index button[aria-current='true'] {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.v-index button:active {
  transform: scale(0.97);
}
/* the time the showcase stays on an example, while it plays by itself */
.v-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: #b9a8ff;
  transform: scaleX(0);
  transform-origin: left;
}
.v-index button.playing .v-progress {
  transition: transform var(--dwell, 4200ms) linear;
  transform: scaleX(1);
}
.v-hint {
  display: none;
  margin: 14px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--v-mut);
}
@media (pointer: coarse) {
  .v-hint {
    display: block;
  }
}
@media (max-width: 699px) {
  .vitrine {
    padding: 64px 0 52px;
  }
  .v-track {
    --card: 86vw;
    gap: 12px;
    padding-top: 12px;
  }
  .v-media {
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }
  .v-slide {
    transform: scale(0.96);
  }
  .v-nav {
    display: none;
  }
  .v-index {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -16px;
    padding: 0 16px 4px;
    scroll-padding-inline: 16px;
  }
  .v-index::-webkit-scrollbar {
    display: none;
  }
  .v-index li {
    flex: none;
  }
  .v-index button {
    min-width: 0;
  }
  .v-chip {
    top: 10px;
    font-size: 0.72rem;
    padding: 5px 9px;
  }
  .v-switch {
    padding: 2px;
  }
  .v-switch button {
    padding: 5px 9px;
    font-size: 0.72rem;
  }
  .v-domain {
    left: 10px;
  }
  .v-langs,
  .v-switch {
    right: 10px;
  }
}
@media (prefers-color-scheme: dark) {
  .vitrine {
    --v-bg: #09080e;
    border-block: 1px solid var(--line);
  }
}

/* the web page of the stage and of its section */
.browser {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--card);
  color: var(--fg);
}
.web-demo .browser {
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.browser-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  font-size: 0.8rem;
}
.dots {
  display: flex;
  gap: 6px;
}
.dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e2655c;
}
.dots i + i {
  background: #e7b744;
}
.dots i + i + i {
  background: #5ac05a;
}
.url {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--mut);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
}
.vovf {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.vovf button {
  border: 0;
  background: transparent;
  color: var(--mut);
  font: 700 0.74rem/1 var(--sans);
  padding: 6px 10px;
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease;
}
.vovf button[aria-pressed='true'] {
  background: var(--acc);
  color: var(--acc-ink);
}
.browser-page {
  padding: 24px 26px 28px;
  font-family: Georgia, 'Iowan Old Style', serif;
  font-size: 0.98rem;
  line-height: 1.6;
  overflow: hidden;
}
.browser.compact .browser-page {
  padding: 22px 22px 18px;
  font-size: 0.92rem;
}
.browser-page .a-title {
  font-size: 1.45rem;
  margin-bottom: 0.6em;
}
.browser.compact .a-title {
  font-size: 1.25rem;
}
.browser-page h4 {
  font-family: var(--sans);
  font-size: 1rem;
  margin: 1.2em 0 0.3em;
}
.browser-page p {
  margin: 0 0 0.7em;
  color: color-mix(in srgb, var(--fg) 88%, var(--mut));
}
/* a passage in both languages in one place: the page never moves when its language changes */
.duo {
  display: inline-grid;
}
.duo > span {
  grid-area: 1 / 1;
  transition:
    opacity 300ms ease,
    filter 300ms ease;
  transition-delay: calc(var(--i, 0) * 90ms);
}
.duo .fr,
.browser[data-lang='fr'] .duo .en {
  opacity: 0;
  filter: blur(3px);
}
.browser[data-lang='fr'] .duo .fr {
  opacity: 1;
  filter: none;
}
/* the web page's image: switched with the page, its bar moved by the hand too; on the stage it fills what the text leaves */
.a-fig {
  margin: 1.1em 0 1.2em;
}
.a-fig .compare {
  height: auto;
  border-radius: 10px;
  box-shadow: 0 0 0 1px var(--line);
}
.a-fig figcaption {
  margin-top: 8px;
  font: 0.8rem/1.45 var(--sans);
  color: var(--mut);
}
.browser.compact .browser-page {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.browser.compact .a-fig {
  flex: 1 1 0;
  min-height: 0;
  margin: 0.3em 0 0;
}
.browser.compact .a-fig .compare {
  height: 100%;
}
.browser.compact .a-fig img {
  object-position: 50% 0;
}
@media (max-width: 560px) {
  .browser.compact .a-lead {
    display: none;
  }
}
.demo-note {
  color: var(--mut);
  font-size: 0.82rem;
  margin: 12px 2px 0;
}

/* the AI summary */
.sum-stage {
  position: relative;
  height: 100%;
  background: linear-gradient(160deg, var(--bg-alt), var(--card));
  overflow: hidden;
}
.sum-doc {
  position: absolute;
  top: 7%;
  left: 7%;
  width: 56%;
  transform: rotate(-3deg);
  border-radius: 6px;
  box-shadow: var(--shadow);
  opacity: 0.92;
}
.summary {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 14px;
  box-shadow: var(--shadow-lg);
}
.summary.compact {
  position: absolute;
  right: 6%;
  bottom: 6%;
  width: 66%;
  padding: 16px 16px 10px;
  font-size: 0.86rem;
}
.summary-head {
  font-weight: 700;
  margin: 0 0 10px;
}
.summary-of {
  color: var(--mut);
  font-weight: 400;
}
.summary.compact .summary-of {
  display: none;
}
.spark {
  color: var(--acc);
}
.summary ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.summary li {
  position: relative;
  padding: 0 0 8px 20px;
  line-height: 1.45;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 480ms ease,
    transform 520ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 110ms + 120ms);
}
.summary li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.58em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--acc);
}
.summary.show li,
html:not(.js) .summary li {
  opacity: 1;
  transform: none;
}

/* sections */
.section {
  padding: 84px 0;
}
.section.alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}
.section h2 {
  text-align: center;
}
.section-lead {
  text-align: center;
  color: var(--mut);
  max-width: 720px;
  margin: 0 auto 32px;
  font-size: 1.06rem;
}
.kicker {
  color: var(--acc);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.split.reverse > :first-child {
  order: 2;
}
.split h2 {
  text-align: left;
}
.split-copy > p {
  color: var(--mut);
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split.reverse > :first-child {
    order: 0;
  }
}
.format-grid,
.features {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  gap: 16px;
}
.format-grid {
  grid-template-columns: repeat(5, 1fr);
}
.features {
  grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 1060px) {
  .format-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 860px) {
  .format-grid,
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .format-grid,
  .features {
    grid-template-columns: 1fr;
  }
}
.format-grid li,
.features li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.format-grid li p,
.features li p {
  color: var(--mut);
  margin: 0;
  font-size: 0.96rem;
}
.format-grid svg,
.features svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--acc);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-bottom: 12px;
}
.format-grid svg {
  box-sizing: content-box;
  padding: 10px;
  border-radius: 12px;
  background: var(--acc-soft);
}
@media (hover: hover) and (pointer: fine) {
  .format-grid li,
  .features li,
  .offer {
    transition:
      transform 260ms var(--ease-out),
      box-shadow 260ms ease,
      border-color 260ms ease;
  }
  .format-grid li:hover,
  .features li:hover,
  .offer:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--acc) 30%, var(--line));
  }
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.checks li {
  position: relative;
  padding: 14px 16px 14px 48px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--mut);
}
.checks li b {
  color: var(--fg);
  display: block;
  margin-bottom: 2px;
}
.checks li::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 18px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--acc)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E")
    center / 12px no-repeat;
}

/* the PDF section: the page, then what was kept, pinned on it */
.pdf-demo,
.img-demo {
  position: relative;
}
.callout {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) scale(0.94);
  opacity: 0;
  padding: 6px 12px 6px 26px;
  border-radius: 999px;
  background: var(--acc);
  color: var(--acc-ink);
  font: 700 0.8rem/1.2 var(--sans);
  white-space: nowrap;
  box-shadow: 0 6px 18px var(--glow), 0 1px 3px rgba(0, 0, 0, 0.2);
  pointer-events: none;
  transition:
    opacity 360ms ease,
    transform 520ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 140ms + 150ms);
}
.callout::before {
  content: '';
  position: absolute;
  left: 10px;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: var(--acc-ink);
}
.pdf-demo.show .callout,
html:not(.js) .callout {
  opacity: 1;
  transform: translate(-50%, -50%);
}
@media (max-width: 560px) {
  .callout {
    font-size: 0.7rem;
    padding: 4px 9px 4px 20px;
  }
  .callout::before {
    left: 8px;
    width: 6px;
    height: 6px;
    margin-top: -3px;
  }
}

/* reading comfort: try it */
.comfort {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.comfort-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 10px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
}
.comfort-bar button {
  min-height: 36px;
  min-width: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--fg);
  border-radius: 10px;
  font: 600 0.88rem/1 var(--sans);
  cursor: pointer;
  transition:
    transform 160ms var(--ease-out),
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease;
}
.comfort-bar button:active {
  transform: scale(0.96);
}
.comfort-bar button[aria-pressed='true'] {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
}
.comfort-themes {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}
.comfort-page {
  --fs: 18px;
  padding: 26px 28px 30px;
  font-size: var(--fs);
  line-height: 1.6;
  font-family: var(--sans);
  transition:
    background-color 320ms ease,
    color 320ms ease;
  min-height: 320px;
}
.comfort-page.serif {
  font-family: Georgia, 'Iowan Old Style', serif;
}
.comfort-page h3 {
  font-size: 1.3em;
}
.comfort-page[data-look='clair'] {
  background: #ffffff;
  color: #1d1b26;
}
.comfort-page[data-look='sepia'] {
  background: #f4ecd8;
  color: #43341f;
}
.comfort-page[data-look='sombre'] {
  background: #17161d;
  color: #e7e5ee;
}

/* prices */
.rate {
  max-width: 820px;
  margin: 0 auto 28px;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--acc-soft);
  text-align: center;
}
.rate p {
  margin: 0;
}
.rate .fine {
  margin-top: 6px;
}
.fine {
  color: var(--mut);
  font-size: 0.86rem;
}
.offers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  align-items: stretch;
}
@media (max-width: 980px) {
  .offers {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .offers {
    grid-template-columns: 1fr;
  }
}
.offer {
  position: relative;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px 20px;
  display: flex;
  flex-direction: column;
}
.offer.featured {
  border: 2px solid var(--acc);
  box-shadow: var(--shadow);
}
.offer-tag {
  position: absolute;
  top: -12px;
  left: 20px;
  margin: 0;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--acc);
  color: var(--acc-ink);
  font-size: 0.78rem;
  font-weight: 600;
}
.offer h3 {
  margin-bottom: 6px;
}
.price {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0 0 4px;
  font-variant-numeric: tabular-nums;
}
.price small {
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--mut);
}
.offer-credits {
  font-weight: 600;
  margin: 0;
}
.offer-units {
  color: var(--acc);
  font-weight: 600;
  margin: 2px 0 12px;
  line-height: 1.35;
}
.offer-units small {
  color: var(--mut);
  font-weight: 500;
}
.offer-bonus {
  align-self: flex-start;
  margin: -4px 0 12px;
  padding: 2px 10px;
  border-radius: 999px;
  background: var(--acc-soft);
  color: var(--acc);
  font-size: 0.82rem;
  font-weight: 600;
}
.offer-who {
  color: var(--mut);
  font-size: 0.95rem;
  margin-bottom: 8px;
}
.offer-terms {
  color: var(--mut);
  font-size: 0.85rem;
  margin: auto 0 0;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.prices-fine {
  max-width: 860px;
  margin: 24px auto 0;
  text-align: center;
}

/* install */
.stores {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 760px) {
  .stores {
    grid-template-columns: 1fr;
  }
}
.store {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: 1.5px solid var(--acc);
  background: var(--card);
  color: var(--fg);
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease-out);
}
.store:hover {
  background: var(--acc-soft);
  color: var(--fg);
}
.store:active {
  transform: scale(0.98);
}
.store b {
  font-size: 1.05rem;
}
.store span {
  color: var(--mut);
  font-size: 0.88rem;
}
.store.soon {
  border-style: dashed;
  border-color: var(--line);
  opacity: 0.75;
}

/* questions: they open smoothly where the browser knows how */
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 40px 18px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.04rem;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 6px;
  top: 14px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--acc);
  transition: transform 260ms var(--ease-out);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--mut);
  margin: 0 0 18px;
}
@supports selector(::details-content) {
  .faq details::details-content {
    height: 0;
    overflow: clip;
    opacity: 0;
    transition:
      height 320ms var(--ease-out),
      opacity 260ms ease,
      content-visibility 320ms allow-discrete;
  }
  .faq details[open]::details-content {
    height: auto;
    opacity: 1;
  }
}
.final {
  padding-bottom: 96px;
}

/* what enters while scrolling */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms ease,
    transform 800ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 70ms);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* the footer */
.foot {
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 48px 0 24px;
  font-size: 0.92rem;
}
.foot-in {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 32px;
}
@media (max-width: 860px) {
  .foot-in {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .foot-in {
    grid-template-columns: 1fr;
  }
}
.foot p {
  color: var(--mut);
  margin: 8px 0;
}
.foot-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.foot-col h2 {
  font: 600 0.82rem/1.3 var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mut);
  margin: 6px 0 4px;
  text-align: left;
}
.foot-col a {
  color: var(--fg);
  text-decoration: none;
}
.foot-col a:hover {
  color: var(--acc);
  text-decoration: underline;
}
.foot-credits p {
  margin: 0;
}
.foot-legal {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.foot-legal p {
  font-size: 0.85rem;
}

/* the legal pages and the forms */
.doc {
  padding-top: 48px;
  padding-bottom: 72px;
}
.doc h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}
.doc h2 {
  font-size: 1.35rem;
  margin-top: 2em;
  text-align: left;
}
.doc-kicker {
  color: var(--acc);
  font-weight: 600;
  margin-bottom: 6px;
}
.doc-date {
  color: var(--mut);
  font-size: 0.92rem;
}
.doc-intro {
  font-size: 1.06rem;
  color: var(--mut);
}
.doc ul {
  padding-left: 1.2em;
}
.doc li {
  margin: 4px 0;
}
.toc ol {
  columns: 2;
  column-gap: 32px;
  padding-left: 1.4em;
  font-size: 0.95rem;
}
@media (max-width: 560px) {
  .toc ol {
    columns: 1;
  }
}
.box {
  border: 1px solid var(--line);
  background: var(--card);
  border-radius: var(--radius);
  padding: 18px 22px;
  margin: 16px 0;
}
.box p:last-child {
  margin-bottom: 0;
}
.table-wrap {
  overflow-x: auto;
  margin: 12px 0 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.93rem;
}
th,
td {
  text-align: left;
  vertical-align: top;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
th {
  font-weight: 600;
  background: var(--bg-alt);
}
.todo {
  color: var(--todo);
  font-weight: 600;
  background: color-mix(in srgb, var(--todo) 10%, transparent);
  padding: 0 4px;
  border-radius: 4px;
}
.form {
  display: grid;
  gap: 18px;
  margin: 24px 0;
}
.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.field {
  display: grid;
  gap: 6px;
  border: 0;
  padding: 0;
  margin: 0;
}
.field > span,
.field legend {
  font-weight: 600;
}
.field small {
  color: var(--mut);
  font-weight: 400;
}
.field input:not([type='radio']),
.field select {
  font: inherit;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--fg);
  width: 100%;
  transition: border-color 160ms ease;
}
.field input:focus,
.field select:focus {
  border-color: var(--acc);
}
.choice {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 0;
}
.choice input[type='date'] {
  width: auto !important;
}
.field.bad input,
.field.bad select {
  border-color: var(--todo);
}
.field em {
  color: var(--todo);
  font-style: normal;
  font-size: 0.92rem;
}
.form .btn {
  justify-self: start;
}

/* less movement asked: the fades stay, nothing travels */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js [data-reveal],
  .screen,
  .swap-word,
  .summary li,
  .callout {
    transform: none !important;
    filter: none !important;
    transition-property: opacity, visibility !important;
    transition-duration: 200ms !important;
  }
  .callout {
    transform: translate(-50%, -50%) !important;
  }
  .sweep,
  .stage.working .pulse {
    animation: none;
    display: none;
  }
  .compare.glide {
    transition: none;
  }
  .v-track {
    scroll-behavior: auto;
  }
  .v-slide,
  .v-cap {
    transform: none !important;
    transition-property: opacity !important;
  }
  .stage-tabs::before {
    transition: none;
  }
}

/* the gallery folded under the showcase, on its night stage: a button unfolds it, its pages as a contact sheet */
.hg-open-row {
  margin-top: 26px;
  text-align: center;
}
.hg-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--v-fg);
  font: 600 0.98rem/1 var(--sans);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    transform 160ms var(--ease-out);
}
.hg-toggle:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
}
.hg-toggle:active {
  transform: scale(0.97);
}
.hg-toggle:focus-visible {
  outline: 3px solid #b9a8ff;
  outline-offset: 3px;
}
.hg-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 240ms var(--ease-out);
}
.hg-toggle[aria-expanded='true'] svg {
  transform: rotate(180deg);
}
.hg {
  padding-top: 34px;
  scroll-margin-top: 72px;
}
.hg-lead {
  margin: 0 auto 18px;
  max-width: 60ch;
  color: var(--v-mut);
  text-align: center;
  font-size: 0.98rem;
}
.hg .g-filters {
  justify-content: center;
  margin: 0 0 22px;
}
.hg .g-filters button {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
  color: var(--v-fg);
}
.hg .g-filters button small {
  color: var(--v-mut);
}
.hg .g-filters button:hover {
  border-color: #b9a8ff;
}
.hg .g-filters button[aria-pressed='true'] {
  background: #f4f2fa;
  border-color: #f4f2fa;
  color: #15121f;
}
.hg .g-filters button[aria-pressed='true'] small {
  color: inherit;
}
.hg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.hg-item[hidden] {
  display: none;
}
.hg-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: none;
  color: inherit;
  text-align: left;
  cursor: zoom-in;
}
.hg-card:focus-visible {
  outline: 3px solid #b9a8ff;
  outline-offset: 4px;
}
.hg-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}
.hg-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, top);
  transition: transform 420ms var(--ease-out);
}
.hg-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(13, 11, 19, 0.72);
  color: #fff;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 200ms ease,
    transform 200ms var(--ease-out);
}
.hg-open svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (hover: hover) and (pointer: fine) {
  .hg-card:hover .hg-thumb img {
    transform: scale(1.03);
  }
  .hg-card:hover .hg-open,
  .hg-card:focus-visible .hg-open {
    opacity: 1;
    transform: none;
  }
}
@media (pointer: coarse) {
  .hg-open {
    opacity: 1;
    transform: none;
  }
}
.hg-tags {
  display: block;
  margin: 12px 2px 3px;
  color: #b9a8ff;
  font: 700 0.74rem/1.3 var(--sans);
  letter-spacing: 0.02em;
}
.hg-what {
  display: block;
  margin: 0 2px;
  color: var(--v-fg);
  font: 600 0.98rem/1.35 var(--serif);
}
.hg-page {
  margin: 26px 0 0;
  text-align: center;
}
.hg-page a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--v-mut);
  font: 600 0.9rem/1 var(--sans);
  text-decoration: none;
}
.hg-page a:hover {
  color: var(--v-fg);
}
.hg-page svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (max-width: 699px) {
  .hg-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .hg-what {
    font-size: 0.86rem;
  }
  .hg-tags {
    margin-top: 8px;
    font-size: 0.68rem;
  }
  .hg .g-filters {
    justify-content: flex-start;
  }
}

/* the viewer: the page as large as the screen allows, the bar over it, the page before and after under it */
html.lb-on {
  overflow: hidden;
}
.lb {
  --lb-chrome: 168px;
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #09080e;
  color: #f4f2fa;
  overflow: hidden;
}
.lb[open] {
  display: flex;
  flex-direction: column;
}
.lb::backdrop {
  background: rgba(9, 8, 14, 0.6);
}
.lb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 6px 12px 0 20px;
}
.lb-count {
  margin: 0;
  color: #b4aec8;
  font: 600 0.86rem/1 var(--sans);
  font-variant-numeric: tabular-nums;
}
.lb-close,
.lb-nav {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 160ms var(--ease-out);
}
.lb-close:hover,
.lb-nav:hover {
  background: rgba(255, 255, 255, 0.16);
}
.lb-close:active,
.lb-nav:active {
  transform: scale(0.94);
}
.lb-close:focus-visible,
.lb-nav:focus-visible {
  outline: 3px solid #b9a8ff;
  outline-offset: 2px;
}
.lb-close svg,
.lb-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lb-nav[hidden] {
  visibility: hidden;
}
.lb-stage {
  flex: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 4px 16px;
}
.lb-frame {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}
.lb-compare {
  aspect-ratio: var(--ratio, 16 / 10);
  width: min(100%, calc((100dvh - var(--lb-chrome)) * var(--ratio-n, 1.6)));
  height: auto;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.55);
}
.lb-compare img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lb-foot {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 16px 18px;
}
.lb-cap {
  flex: 1;
  min-width: 0;
  text-align: center;
}
.lb-tags {
  margin: 0 0 4px;
  color: #b9a8ff;
  font: 700 0.76rem/1.3 var(--sans);
}
.lb-what {
  margin: 0 0 4px;
  font: 600 1.02rem/1.3 var(--serif);
}
.lb-credit {
  margin: 0;
  color: #b4aec8;
  font-size: 0.8rem;
  line-height: 1.4;
}
@media (max-width: 699px) {
  .lb {
    --lb-chrome: 210px;
  }
  .lb-stage {
    padding: 0 8px;
  }
  .lb-foot {
    gap: 8px;
    padding: 8px 8px max(14px, env(safe-area-inset-bottom));
  }
  .lb-what {
    font-size: 0.92rem;
  }
  .lb-credit {
    font-size: 0.74rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hg-thumb img,
  .hg-open,
  .hg-toggle,
  .hg-toggle svg {
    transition: none;
  }
}

/* the gallery: a wall of pages, each under its bar; a filter by kind of page; a page grows to the wall's width */
.g-head {
  padding-top: 56px;
  padding-bottom: 8px;
}
.g-head h1 {
  margin: 0 0 14px;
  font: 600 clamp(1.9rem, 4.2vw, 3rem) / 1.1 var(--serif);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.g-head .section-lead {
  max-width: 62ch;
  margin: 0;
  text-align: left;
}
.g-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
}
.g-filters button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--fg);
  font: 600 0.88rem/1 var(--sans);
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.g-filters button small {
  color: var(--mut);
  font-weight: 500;
}
.g-filters button:hover {
  border-color: var(--acc);
}
.g-filters button[aria-pressed='true'] {
  background: var(--acc);
  border-color: var(--acc);
  color: var(--acc-ink);
}
.g-filters button[aria-pressed='true'] small {
  color: inherit;
  opacity: 0.8;
}
.g-filters button:focus-visible,
.g-grow:focus-visible {
  outline: 3px solid var(--acc);
  outline-offset: 2px;
}
.g-wall {
  padding-top: 28px;
  padding-bottom: 24px;
}
.g-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr));
  grid-auto-flow: row dense;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.g-card {
  min-width: 0;
  opacity: 1;
  transform: none;
  transition:
    opacity 420ms var(--ease-out),
    transform 420ms var(--ease-out);
}
.g-card[hidden] {
  display: none;
}
.g-card figure > figcaption {
  flex: 1;
}
.g-card {
  display: flex;
}
.g-card figure {
  flex: 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  box-shadow: var(--shadow);
}
.g-media {
  position: relative;
  background: #fff;
}
.g-media .compare {
  height: auto;
  aspect-ratio: 16 / 10;
}
/* a tall page shows its top in the wall (the masthead, the title), all of it once grown */
.g-media .compare img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--focus, top);
}
.g-grow {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 12px;
  background: rgba(21, 18, 31, 0.62);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition:
    background-color 180ms ease,
    transform 180ms var(--ease-out);
}
.g-grow:hover {
  background: rgba(21, 18, 31, 0.82);
}
.g-grow:active {
  transform: scale(0.94);
}
.g-grow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.g-card figcaption {
  padding: 14px 16px 16px;
}
.g-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 8px;
}
.g-tags span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--acc-soft);
  color: var(--acc);
  font: 700 0.72rem/1.2 var(--sans);
  letter-spacing: 0.02em;
}
.g-tags span + span {
  background: var(--bg-alt);
  color: var(--mut);
}
.g-what {
  margin: 0 0 6px;
  font: 600 1rem/1.4 var(--serif);
}
.g-credit {
  margin: 0;
  color: var(--mut);
  font-size: 0.8rem;
  line-height: 1.45;
}
.g-empty {
  margin: 30px 0;
  color: var(--mut);
  text-align: center;
}
.g-foot {
  padding-top: 40px;
  padding-bottom: 72px;
  text-align: center;
}
.g-foot h2 {
  margin: 0 0 10px;
  font: 600 1.6rem/1.2 var(--serif);
}
.g-foot p {
  margin: 0 auto 22px;
  max-width: 52ch;
  color: var(--mut);
}
.g-foot .cta-row {
  justify-content: center;
}
@media (max-width: 699px) {
  .g-head {
    padding-top: 36px;
  }
  .g-head .section-lead {
    font-size: 1rem;
  }
  .g-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-right: -16px;
    padding-right: 16px;
    scrollbar-width: none;
  }
  .g-filters::-webkit-scrollbar {
    display: none;
  }
  .g-filters button {
    flex: none;
  }
  .g-grow {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-card {
    transition: none;
  }
}

@media print {
  .bar,
  .foot,
  [data-print] {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
  }
}

/* the account and signing in: the bar's link, the sign-in pages, the account's pages */
.bar-account {
  color: var(--fg);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: color 150ms ease;
}
.bar-account:hover {
  color: var(--acc);
}
@media (max-width: 720px) {
  .bar-in {
    gap: 16px;
  }
  .bar-in .bar-account {
    margin-left: auto;
  }
  .bar-in .bar-account + .btn-small {
    margin-left: 0;
  }
}
.auth {
  max-width: 440px;
  margin: 0 auto;
  padding: 48px 16px 72px;
}
.auth h1 {
  font-size: clamp(1.7rem, 4vw, 2.2rem);
  margin-bottom: 8px;
}
.auth-lead {
  color: var(--mut);
}
.auth .form {
  margin-top: 16px;
}
.auth .form .btn {
  justify-self: stretch;
}
.auth-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 16px;
  font-size: 0.95rem;
}
/* Google's button, drawn as Google asks (white, its « G », its grey border; dark on a dark page) */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid #747775;
  background: #ffffff;
  color: #1f1f1f;
  font: 500 1rem/1 var(--sans);
  text-decoration: none;
  transition:
    background-color 160ms ease,
    transform 160ms var(--ease-out);
}
.btn-google:hover {
  background: #f2f2f2;
  color: #1f1f1f;
}
.btn-google:active {
  transform: scale(0.98);
}
.btn-google svg {
  width: 20px;
  height: 20px;
  flex: none;
}
@media (prefers-color-scheme: dark) {
  .btn-google {
    background: #131314;
    border-color: #8e918f;
    color: #e3e3e3;
  }
  .btn-google:hover {
    background: #1e1f20;
    color: #e3e3e3;
  }
}
.or {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 0;
  color: var(--mut);
  font-size: 0.9rem;
}
.or::before,
.or::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--line);
}
.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 0.95rem;
}
.check input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--acc);
}
.field-error {
  color: var(--todo);
  font-size: 0.92rem;
  margin: -8px 0 0;
}
.note {
  border-radius: 10px;
  padding: 12px 16px;
  background: var(--acc-soft);
  color: var(--fg);
  margin: 0 0 16px;
}
.note.good {
  background: color-mix(in srgb, #1a7f37 13%, var(--card));
}
.note.bad {
  background: color-mix(in srgb, var(--todo) 13%, var(--card));
}
.account {
  padding-top: 40px;
  padding-bottom: 72px;
}
.account h2 {
  font-size: 1.2rem;
  margin: 0 0 12px;
  text-align: left;
}
.acc-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}
.acc-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}
.acc-mail {
  color: var(--mut);
  margin: 4px 0 0;
  overflow-wrap: anywhere;
}
.tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 8px 0 12px;
}
@media (max-width: 900px) {
  .tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
}
.tile {
  display: grid;
  align-content: start;
  gap: 4px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
  min-width: 0;
}
.tile-label {
  color: var(--mut);
  font-size: 0.88rem;
}
.tile-value {
  font-size: clamp(1.1rem, 4.2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.tile small {
  color: var(--mut);
  font-size: 0.85rem;
}
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.steps li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 10px;
  align-items: start;
}
.step-mark {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #ffffff;
}
.steps li.done .step-mark {
  background: #1a7f37;
  border-color: #1a7f37;
}
.steps li.done > span:last-child {
  color: var(--mut);
}
.inline {
  display: inline;
}
.link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--acc);
  text-decoration: underline;
  cursor: pointer;
}
.acc-info dl {
  display: grid;
  gap: 10px;
  margin: 0;
}
.acc-info dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
}
@media (max-width: 560px) {
  .acc-info dl > div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}
.acc-info dt {
  color: var(--mut);
}
.acc-info dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.acc-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 16px 0 0;
}
