:root {
  --bg: #07090b;
  --ink: #f3f0e8;
  --muted: #a8adb3;
  --accent: #ff4b3e;
  --warm: #d88942;
  --gold: #e0a153;
  --gold-soft: rgba(224, 161, 83, .62);
  --line: rgba(255, 255, 255, .18);
  --header-h: 72px;

  /* Durée des scènes ordinaires : environ deux hauteurs d'écran. */
  --scene-depth: 185dvh;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  overflow-x: hidden;
}

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

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

/* -------------------------------------------------------------------------- */
/* Header                                                                     */
/* -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  background: linear-gradient(to bottom, rgba(4, 5, 7, .82), rgba(4, 5, 7, 0));
  pointer-events: none;
}

.site-header a {
  pointer-events: auto;
}

.brand {
  font-weight: 900;
  letter-spacing: .18em;
  font-size: .9rem;
}

.site-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.buy-link {
  border: 1px solid rgba(255, 255, 255, .5);
  padding: 10px 14px;
  border-radius: 999px;
}

/* -------------------------------------------------------------------------- */
/* Base scenes                                                                */
/* -------------------------------------------------------------------------- */

.scene {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  isolation: isolate;
}

.scene--dark {
  background: #07090b;
}

/*
 * Scènes narratives ordinaires.
 * La section fournit la profondeur de scroll, tandis que .scene-frame reste
 * collé au viewport. L'image et le texte ne montent donc jamais vers le haut :
 * GSAP fait entrer le texte horizontalement, le laisse respirer, puis le fait
 * sortir par le côté opposé avant la scène suivante.
 */
.image-scene {
  --scene-x: 50%;
  --scene-y: 50%;
  --scene-veil: linear-gradient(to bottom, rgba(0, 0, 0, .10), rgba(0, 0, 0, .22));
  min-height: 185vh; /* fallback */
  min-height: var(--scene-depth);
  background: #050607;
  overflow: visible;
}

.scene-frame {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  isolation: isolate;
  background: #050607;
}

.scene-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--scene-veil), var(--bg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: var(--scene-x) var(--scene-y);
  transform: none;
  transform-origin: center;
  will-change: transform, background-position;
}

/* Liseré BioNick : fin, orange/doré, toujours fixé au bord du viewport. */
.scene-frame::before,
.scene-frame::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(160, 82, 24, .20) 8%,
    rgba(204, 126, 46, .72) 30%,
    rgba(241, 181, 95, .98) 50%,
    rgba(204, 126, 46, .72) 70%,
    rgba(160, 82, 24, .20) 92%,
    transparent 100%
  );
  box-shadow: 0 0 9px rgba(224, 145, 61, .24);
}

.scene-frame::before { top: 0; }
.scene-frame::after { bottom: 0; }

/* Les voiles historiques restent dans le HTML, mais le gradient est maintenant
   intégré dans .scene-media afin de ne pas interférer avec le texte. */
.scene-frame > .veil {
  display: none;
}

.image-scene:has(.veil--left) {
  --scene-veil: linear-gradient(
    90deg,
    rgba(3, 4, 6, .90) 0%,
    rgba(3, 4, 6, .62) 27%,
    rgba(3, 4, 6, .15) 53%,
    rgba(3, 4, 6, 0) 69%
  );
}

.image-scene:has(.veil--right) {
  --scene-veil: linear-gradient(
    270deg,
    rgba(3, 4, 6, .90) 0%,
    rgba(3, 4, 6, .62) 27%,
    rgba(3, 4, 6, .15) 53%,
    rgba(3, 4, 6, 0) 69%
  );
}

.image-scene:has(.veil--bottom) {
  --scene-veil: linear-gradient(
    0deg,
    rgba(3, 4, 6, .92) 0%,
    rgba(3, 4, 6, .38) 30%,
    rgba(3, 4, 6, .08) 56%,
    transparent 72%
  );
}

/* Le bloc texte est lui aussi dans le viewport sticky. Il ne défile jamais
   verticalement : seul son axe X + son opacité sont pilotés par GSAP. */
.scene-frame > .story-copy {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 3;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  will-change: transform, opacity, filter;
}

.scene-frame > .copy--left { left: 0; }
.scene-frame > .copy--right {
  right: 0;
  align-items: flex-end;
}
.scene-frame > .copy--center {
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  align-items: center;
}

/* Cadrages individuels : modifiables sans toucher au JavaScript. */
#avant { --scene-x: 50%; --scene-y: 50%; }
#accident { --scene-x: 50%; --scene-y: 50%; }
#n4 { --scene-x: 50%; --scene-y: 50%; }
#enrages { --scene-x: 50%; --scene-y: 50%; }
#samantha { --scene-x: 52%; --scene-y: 50%; }
#humain { --scene-x: 50%; --scene-y: 50%; }
#partir { --scene-x: 50%; --scene-y: 48%; }

/* -------------------------------------------------------------------------- */
/* Textes                                                                     */
/* -------------------------------------------------------------------------- */

.copy {
  position: relative;
  z-index: 3;
  width: min(700px, 88vw);
  padding: 8vw 6vw;
}

.copy--left {
  margin-right: auto;
}

.copy--right {
  margin-left: auto;
  text-align: right;
}

.copy--center {
  margin-inline: auto;
  text-align: center;
}

.copy--bottom {
  justify-content: flex-end !important;
  padding-bottom: 10vh;
}

.copy h2,
.copy p,
.copy .chapter {
  text-shadow: 0 2px 22px rgba(0, 0, 0, .72);
}

.chapter {
  display: block;
  margin-bottom: 18px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .22em;
  color: #d1d5db;
}

.chapter.danger,
.danger {
  color: #ff665d;
}

.copy h2 {
  margin: 0;
  font-size: clamp(2rem, 5.4vw, 6.4rem);
  line-height: 1;
  letter-spacing: -.04em;
  text-wrap: balance;
}

.copy p {
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 1.8vw, 1.6rem);
  line-height: 1.45;
  color: #d3d3d3;
}

/* -------------------------------------------------------------------------- */
/* Intro                                                                      */
/* -------------------------------------------------------------------------- */

.intro {
  display: grid;
  place-items: center;
  isolation: isolate;
  background: radial-gradient(circle at 50% 45%, #27150d 0, #0c0b0b 34%, #030405 76%);
}

.intro::before {
  content: "";
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle, rgba(220, 112, 38, .15), transparent 48%);
  filter: blur(60px);
  animation: breath 7s ease-in-out infinite alternate;
}

.intro-noise {
  position: absolute;
  inset: 0;
  opacity: .09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.intro-copy {
  text-align: center;
  z-index: 2;
  padding: 5vw;
}

.eyebrow {
  font-size: .72rem;
  letter-spacing: .26em;
  color: #b7b0a7;
}

.intro h1 {
  margin: 12px 0 18px;
  font-size: clamp(4rem, 14vw, 12rem);
  line-height: .8;
  letter-spacing: -.05em;
}

.intro-tagline {
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.7rem);
  font-style: italic;
  color: #d6c7b8;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  gap: 10px;
  justify-items: center;
  z-index: 3;
  font-size: .62rem;
  letter-spacing: .24em;
  color: #a4a7aa;
}

.scroll-cue i {
  width: 1px;
  height: 48px;
  background: linear-gradient(#fff, transparent);
  animation: scrollLine 1.8s ease-in-out infinite;
}

/* -------------------------------------------------------------------------- */
/* Ravenwood : une image fixe, deux temps narratifs horizontaux               */
/* -------------------------------------------------------------------------- */

.ravenwood-story {
  position: relative;
  height: 230vh;
  height: 230dvh;
  background: #0b0c0f;
  overflow: visible;
}

.ravenwood-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  background-image: var(--bg);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  isolation: isolate;
}

.ravenwood-sticky::before,
.ravenwood-sticky::after,
.rabia-sticky::before,
.rabia-sticky::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(184, 105, 37, .48),
    rgba(242, 183, 96, .96),
    rgba(184, 105, 37, .48),
    transparent
  );
  box-shadow: 0 0 9px rgba(224, 145, 61, .24);
}

.ravenwood-sticky::before,
.rabia-sticky::before { top: 0; }
.ravenwood-sticky::after,
.rabia-sticky::after { bottom: 0; }

.ravenwood-sticky > .veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ravenwood-copy {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  z-index: 4;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  will-change: transform, opacity, filter;
}

.veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.veil--left {
  background: linear-gradient(90deg, rgba(3, 4, 6, .88) 0%, rgba(3, 4, 6, .55) 30%, rgba(3, 4, 6, 0) 62%);
}

.veil--right {
  background: linear-gradient(270deg, rgba(3, 4, 6, .9) 0%, rgba(3, 4, 6, .55) 30%, rgba(3, 4, 6, 0) 62%);
}

.veil--bottom {
  background: linear-gradient(0deg, rgba(3, 4, 6, .88) 0%, rgba(3, 4, 6, .15) 42%, transparent 70%);
}

/* -------------------------------------------------------------------------- */
/* Rabia Px : exception volontaire, séquence beaucoup plus longue             */
/* -------------------------------------------------------------------------- */

.rabia-section {
  height: 500vh;
  height: 500dvh;
  background: #050607;
}

.rabia-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: #050607;
}

/* Rabia garde le principe du liseré mais passe vers un orange/rouge d'alerte. */
.rabia-sticky::before,
.rabia-sticky::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(156, 53, 26, .45),
    rgba(255, 92, 56, .96),
    rgba(230, 139, 63, .78),
    transparent
  );
  box-shadow: 0 0 12px rgba(255, 79, 48, .34);
}

.rabia-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .65s ease, transform 1.2s ease;
}

.rabia-layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.rabia-shadow {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 4, 6, .97) 0%, rgba(2, 4, 6, .89) 26%, rgba(2, 4, 6, .38) 54%, rgba(2, 4, 6, .05) 75%),
    linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 55%);
}

.rabia-hud {
  position: absolute;
  z-index: 5;
  left: 5vw;
  top: 50%;
  transform: translateY(-50%);
  width: min(600px, 88vw);
  padding: 34px 34px 28px;
  border: 1px solid rgba(255, 90, 78, .25);
  background: rgba(4, 6, 8, .58);
  backdrop-filter: blur(9px);
  box-shadow: 0 0 80px rgba(0, 0, 0, .55);
}

.rabia-hud::before,
.rabia-hud::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-color: rgba(255, 77, 66, .65);
}

.rabia-hud::before {
  left: -1px;
  top: -1px;
  border-left: 2px solid;
  border-top: 2px solid;
}

.rabia-hud::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid;
  border-bottom: 2px solid;
}

.alert {
  margin: 0 0 12px;
  color: #ff5b51;
  font-size: clamp(.8rem, 1.25vw, 1rem);
  letter-spacing: .22em;
}

.rabia-hud h2 {
  font-size: clamp(4rem, 8vw, 8.7rem);
  line-height: .8;
  letter-spacing: -.06em;
  margin: 0 0 34px;
  text-transform: uppercase;
}

.hud-label,
.hud-foot {
  font-size: .64rem;
  letter-spacing: .2em;
  color: #c7c7c7;
}

.counter-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 14px 0 20px;
}

.biohazard {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid rgba(255, 255, 255, .3);
  font-size: 2.2rem;
  color: #d3d3d3;
}

#rabiaCounter {
  font-family: Consolas, ui-monospace, monospace;
  font-weight: 500;
  font-size: clamp(2.6rem, 5.5vw, 5.8rem);
  color: #ff554a;
    letter-spacing: -0.04em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  max-width: 100%;
    word-spacing: -0.25em;
}


.progress {
  height: 4px;
  background: rgba(255, 255, 255, .14);
  overflow: hidden;
  margin-top: 26px;
}

.progress span {
  display: block;
  width: 0;
  height: 100%;
  background: #ff4f45;
  box-shadow: 0 0 18px rgba(255, 79, 69, .75);
}

.hud-foot {
  margin: 9px 0 0;
  color: #ff5b51;
}

.rabia-stage-label {
  position: absolute;
  z-index: 5;
  right: 4vw;
  bottom: 5vh;
  font-size: .66rem;
  letter-spacing: .2em;
  color: #d7d7d7;
  background: rgba(0, 0, 0, .38);
  padding: 10px 13px;
  border-left: 2px solid #ff4f45;
}

/* -------------------------------------------------------------------------- */
/* Lecture / livre                                                            */
/* -------------------------------------------------------------------------- */

.reading {
  display: grid;
  place-items: center;
  padding: 8vw;
}

.reading-card {
  max-width: 780px;
  text-align: center;
  padding: 8vh 7vw;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .01));
}

.reading-card h2 {
  font-size: clamp(2.8rem, 6vw, 6rem);
  margin: 0 0 24px;
  letter-spacing: -.04em;
}

.reading-card p {
  color: #b7bbc0;
  line-height: 1.8;
  margin: 0 auto 36px;
  max-width: 560px;
}

.book-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 6vw;
  padding: 10vh 9vw;
  background: radial-gradient(circle at 78% 48%, rgba(184, 78, 23, .24), transparent 28%), #07090b;
}

.book-copy h2 {
  font-size: clamp(4.5rem, 10vw, 10rem);
  line-height: .82;
  margin: 8px 0 12px;
  letter-spacing: -.05em;
}

.author {
  font-size: 1rem;
  letter-spacing: .28em;
  color: #d08c55;
}

.book-description {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 560px;
  color: #b9bdc2;
  margin: 32px 0;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  background: #f0ebe2;
  color: #111;
  font-weight: 800;
  text-transform: uppercase;
  font-size: .72rem;
  letter-spacing: .08em;
  border: 1px solid #f0ebe2;
  transition: .25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .35);
}

.button--ghost {
  background: transparent;
  color: #f0ebe2;
}

.text-link {
  padding: 14px 8px;
  font-size: .78rem;
  color: #d2d2d2;
}

.book-cover-wrap {
  display: grid;
  place-items: center;
  perspective: 900px;
}

.book-cover {
  width: min(420px, 78vw);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  box-shadow: 0 42px 90px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .12);
  transform: rotateY(-7deg) rotateX(1.5deg);
}

footer {
  min-height: 110px;
  padding: 30px 5vw;
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: #858a90;
  font-size: .72rem;
  letter-spacing: .08em;
}

footer strong {
  color: #e7e3db;
  letter-spacing: .2em;
}

/* -------------------------------------------------------------------------- */
/* Animations                                                                 */
/* -------------------------------------------------------------------------- */

@keyframes breath {
  to {
    transform: scale(1.13);
    opacity: .72;
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(.2);
    transform-origin: top;
    opacity: .2;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
  100% {
    transform: scaleY(.1);
    transform-origin: bottom;
    opacity: .1;
  }
}

/* -------------------------------------------------------------------------- */
/* Mobile                                                                     */
/* -------------------------------------------------------------------------- */

@media (max-width: 800px) {
  :root {
    --header-h: 62px;
    /* Un peu plus court sur téléphone pour éviter un scroll trop laborieux. */
    --scene-depth: 155dvh;
  }

  .site-header {
    padding: 0 20px;
  }

  .site-header nav a:first-child {
    display: none;
  }

  .copy {
    padding: 12vh 7vw 9vh;
  }

  .copy--right {
    text-align: left;
    margin-left: 0;
  }

  .image-scene > .copy--right {
    align-items: flex-start;
  }

  .copy--bottom {
    padding-bottom: 9vh;
  }

  .copy h2 {
    font-size: clamp(2.5rem, 11vw, 4.8rem);
  }

  .scene-media {
    transform:none;
  }

  .image-scene:has(.veil--right),
  .image-scene:has(.veil--left) {
    --scene-veil: linear-gradient(90deg, rgba(3, 4, 6, .82), rgba(3, 4, 6, .18) 76%);
  }

  .ravenwood-story {
    height: 205dvh;
  }

  .ravenwood-copy {
    text-align: left;
    align-items: flex-start;
  }

  .rabia-shadow {
    background: linear-gradient(0deg, rgba(2, 4, 6, .92) 0%, rgba(2, 4, 6, .62) 52%, rgba(2, 4, 6, .15) 82%);
  }

  .rabia-hud {
    top: auto;
    bottom: 7vh;
    transform: none;
    left: 5vw;
    width: 90vw;
    padding: 22px;
  }

  .rabia-hud h2 {
    font-size: clamp(3.2rem, 17vw, 5.7rem);
    margin-bottom: 24px;
  }

  #rabiaCounter {
    font-size: clamp(2.1rem, 10vw, 3.7rem);
  }

  .biohazard {
    width: 50px;
    height: 50px;
    font-size: 1.7rem;
  }

  .rabia-stage-label {
    right: auto;
    left: 5vw;
    top: 11vh;
    bottom: auto;
  }

  .book-section {
    grid-template-columns: 1fr;
    padding: 12vh 7vw;
    text-align: center;
  }

  .book-description {
    margin: 28px auto;
  }

  .actions {
    justify-content: center;
  }

  .book-cover-wrap {
    order: -1;
    margin-bottom: 4vh;
  }
}

/* -------------------------------------------------------------------------- */
/* Reduced motion                                                             */
/* -------------------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .story-copy,
  .ravenwood-copy {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

.lower {
    text-transform: lowercase;
}


/* -------------------------------------------------------------------------- */
/* Mentions légales                                                           */
/* -------------------------------------------------------------------------- */

footer a {
  color: inherit;
  transition: color .2s ease;
}

footer a:hover {
  color: #e7e3db;
}

.legal-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(184, 78, 23, .20), transparent 28%),
    radial-gradient(circle at 12% 70%, rgba(224, 161, 83, .07), transparent 34%),
    #07090b;
}

.legal-main {
  min-height: 100vh;
}

.legal-hero {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-h) + 8vh) 9vw 8vh;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
}

.legal-hero::after {
  content: "BIONICK";
  position: absolute;
  right: -1vw;
  bottom: -4vw;
  font-size: clamp(7rem, 22vw, 22rem);
  line-height: .72;
  font-weight: 900;
  letter-spacing: -.07em;
  color: rgba(255, 255, 255, .018);
  pointer-events: none;
}

.legal-hero h1 {
  margin: 14px 0 24px;
  max-width: 900px;
  font-size: clamp(4.2rem, 11vw, 10rem);
  line-height: .78;
  letter-spacing: -.06em;
  text-transform: uppercase;
}

.legal-intro {
  max-width: 650px;
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  font-style: italic;
  line-height: 1.55;
  color: #c8b9ab;
}

.legal-content {
  width: min(1180px, 88vw);
  margin: 0 auto;
  padding: 8vh 0 12vh;
}

.legal-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 42px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.legal-number {
  padding-top: 8px;
  color: #d08c55;
  font-family: Consolas, ui-monospace, monospace;
  font-size: .78rem;
  letter-spacing: .18em;
}

.legal-card h2 {
  margin: 0 0 18px;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  letter-spacing: -.035em;
}

.legal-card p {
  max-width: 840px;
  margin: 0 0 16px;
  color: #b9bdc2;
  font-size: 1rem;
  line-height: 1.8;
}

.legal-card strong {
  color: #ece8df;
}

.legal-card a {
  color: #e0a153;
  text-decoration: underline;
  text-decoration-color: rgba(224, 161, 83, .35);
  text-underline-offset: 4px;
}

.legal-placeholder {
  padding: 16px 18px;
  border-left: 2px solid rgba(224, 161, 83, .72);
  background: rgba(224, 161, 83, .05);
}

.legal-note {
  margin: 42px 0 0;
  color: #777d84;
  font-size: .78rem;
  line-height: 1.7;
  letter-spacing: .05em;
}

@media (max-width: 700px) {
  .legal-hero {
    min-height: 54vh;
    padding-inline: 7vw;
  }

  .legal-content {
    width: 86vw;
  }

  .legal-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 34px 0;
  }

  .legal-number {
    padding-top: 0;
  }
}
