/* Declaria — vitrine publique.
   Direction : dossier fiscal suisse, composition éditoriale, mouvement mesuré. */

@font-face {
  font-family: "Switzer";
  src: url("/assets/fonts/switzer-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/assets/fonts/switzer-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/assets/fonts/switzer-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Switzer";
  src: url("/assets/fonts/switzer-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fragment Mono";
  src: url("/assets/fonts/fragment-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --landing-red: #da291c;
  --landing-red-dark: #b01f13;
  --landing-ink: #121212;
  --landing-ink-soft: #242422;
  --landing-paper: #faf9f6;
  --landing-paper-deep: #f1f0ea;
  --landing-sand: #ebe8df;
  --landing-blush: #f5e9e6;
  --landing-white: #fff;
  --landing-line: #d8d6cf;
  --landing-muted: #74716b;
  --landing-green: #1c7c4a;
  --landing-blue: #1f567b;
  --landing-shell: 1240px;
  --landing-edge: clamp(20px, 4vw, 64px);
  --page-progress: 0;
  --hero-progress: 0;
  --pointer-x: 0;
  --pointer-y: 0;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.landing-page {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--landing-paper);
  color: var(--landing-ink);
  font-family: "Switzer", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.landing-page::selection {
  background: var(--landing-red);
  color: var(--landing-white);
}

.landing {
  position: relative;
  overflow: clip;
}

.landing img {
  display: block;
  max-width: 100%;
}

.landing a {
  color: inherit;
  text-decoration: none;
}

.landing button,
.landing a,
.landing summary {
  -webkit-tap-highlight-color: transparent;
}

.landing :focus-visible,
.landing-skip:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.landing h1,
.landing h2,
.landing h3,
.landing p,
.landing ol,
.landing ul,
.landing dl,
.landing dd,
.landing blockquote {
  margin: 0;
}

.landing ol,
.landing ul {
  padding: 0;
  list-style: none;
}

.landing-shell {
  width: min(calc(100% - (var(--landing-edge) * 2)), var(--landing-shell));
  margin-inline: auto;
}

.landing-skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  transform: translateY(-160%);
  padding: 10px 14px;
  background: var(--landing-white);
  color: var(--landing-ink);
  border: 1px solid var(--landing-ink);
  font: 600 0.8rem/1 "Switzer", sans-serif;
  transition: transform 180ms ease;
}

.landing-skip:focus {
  transform: none;
}

.landing-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 240;
  height: 3px;
  transform: scaleX(var(--page-progress));
  transform-origin: left center;
  background: var(--landing-red);
  pointer-events: none;
  will-change: transform;
}

.landing-section-label,
.landing-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--landing-muted);
  font: 400 0.68rem/1.2 "Fragment Mono", monospace;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.landing-section-label::before,
.landing-kicker::before {
  width: 30px;
  height: 1px;
  background: var(--landing-red);
  content: "";
}

.landing-section-label-light {
  color: var(--landing-muted);
}

.landing-section-label-light::before {
  background: var(--landing-red);
}

.landing-button {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 22px;
  border: 1px solid var(--landing-red);
  background: var(--landing-red);
  color: var(--landing-white) !important;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.landing-button span {
  font: 400 1rem/1 "Fragment Mono", monospace;
  transition: transform 180ms ease;
}

.landing-button:hover {
  background: var(--landing-red-dark);
  border-color: var(--landing-red-dark);
}

.landing-button:hover span {
  transform: translate(3px, -3px);
}

.landing-button-small {
  min-height: 42px;
  gap: 20px;
  padding-inline: 17px;
  font-size: 0.78rem;
}

.landing-button-light {
  border-color: var(--landing-red);
  background: var(--landing-red);
  color: var(--landing-white) !important;
}

.landing-button-light:hover {
  border-color: var(--landing-red-dark);
  background: var(--landing-red-dark);
  color: var(--landing-white) !important;
}

.landing-button-dark {
  border-color: var(--landing-white);
  background: var(--landing-white);
  color: var(--landing-ink) !important;
}

.landing-button-dark:hover {
  border-color: var(--landing-ink);
  background: var(--landing-paper);
  color: var(--landing-ink) !important;
}

/* Header */
.landing-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  padding-inline: var(--landing-edge);
  border-bottom: 1px solid rgba(18, 18, 18, 0.1);
  background: rgba(235, 232, 223, 0.88);
  color: var(--landing-ink);
  backdrop-filter: blur(14px);
  transition: height 240ms ease, color 240ms ease, background 240ms ease, border-color 240ms ease;
}

.landing-header.is-scrolled {
  height: 64px;
  background: rgba(250, 249, 246, 0.96);
  border-color: var(--landing-line);
  color: var(--landing-ink);
  backdrop-filter: blur(16px);
}

.landing-brand {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.landing-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 46px);
  font-size: 0.76rem;
  font-weight: 500;
}

.landing-nav a,
.landing-login {
  position: relative;
  padding-block: 8px;
}

.landing-nav a::after,
.landing-login::after {
  position: absolute;
  inset: auto 0 3px;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: currentColor;
  content: "";
  transition: transform 220ms ease;
}

.landing-nav a:hover::after,
.landing-login:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.landing-header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 22px;
}

.landing-login {
  font-size: 0.76rem;
  font-weight: 500;
}

/* Hero */
.landing-hero {
  min-height: max(760px, 100svh);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(480px, 1.14fr);
  align-items: center;
  gap: clamp(28px, 5vw, 90px);
  padding: 118px var(--landing-edge) 72px;
  overflow: hidden;
  background: var(--landing-sand);
  color: var(--landing-ink);
}

.landing-hero-grid,
.landing-control-grid {
  position: absolute;
  inset: 0;
  opacity: 0.11;
  background-image:
    linear-gradient(rgba(18, 18, 18, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, 0.28) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, #000, transparent 68%);
  mask-image: linear-gradient(to right, #000, transparent 68%);
}

.landing-hero::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--landing-red);
  content: "";
}

.landing-hero::after {
  position: absolute;
  right: -10vw;
  bottom: -35vw;
  width: min(74vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(18, 18, 18, 0.09);
  transform: rotate(calc(-10deg + (var(--hero-progress) * 8deg)));
  content: "";
  pointer-events: none;
}

.landing-hero-copy {
  position: relative;
  z-index: 4;
  max-width: 720px;
}

.landing-kicker {
  margin-bottom: clamp(24px, 4vh, 46px) !important;
  color: var(--landing-muted);
}

.landing-hero h1 {
  max-width: 820px;
  color: var(--landing-ink);
  font-size: clamp(3.35rem, 6vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.062em;
  line-height: 0.92;
}

.landing-hero h1 span {
  color: #8a877f;
}

.landing-hero-lead {
  max-width: 575px;
  margin-top: clamp(30px, 5vh, 52px) !important;
  color: var(--landing-muted);
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  line-height: 1.65;
}

.landing-hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.landing-text-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--landing-ink) !important;
  font-size: 0.82rem;
  font-weight: 500;
}

.landing-text-link span {
  transition: transform 180ms ease;
}

.landing-text-link:hover span {
  transform: translateY(4px);
}

.landing-private {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px !important;
  color: var(--landing-muted);
  font: 400 0.68rem/1.4 "Fragment Mono", monospace;
  letter-spacing: 0.04em;
}

.landing-private span {
  width: 7px;
  height: 7px;
  background: var(--landing-green);
}

.landing-hero-index {
  position: absolute;
  top: 110px;
  right: var(--landing-edge);
  z-index: 3;
  display: flex;
  gap: 18px;
  color: var(--landing-muted);
  font: 400 0.66rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.14em;
}

.landing-hero-stage {
  position: relative;
  z-index: 3;
  width: min(100%, 780px);
  aspect-ratio: 1.05;
  justify-self: end;
  perspective: 1600px;
  transform:
    translate3d(calc(var(--pointer-x) * 7px), calc((var(--pointer-y) * 5px) + (var(--hero-progress) * 20px)), 0)
    scale(calc(1 - (var(--hero-progress) * 0.035)));
  transform-origin: center;
  will-change: transform;
}

.landing-product-window,
.landing-sheet {
  position: absolute;
  border: 1px solid rgba(18, 18, 18, 0.14);
  background: var(--landing-paper);
}

.landing-sheet {
  inset: 13% 4% 9% 12%;
  transform-origin: bottom center;
}

.landing-sheet-back {
  transform: translate3d(24px, -15px, -70px) rotate(4.5deg);
  background: var(--landing-red);
}

.landing-sheet-mid {
  transform: translate3d(-12px, 3px, -35px) rotate(-3deg);
  background: #d9d7d0;
}

.landing-product-window {
  inset: 11% 2% 7% 6%;
  overflow: hidden;
  color: var(--landing-ink);
  box-shadow: 28px 34px 80px rgba(0, 0, 0, 0.35);
  transform: rotateX(calc((var(--pointer-y) * -1.2deg) + 1deg)) rotateY(calc(var(--pointer-x) * 1.5deg));
  transition: transform 180ms ease-out;
  transform-style: preserve-3d;
}

.landing-product-bar {
  height: 54px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding-inline: 18px;
  border-bottom: 1px solid var(--landing-line);
  background: var(--landing-white);
  font-size: 0.68rem;
  font-weight: 600;
}

.landing-product-mark {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  background: var(--landing-red);
  color: var(--landing-white);
  font: 400 0.72rem/1 "Fragment Mono", monospace;
}

.landing-product-state {
  color: var(--landing-green);
  font: 400 0.6rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.landing-product-body {
  height: calc(100% - 54px);
  display: grid;
  grid-template-columns: 62px 1fr;
}

.landing-product-nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: center;
  padding-top: 22px;
  border-right: 1px solid var(--landing-line);
  background: #efeee8;
}

.landing-product-nav span {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  color: var(--landing-muted);
  font: 400 0.6rem/1 "Fragment Mono", monospace;
}

.landing-product-nav span.is-active {
  background: var(--landing-red);
  color: var(--landing-white);
}

.landing-product-content {
  padding: clamp(20px, 3vw, 38px);
}

.landing-product-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--landing-ink);
  color: var(--landing-muted);
  font: 400 0.58rem/1.3 "Fragment Mono", monospace;
  letter-spacing: 0.08em;
}

.landing-product-heading b {
  color: var(--landing-green);
  font-weight: 400;
}

.landing-product-field {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 14px;
  min-height: 74px;
  border-bottom: 1px solid var(--landing-line);
}

.landing-product-field > span {
  color: var(--landing-red);
  font: 400 0.6rem/1 "Fragment Mono", monospace;
}

.landing-product-field p {
  font-size: clamp(0.68rem, 1vw, 0.82rem);
}

.landing-product-field strong,
.landing-product-total strong {
  font: 400 clamp(0.78rem, 1.2vw, 1rem)/1 "Fragment Mono", monospace;
}

.landing-product-field small {
  color: var(--landing-muted);
  font-size: 0.56rem;
  font-weight: 400;
}

.landing-product-field.is-confirmed {
  box-shadow: inset 3px 0 0 var(--landing-green);
}

.landing-source-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 19px;
  padding: 12px 14px;
  background: #eaf1f6;
  color: var(--landing-blue);
  font: 400 0.55rem/1.4 "Fragment Mono", monospace;
}

.landing-source-line b {
  color: var(--landing-ink);
  font-weight: 400;
  text-align: right;
}

.landing-product-total {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 16px 0;
  border-block: 1px solid var(--landing-ink);
  font-size: 0.76rem;
  font-weight: 600;
}

.landing-scan {
  position: absolute;
  inset: -30% 0 auto;
  height: 2px;
  opacity: 0;
  background: var(--landing-red);
  box-shadow: 0 0 22px rgba(218, 41, 28, 0.75);
  pointer-events: none;
  animation: landing-scan 4.4s 1.2s ease-in-out infinite;
}

.landing-stage-note {
  position: absolute;
  z-index: 5;
  min-width: 148px;
  padding: 13px 15px;
  border-left: 3px solid var(--landing-red);
  background: var(--landing-white);
  color: var(--landing-ink);
  box-shadow: 10px 14px 32px rgba(0, 0, 0, 0.22);
}

.landing-stage-note span {
  display: block;
  margin-bottom: 5px;
  color: var(--landing-muted);
  font: 400 0.52rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-stage-note strong {
  font-size: 0.72rem;
  font-weight: 600;
}

.landing-stage-note-source {
  left: -2%;
  bottom: 11%;
}

.landing-stage-note-progress {
  top: 14%;
  right: -2%;
  border-color: var(--landing-green);
}

.landing-stage-note-progress strong {
  font: 400 1.1rem/1 "Fragment Mono", monospace;
}

.landing-scroll-cue {
  position: absolute;
  left: var(--landing-edge);
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--landing-muted);
  font: 400 0.58rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-scroll-cue i {
  width: 44px;
  height: 1px;
  overflow: hidden;
  background: rgba(18, 18, 18, 0.16);
}

.landing-scroll-cue i::after {
  display: block;
  width: 50%;
  height: 100%;
  transform: translateX(-110%);
  background: var(--landing-red);
  content: "";
  animation: landing-cue 2s ease-in-out infinite;
}

@keyframes landing-scan {
  0%, 18% { top: -5%; opacity: 0; }
  24% { opacity: 0.9; }
  66% { top: 104%; opacity: 0.9; }
  72%, 100% { top: 104%; opacity: 0; }
}

@keyframes landing-cue {
  0% { transform: translateX(-110%); }
  55%, 100% { transform: translateX(220%); }
}

@keyframes landing-hero-in {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}

@keyframes landing-stage-in {
  from { opacity: 0; transform: translate3d(45px, 24px, 0) scale(0.96); }
  to { opacity: 1; transform: none; }
}

.landing-hero [data-hero-line] {
  opacity: 0;
  animation: landing-hero-in 820ms cubic-bezier(0.2, 0.75, 0.25, 1) forwards;
}

.landing-hero [data-hero-line]:nth-child(1) { animation-delay: 100ms; }
.landing-hero [data-hero-line]:nth-child(2) { animation-delay: 180ms; }
.landing-hero [data-hero-line]:nth-child(3) { animation-delay: 300ms; }
.landing-hero [data-hero-line]:nth-child(4) { animation-delay: 400ms; }
.landing-hero [data-hero-line]:nth-child(5) { animation-delay: 500ms; }

.landing-hero-stage {
  animation: landing-stage-in 1050ms 260ms cubic-bezier(0.2, 0.75, 0.25, 1) backwards;
}

/* Introduction */
.landing-intro {
  padding: clamp(100px, 13vw, 190px) 0 clamp(110px, 14vw, 200px);
  background: var(--landing-paper);
}

.landing-intro-head {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: clamp(40px, 8vw, 130px);
  margin-top: 34px;
}

.landing-intro h2,
.landing-trace h2,
.landing-faq h2 {
  font-size: clamp(2.7rem, 5.7vw, 6.1rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

.landing-intro h2 span,
.landing-trace h2 span,
.landing-faq h2 span {
  color: var(--landing-muted);
}

.landing-intro-head > p {
  padding-bottom: 8px;
  color: var(--landing-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.landing-principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(80px, 10vw, 140px) !important;
  border-top: 1px solid var(--landing-ink);
}

.landing-principles li {
  min-height: 260px;
  position: relative;
  padding: 30px clamp(20px, 3vw, 42px) 28px 0;
  border-bottom: 1px solid var(--landing-line);
}

.landing-principles li + li {
  padding-left: clamp(20px, 3vw, 42px);
  border-left: 1px solid var(--landing-line);
}

.landing-principle-num {
  color: var(--landing-red);
  font: 400 0.68rem/1 "Fragment Mono", monospace;
}

.landing-principles h3 {
  margin-top: 74px !important;
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.landing-principles p {
  max-width: 30ch;
  margin-top: 14px !important;
  color: var(--landing-muted);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* Story sticky */
.landing-story {
  position: relative;
  padding: clamp(100px, 12vw, 160px) 0 10vh;
  border-block: 1px solid var(--landing-line);
  background: var(--landing-sand);
  color: var(--landing-ink);
}

.landing-story-top h2 {
  margin-top: 30px !important;
  font-size: clamp(3rem, 6vw, 6.5rem);
  font-weight: 500;
  letter-spacing: -0.062em;
  line-height: 0.95;
}

.landing-story-top h2 span {
  color: var(--landing-muted);
}

.landing-story-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(500px, 1.28fr);
  gap: clamp(50px, 8vw, 130px);
  margin-top: clamp(80px, 11vw, 150px);
}

.landing-story-step {
  min-height: 84vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.34;
  transition: opacity 380ms ease;
}

.landing-story-step.is-active {
  opacity: 1;
}

.landing-step-index {
  color: var(--landing-red);
  font: 400 0.68rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-story-step h3 {
  margin-top: 26px !important;
  font-size: clamp(2rem, 3.5vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.01;
}

.landing-story-step > p:not(.landing-step-index) {
  max-width: 47ch;
  margin-top: 28px !important;
  color: var(--landing-muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.landing-story-step ul {
  margin-top: 32px !important;
  border-top: 1px solid var(--landing-line);
}

.landing-story-step li {
  position: relative;
  padding: 13px 0 13px 19px;
  border-bottom: 1px solid var(--landing-line);
  color: var(--landing-ink-soft);
  font-size: 0.78rem;
}

.landing-story-step li::before {
  position: absolute;
  left: 0;
  top: 19px;
  width: 6px;
  height: 6px;
  background: var(--landing-red);
  content: "";
}

.landing-story-sticky {
  height: min(720px, calc(100vh - 118px));
  position: sticky;
  top: 90px;
  align-self: start;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 3px;
  gap: 18px;
  align-items: stretch;
}

.landing-story-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--landing-muted);
  font: 400 0.58rem/1 "Fragment Mono", monospace;
}

.landing-story-counter span:first-child {
  color: var(--landing-ink);
}

.landing-story-counter i {
  width: 1px;
  flex: 1;
  background: var(--landing-line);
}

.landing-story-screen {
  min-height: 520px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(18, 18, 18, 0.18);
  background: var(--landing-paper-deep);
  color: var(--landing-ink);
}

.landing-story-chrome {
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 19px;
  border-bottom: 1px solid var(--landing-line);
  background: var(--landing-white);
  font: 400 0.58rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.08em;
}

.landing-story-chrome span:last-child {
  color: var(--landing-red);
}

.landing-story-panel {
  position: absolute;
  inset: 52px 0 0;
  padding: clamp(24px, 4vw, 52px);
  opacity: 0;
  transform: translateY(34px) scale(0.985);
  pointer-events: none;
  transition: opacity 500ms ease, transform 620ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.landing-story-screen[data-active-step="0"] [data-story-panel="0"],
.landing-story-screen[data-active-step="1"] [data-story-panel="1"],
.landing-story-screen[data-active-step="2"] [data-story-panel="2"] {
  z-index: 2;
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.landing-story-rail {
  overflow: hidden;
  background: var(--landing-line);
}

.landing-story-rail i {
  display: block;
  width: 100%;
  height: var(--story-progress, 0%);
  background: var(--landing-red);
  transition: height 180ms linear;
}

.landing-upload-target {
  min-height: 230px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px dashed #9d9b95;
  background: var(--landing-white);
}

.landing-upload-arrow {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: var(--landing-red);
  color: var(--landing-white);
  font: 400 1.2rem/1 "Fragment Mono", monospace;
}

.landing-upload-target strong {
  margin-top: 5px;
  font-size: 1rem;
}

.landing-upload-target span {
  color: var(--landing-muted);
  font: 400 0.58rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.07em;
}

.landing-file-list {
  margin-top: 22px;
  border-top: 1px solid var(--landing-ink);
}

.landing-file-list div {
  min-height: 56px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--landing-line);
}

.landing-file-list div > span,
.landing-file-list b {
  font: 400 0.58rem/1 "Fragment Mono", monospace;
}

.landing-file-list div > span {
  color: var(--landing-red);
}

.landing-file-list p {
  font-size: 0.75rem;
}

.landing-file-list b {
  color: var(--landing-green);
}

.landing-proposal-head,
.landing-summary-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 17px;
  border-bottom: 1px solid var(--landing-ink);
  font: 400 0.59rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.08em;
}

.landing-proposal-head b,
.landing-summary-head b {
  color: var(--landing-green);
  font-weight: 400;
}

.landing-proposal-label {
  margin-top: 40px !important;
  color: var(--landing-muted);
  font-size: 0.78rem;
}

.landing-proposal-value {
  display: block;
  margin-top: 13px;
  color: var(--landing-red);
  font: 400 clamp(2.8rem, 5vw, 5rem)/1 "Fragment Mono", monospace;
  letter-spacing: -0.06em;
}

.landing-proposal-value small {
  color: var(--landing-muted);
  font-size: 0.72rem;
  letter-spacing: 0;
}

.landing-proposal blockquote {
  margin-top: 34px !important;
  padding: 15px 18px;
  border-left: 3px solid var(--landing-blue);
  background: #e8f0f5;
  color: #4d5154;
  font-size: 0.77rem;
  line-height: 1.6;
}

.landing-proposal-source {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 0;
  border-bottom: 1px solid var(--landing-line);
  font: 400 0.58rem/1.3 "Fragment Mono", monospace;
}

.landing-proposal-source span {
  color: var(--landing-muted);
}

.landing-proposal-source b {
  font-weight: 400;
}

.landing-proposal-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 26px;
  border: 1px solid var(--landing-ink);
}

.landing-proposal-actions span {
  padding: 13px 10px;
  text-align: center;
  font-size: 0.66rem;
  font-weight: 600;
}

.landing-proposal-actions span:first-child {
  background: var(--landing-red);
  color: var(--landing-white);
}

.landing-proposal-actions span + span {
  border-left: 1px solid var(--landing-ink);
}

.landing-summary-row {
  min-height: 78px;
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--landing-line);
}

.landing-summary-row > span {
  color: var(--landing-red);
  font: 400 0.61rem/1 "Fragment Mono", monospace;
}

.landing-summary-row p {
  font-size: 0.8rem;
}

.landing-summary-row strong {
  font: 400 0.9rem/1 "Fragment Mono", monospace;
}

.landing-summary-check {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  padding: 17px;
  border: 1px solid var(--landing-green);
  background: #eaf3ed;
}

.landing-summary-check i {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  background: var(--landing-green);
  color: var(--landing-white);
  font-style: normal;
}

.landing-summary-check span {
  font-size: 0.76rem;
  font-weight: 600;
}

.landing-summary-check b {
  color: var(--landing-green);
  font: 400 0.58rem/1 "Fragment Mono", monospace;
}

/* Trace */
.landing-trace {
  padding: clamp(110px, 14vw, 210px) 0;
  background: var(--landing-paper);
}

.landing-trace .landing-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(550px, 1.28fr);
  align-items: center;
  gap: clamp(60px, 10vw, 150px);
}

.landing-trace h2 {
  margin-top: 30px !important;
}

.landing-trace-copy > p:not(.landing-section-label) {
  max-width: 45ch;
  margin-top: 30px !important;
  color: var(--landing-muted);
  font-size: 0.94rem;
  line-height: 1.72;
}

.landing-trace-list {
  margin-top: 42px !important;
  border-top: 1px solid var(--landing-ink);
}

.landing-trace-list div {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--landing-line);
  font-size: 0.78rem;
}

.landing-trace-list dt {
  color: var(--landing-red);
  font-family: "Fragment Mono", monospace;
}

.landing-trace-demo {
  min-height: 610px;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 96px 0.82fr;
  align-items: center;
  padding: clamp(26px, 4vw, 60px);
  background:
    linear-gradient(var(--landing-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--landing-line) 1px, transparent 1px),
    var(--landing-paper-deep);
  background-size: 28px 28px;
}

.landing-trace-document {
  min-height: 430px;
  padding: 28px;
  border: 1px solid var(--landing-ink);
  background: var(--landing-white);
  box-shadow: 10px 12px 0 rgba(18, 18, 18, 0.08);
  transform: rotate(-2deg);
}

.landing-doc-head {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--landing-ink);
  font: 400 0.6rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.1em;
}

.landing-trace-document > p {
  margin-top: 38px !important;
  font-size: 0.77rem;
  font-weight: 700;
}

.landing-doc-lines {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.landing-doc-lines i {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--landing-line);
}

.landing-doc-lines i:nth-child(2) { width: 84%; }
.landing-doc-lines i:nth-child(3) { width: 93%; }
.landing-doc-lines i:nth-child(4) { width: 62%; }

.landing-doc-highlight {
  margin-top: 50px;
  padding: 14px;
  border: 1px solid var(--landing-red);
  background: #fcecea;
}

.landing-doc-highlight span {
  display: block;
  color: var(--landing-muted);
  font-size: 0.63rem;
}

.landing-doc-highlight strong {
  display: block;
  margin-top: 9px;
  font: 400 1rem/1 "Fragment Mono", monospace;
}

.landing-trace-document small {
  display: block;
  margin-top: 58px;
  color: var(--landing-muted);
  font: 400 0.52rem/1 "Fragment Mono", monospace;
}

.landing-trace-connector {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-trace-connector i {
  width: 100%;
  height: 1px;
  background: var(--landing-red);
}

.landing-trace-connector i::after {
  position: absolute;
  right: -1px;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 1px solid var(--landing-red);
  border-right: 1px solid var(--landing-red);
  content: "";
}

.landing-trace-connector span {
  position: absolute;
  padding: 5px 8px;
  background: var(--landing-paper-deep);
  color: var(--landing-red);
  font: 400 0.52rem/1 "Fragment Mono", monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-trace-field {
  padding: 24px;
  border: 1px solid var(--landing-ink);
  background: var(--landing-white);
  box-shadow: inset 3px 0 0 var(--landing-green);
}

.landing-trace-code {
  color: var(--landing-red);
  font: 400 0.64rem/1 "Fragment Mono", monospace;
}

.landing-trace-field > p {
  margin-top: 22px !important;
  font-size: 0.78rem;
}

.landing-trace-field > strong {
  display: block;
  margin-top: 12px;
  font: 400 clamp(1.7rem, 3vw, 2.8rem)/1 "Fragment Mono", monospace;
  letter-spacing: -0.055em;
}

.landing-trace-field > strong small {
  color: var(--landing-muted);
  font-size: 0.6rem;
  letter-spacing: 0;
}

.landing-trace-field > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px solid var(--landing-line);
  font: 400 0.55rem/1.2 "Fragment Mono", monospace;
}

.landing-trace-field > div b {
  color: var(--landing-green);
  font-weight: 400;
}

/* Human control */
.landing-control {
  position: relative;
  padding: clamp(100px, 13vw, 180px) 0;
  overflow: hidden;
  border-block: 1px solid #e8c7c2;
  background: var(--landing-blush);
  color: var(--landing-ink);
}

.landing-control-grid {
  opacity: 0.09;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 88%);
  mask-image: linear-gradient(to bottom, #000, transparent 88%);
}

.landing-control .landing-shell {
  position: relative;
  z-index: 2;
}

.landing-control-head h2 {
  max-width: 1100px;
  margin-top: 30px !important;
  font-size: clamp(3rem, 6.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.064em;
  line-height: 0.95;
}

.landing-control-head h2 span {
  color: var(--landing-muted);
}

.landing-control-lines {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(80px, 11vw, 145px);
  border-top: 1px solid rgba(18, 18, 18, 0.36);
}

.landing-control-lines article {
  min-height: 250px;
  padding: 24px 28px 28px 0;
  border-bottom: 1px solid rgba(18, 18, 18, 0.14);
}

.landing-control-lines article + article {
  padding-left: 28px;
  border-left: 1px solid rgba(18, 18, 18, 0.14);
}

.landing-control-lines article > span {
  color: var(--landing-red);
  font: 400 0.62rem/1 "Fragment Mono", monospace;
}

.landing-control-lines h3 {
  margin-top: 75px !important;
  font-size: 1.2rem;
  font-weight: 600;
}

.landing-control-lines p {
  max-width: 26ch;
  margin-top: 13px !important;
  color: var(--landing-muted);
  font-size: 0.8rem;
  line-height: 1.6;
}

/* FAQ */
.landing-faq {
  padding: clamp(110px, 14vw, 200px) 0;
  background: var(--landing-paper);
}

.landing-faq-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.7fr) minmax(520px, 1.3fr);
  gap: clamp(60px, 12vw, 180px);
}

.landing-faq h2 {
  margin-top: 30px !important;
}

.landing-faq-head > p:not(.landing-section-label) {
  max-width: 33ch;
  margin-top: 28px !important;
  color: var(--landing-muted);
  font-size: 0.9rem;
}

.landing-faq-list {
  border-top: 1px solid var(--landing-ink);
}

.landing-faq details {
  border-bottom: 1px solid var(--landing-line);
}

.landing-faq summary {
  min-height: 82px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  cursor: pointer;
  font-size: clamp(0.92rem, 1.2vw, 1.08rem);
  font-weight: 500;
  list-style: none;
}

.landing-faq summary::-webkit-details-marker {
  display: none;
}

.landing-faq summary span {
  color: var(--landing-red);
  font: 400 1.2rem/1 "Fragment Mono", monospace;
  transition: transform 240ms ease;
}

.landing-faq details[open] summary span {
  transform: rotate(45deg);
}

.landing-faq details p {
  max-width: 64ch;
  padding: 0 56px 26px 0;
  color: var(--landing-muted);
  font-size: 0.84rem;
  line-height: 1.7;
}

/* Final CTA */
.landing-final {
  min-height: 680px;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 100px 0;
  background: var(--landing-red);
  color: var(--landing-white);
}

.landing-final .landing-shell {
  position: relative;
  z-index: 3;
}

.landing-final .landing-section-label-light {
  color: rgba(255, 255, 255, 0.68);
}

.landing-final .landing-section-label-light::before {
  background: var(--landing-white);
}

.landing-final h2 {
  max-width: 980px;
  margin-top: 34px !important;
  font-size: clamp(3.4rem, 7.4vw, 8.2rem);
  font-weight: 600;
  letter-spacing: -0.07em;
  line-height: 0.88;
}

.landing-final-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  margin-top: clamp(60px, 8vw, 105px);
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.55);
}

.landing-final-row p {
  max-width: 45ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

.landing-final-cross {
  position: absolute;
  right: -10vw;
  bottom: -17vw;
  width: min(52vw, 760px);
  aspect-ratio: 1;
  opacity: 0.13;
  border: 1px solid var(--landing-white);
  transform: rotate(-8deg);
}

.landing-final-cross::before,
.landing-final-cross::after {
  position: absolute;
  background: var(--landing-white);
  content: "";
}

.landing-final-cross::before {
  left: 43.5%;
  top: 20%;
  width: 13%;
  height: 60%;
}

.landing-final-cross::after {
  top: 43.5%;
  left: 20%;
  width: 60%;
  height: 13%;
}

/* Footer */
.landing-footer {
  padding: 70px 0 28px;
  border-top: 1px solid var(--landing-line);
  background: var(--landing-paper-deep);
  color: var(--landing-ink);
}

.landing-footer-main {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.landing-brand-dark {
  color: var(--landing-ink) !important;
}

.landing-footer-main > p {
  max-width: 28ch;
  color: var(--landing-muted);
  font-size: 0.83rem;
}

.landing-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
  color: var(--landing-muted);
  font-size: 0.76rem;
}

.landing-footer nav a:hover {
  color: var(--landing-red);
}

.landing-footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  margin-top: 70px;
  padding-top: 22px;
  border-top: 1px solid var(--landing-line);
  color: var(--landing-muted);
  font: 400 0.6rem/1.5 "Fragment Mono", monospace;
}

.algoria-credit {
  margin-top: 1.4rem;
  padding-top: 1rem;
  color: var(--landing-muted);
  font-size: 0.82rem;
  line-height: 1.5;
  text-align: center;
  opacity: 0.78;
}

.algoria-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Reveals: le contenu reste visible sans JavaScript. */
.has-landing-js .landing [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 760ms cubic-bezier(0.2, 0.75, 0.25, 1), transform 760ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.has-landing-js .landing [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 1180px) {
  .landing-header {
    grid-template-columns: 1fr auto;
  }

  .landing-nav {
    display: none;
  }

  .landing-hero {
    grid-template-columns: minmax(0, 0.88fr) minmax(440px, 1.12fr);
  }

  .landing-story-layout {
    grid-template-columns: minmax(280px, 0.78fr) minmax(460px, 1.22fr);
    gap: 56px;
  }

  .landing-trace .landing-shell {
    grid-template-columns: minmax(280px, 0.72fr) minmax(510px, 1.28fr);
    gap: 60px;
  }

  .landing-trace-demo {
    grid-template-columns: 1fr 58px 0.78fr;
    padding: 32px;
  }
}

@media (max-width: 980px) {
  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 50px;
    padding-top: 130px;
    padding-bottom: 100px;
  }

  .landing-hero-copy {
    max-width: 770px;
  }

  .landing-hero-stage {
    width: min(100%, 760px);
    justify-self: center;
  }

  .landing-hero-index,
  .landing-scroll-cue {
    display: none;
  }

  .landing-intro-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .landing-intro-head > p {
    max-width: 52ch;
  }

  .landing-story-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .landing-story-step {
    min-height: auto;
    padding: 60px 0;
    opacity: 1;
    border-top: 1px solid var(--landing-line);
  }

  .landing-story-sticky {
    height: auto;
    position: relative;
    top: auto;
    display: block;
  }

  .landing-story-counter,
  .landing-story-rail {
    display: none;
  }

  .landing-story-screen {
    min-height: auto;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .landing-story-chrome {
    display: none;
  }

  .landing-story-panel {
    min-height: 560px;
    position: relative;
    inset: auto;
    margin-bottom: 20px;
    padding: clamp(24px, 6vw, 52px);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: var(--landing-paper-deep);
  }

  .landing-trace .landing-shell {
    grid-template-columns: 1fr;
  }

  .landing-trace-copy {
    max-width: 690px;
  }

  .landing-trace-demo {
    width: min(100%, 760px);
    justify-self: center;
  }

  .landing-control-lines {
    grid-template-columns: repeat(2, 1fr);
  }

  .landing-control-lines article:nth-child(3) {
    border-left: 0;
  }

  .landing-faq-layout {
    grid-template-columns: 1fr;
    gap: 70px;
  }

  .landing-faq-head {
    max-width: 620px;
  }

  .landing-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .landing-footer nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }
}

@media (max-width: 700px) {
  :root {
    --landing-edge: 20px;
  }

  .landing-header {
    height: 66px;
    padding-inline: 18px;
  }

  .landing-header.is-scrolled {
    height: 60px;
  }

  .landing-brand {
    gap: 8px;
    font-size: 0.84rem;
    letter-spacing: 0.1em;
  }

  .landing-brand img {
    width: 29px;
    height: 29px;
  }

  .landing-login {
    display: none;
  }

  .landing-button-small {
    min-height: 38px;
    gap: 10px;
    padding-inline: 13px;
    font-size: 0.7rem;
  }

  .landing-hero {
    gap: 40px;
    padding-top: 112px;
    padding-bottom: 68px;
  }

  .landing-hero h1 {
    font-size: clamp(2.75rem, 13.4vw, 4.6rem);
    line-height: 0.94;
  }

  .landing-hero-lead {
    margin-top: 28px !important;
    font-size: 0.95rem;
  }

  .landing-hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .landing-hero-actions .landing-button {
    width: 100%;
  }

  .landing-text-link {
    width: fit-content;
    min-height: 40px;
  }

  .landing-private {
    align-items: flex-start;
  }

  .landing-private span {
    flex: none;
    margin-top: 5px;
  }

  .landing-hero-stage {
    width: 118%;
    max-width: none;
    margin-right: -9%;
    aspect-ratio: 0.94;
  }

  .landing-product-window {
    inset: 9% 1% 7% 3%;
  }

  .landing-sheet {
    inset: 11% 3% 9% 7%;
  }

  .landing-product-bar {
    height: 46px;
    padding-inline: 12px;
  }

  .landing-product-body {
    height: calc(100% - 46px);
    grid-template-columns: 42px 1fr;
  }

  .landing-product-nav {
    padding-top: 14px;
  }

  .landing-product-nav span {
    width: 25px;
    height: 25px;
  }

  .landing-product-content {
    padding: 18px 13px;
  }

  .landing-product-field {
    grid-template-columns: 26px 1fr auto;
    gap: 8px;
    min-height: 58px;
  }

  .landing-product-total {
    margin-top: 16px;
  }

  .landing-source-line {
    display: none;
  }

  .landing-stage-note {
    min-width: 126px;
    padding: 10px 12px;
  }

  .landing-stage-note-source {
    left: 0;
    bottom: 4%;
  }

  .landing-stage-note-progress {
    top: 8%;
    right: -1%;
  }

  .landing-intro,
  .landing-trace,
  .landing-faq {
    padding-block: 95px;
  }

  .landing-intro h2,
  .landing-trace h2,
  .landing-faq h2 {
    font-size: clamp(2.55rem, 13vw, 4.4rem);
  }

  .landing-principles {
    grid-template-columns: 1fr;
    margin-top: 65px !important;
  }

  .landing-principles li {
    min-height: 210px;
    padding: 24px 0;
  }

  .landing-principles li + li {
    padding-left: 0;
    border-left: 0;
  }

  .landing-principles h3 {
    margin-top: 52px !important;
  }

  .landing-story {
    padding-top: 95px;
  }

  .landing-story-top h2,
  .landing-control-head h2 {
    font-size: clamp(2.8rem, 13vw, 4.6rem);
  }

  .landing-story-layout {
    margin-top: 60px;
  }

  .landing-story-step {
    padding: 48px 0;
  }

  .landing-story-step h3 {
    font-size: clamp(2.2rem, 10.8vw, 3.5rem);
  }

  .landing-story-panel {
    min-height: 520px;
    padding: 24px 18px;
  }

  .landing-upload-target {
    min-height: 200px;
  }

  .landing-proposal-value {
    font-size: 2.65rem;
  }

  .landing-proposal-actions {
    grid-template-columns: 1fr;
  }

  .landing-proposal-actions span + span {
    border-top: 1px solid var(--landing-ink);
    border-left: 0;
  }

  .landing-summary-row {
    grid-template-columns: 34px 1fr auto;
  }

  .landing-summary-check {
    grid-template-columns: 32px 1fr;
  }

  .landing-summary-check b {
    grid-column: 2;
  }

  .landing-trace-demo {
    min-height: 820px;
    grid-template-columns: 1fr;
    padding: 26px;
  }

  .landing-trace-document {
    min-height: 390px;
  }

  .landing-trace-connector {
    width: 1px;
    height: 70px;
    justify-self: center;
  }

  .landing-trace-connector i {
    width: 1px;
    height: 100%;
  }

  .landing-trace-connector i::after {
    right: auto;
    left: 50%;
    top: auto;
    bottom: -1px;
    transform: translateX(-50%) rotate(135deg);
  }

  .landing-trace-connector span {
    transform: rotate(-90deg);
  }

  .landing-control {
    padding-block: 95px;
  }

  .landing-control-lines {
    grid-template-columns: 1fr;
    margin-top: 70px;
  }

  .landing-control-lines article,
  .landing-control-lines article + article {
    min-height: 210px;
    padding: 22px 0;
    border-left: 0;
  }

  .landing-control-lines h3 {
    margin-top: 54px !important;
  }

  .landing-faq-layout {
    gap: 58px;
  }

  .landing-faq summary {
    min-height: 76px;
    font-size: 0.9rem;
  }

  .landing-final {
    min-height: 620px;
    padding-block: 90px;
  }

  .landing-final h2 {
    font-size: clamp(3rem, 15vw, 5.5rem);
    line-height: 0.91;
  }

  .landing-final-row {
    align-items: stretch;
    flex-direction: column;
    gap: 30px;
    margin-top: 65px;
  }

  .landing-final-row .landing-button {
    width: 100%;
  }

  .landing-final-cross {
    right: -38vw;
    bottom: -15vw;
    width: 90vw;
  }

  .landing-footer-main {
    grid-template-columns: 1fr;
  }

  .landing-footer nav {
    grid-column: auto;
    flex-wrap: wrap;
    gap: 18px 26px;
  }

  .landing-footer-legal {
    flex-direction: column;
    gap: 10px;
    margin-top: 52px;
  }
}

@media (max-width: 430px) {
  .landing-header .landing-brand span {
    display: none;
  }

  .landing-product-state,
  .landing-product-heading b {
    display: none;
  }

  .landing-stage-note-source {
    display: none;
  }

  .landing-trace-document {
    padding: 21px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .landing *,
  .landing *::before,
  .landing *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .landing-hero-stage,
  .landing-product-window {
    transform: none !important;
  }

  .landing-scan,
  .landing-scroll-cue i::after {
    display: none;
  }

  .has-landing-js .landing [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
