/* Emelo — design system du site vitrine (web, clair) */
:root {
  /* Marque */
  --navy: #142046;
  --navy-deep: #0C1431;
  --navy-hover: #1E2F66;
  --orange: #EA7A33;
  --orange-hover: #F28E4E;
  --orange-ink: #A8480C;
  /* orange utilisable en texte sur fond clair */
  --orange-tint: #FDF1E8;
  /* Neutres */
  --bg: #FFFFFF;
  --surface: #F4F5F7;
  --line: #E4E4E7;
  --line-strong: #CDD0D8;
  --ink: #111318;
  --ink-2: #4B5060;
  --ink-3: #5F6678;
  /* États */
  --ok: #10B981;
  --ok-ink: #066B4A;
  --warn: #F59E0B;
  --warn-ink: #8A5300;
  --err: #BA1A1A;
  /* Forme */
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 26px;
  --r-pill: 999px;
  /* Typo */
  --f-title: 'Raleway', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  /* Espace */
  --wrap: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility
}

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

p {
  margin: 0;
  text-wrap: pretty
}

a {
  color: inherit
}

ul,
ol {
  margin: 0;
  padding: 0
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--f-title);
  color: var(--navy);
  font-feature-settings: "lnum" 1, "kern" 1;
  text-wrap: balance
}

h1 {
  font-weight: 700;
  font-size: clamp(2.25rem, 1.4rem + 3.6vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -.025em
}

h2 {
  font-weight: 700;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -.02em
}

h3 {
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -.01em
}

h4 {
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.3
}

:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 6px
}

.hd :focus-visible,
.ft :focus-visible,
.on-navy :focus-visible {
  outline-color: var(--orange)
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter)
}

.lead {
  font-size: 1.1875rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 56ch
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 50;
  background: var(--orange);
  color: var(--navy);
  font: 700 15px/1 var(--f-title);
  padding: 14px 20px;
  border-radius: var(--r-pill);
  text-decoration: none
}

.skip:focus {
  left: 16px
}

/* Repère de marque : les 4 barres du mark, en puce */
.mk {
  position: relative;
  display: inline-block;
  width: 20px;
  height: 17px;
  flex: none;
  color: var(--navy)
}

.mk i {
  position: absolute;
  left: 0;
  height: 3.6px;
  border-radius: 3.6px;
  background: currentColor
}

.mk i:nth-child(1) {
  top: 0;
  width: 100%
}

.mk i:nth-child(2) {
  top: 6.7px;
  width: 63%
}

.mk i:nth-child(3) {
  top: 13.4px;
  width: 39%
}

.mk i:nth-child(4) {
  top: 13.4px;
  left: 45%;
  width: 55%;
  background: var(--orange)
}

.on-navy .mk,
.hd .mk,
.ft .mk {
  color: #fff
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font: 700 13px/1 var(--f-title);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy)
}

/* Boutons */
.btn {
  --btn-r: 25px;
  --btn-r-hover: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 50px;
  padding: 0 26px;
  border: 2px solid transparent;
  border-radius: var(--btn-r);
  font: 700 15px/1 var(--f-title);
  letter-spacing: .005em;
  text-decoration: none;
  cursor: pointer;
  transition: border-radius .45s cubic-bezier(.22, 1, .36, 1), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease)
}

.btn:hover,
.btn:focus-visible {
  border-radius: var(--btn-r-hover)
}

@media (prefers-reduced-motion:reduce) {
  .btn {
    transition: background-color .2s, color .2s, border-color .2s
  }
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  transition: transform .25s var(--ease)
}

.btn:hover svg {
  transform: translateX(3px)
}

.btn:active {
  transform: translateY(1px)
}

.btn--primary {
  background: var(--orange);
  color: var(--navy)
}

.btn--primary:hover {
  background: var(--orange-hover)
}

.btn--dark {
  background: var(--navy);
  color: #fff
}

.btn--dark:hover {
  background: var(--navy-hover)
}

.btn--line {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent
}

.btn--line:hover {
  background: var(--navy);
  color: #fff
}

.btn--sm {
  --btn-r: 21px;
  --btn-r-hover: 13px;
  height: 42px;
  padding: 0 20px;
  font-size: 14px
}

/* Lien de texte */
.lnk {
  color: var(--navy);
  font-weight: 400;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-decoration-color: var(--orange);
  text-underline-offset: 4px;
  transition: text-decoration-thickness .15s
}

.lnk:hover {
  text-decoration-thickness: 3px
}

/* En-tête */
.hd {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  color: #fff
}

.hd__in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 76px;
  display: flex;
  align-items: center;
  gap: 28px
}

.hd__logo {
  display: block;
  flex: none;
  line-height: 0;
  border-radius: 8px
}

.hd__logo img {
  height: 44px;
  width: auto
}

.hd__nav {
  margin-left: auto;
  align-self: stretch;
  display: flex;
  align-items: stretch;
  gap: 28px
}

.hd__nav ul {
  display: flex;
  height: 100%;
  gap: 4px;
  list-style: none
}

.hd__nav li {
  display: flex
}

.hd__nav ul a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font: 600 15px/1 var(--f-title);
  color: rgba(255, 255, 255, .86);
  text-decoration: none;
  border-radius: 0;
  transition: color .2s
}

.hd__nav ul a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 5px;
  border-radius: 5px 5px 0 0;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .32s var(--ease)
}

.hd__nav ul a:hover {
  color: #fff
}

.hd__nav ul a:hover::after,
.hd__nav ul a[aria-current="page"]::after {
  transform: scaleX(1)
}

.hd__nav ul a[aria-current="page"] {
  color: #fff
}

.hd__acts {
  display: flex;
  align-items: center;
  align-self: center;
  gap: 10px;
  flex: none
}

.btn--ghost {
  border-color: rgba(255, 255, 255, .4);
  color: #fff;
  background: transparent
}

.btn--ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff
}

.hd__burger {
  display: none;
  margin-left: auto;
  height: 44px;
  padding: 0 18px;
  gap: 10px;
  align-items: center;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .35);
  border-radius: var(--r-pill);
  font: 600 14px/1 var(--f-title);
  cursor: pointer
}

.hd__burger:hover {
  border-color: #fff
}

@media (max-width:980px) {
  .hd__burger {
    display: inline-flex
  }

  .hd__nav .hd__acts {
    margin-top: 24px;
    flex-wrap: wrap;
    align-self: flex-start
  }

  .hd__nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    margin: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, .14);
    padding: 8px var(--gutter) 24px;
    box-shadow: 0 18px 30px -18px rgba(12, 20, 49, .6)
  }

  .hd__nav.is-open {
    display: block
  }

  .hd__nav ul {
    flex-direction: column;
    gap: 0
  }

  .hd__nav ul a {
    height: 56px;
    padding: 0;
    font-size: 17px;
    border-bottom: 1px solid rgba(255, 255, 255, .12)
  }

  .hd__nav ul a::after {
    left: 0;
    right: auto;
    width: 36px;
    bottom: -1px;
    border-radius: 5px
  }

  .hd__nav .hd__nav-cta {
    display: block
  }
}

.hd__nav-cta {
  display: none
}

/* Fil d'Ariane */
.bc {
  background: var(--bg);
  border-bottom: 1px solid var(--line)
}

.bc ol {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  list-style: none;
  font: 400 14px/1.4 var(--f-body);
  color: var(--ink-3)
}

.bc li {
  display: flex;
  align-items: center;
  gap: 12px
}

.bc li+li::before {
  content: "";
  width: 6px;
  height: 6px;
  margin-right: 2px;
  border-top: 1.5px solid #8A91A1;
  border-right: 1.5px solid #8A91A1;
  transform: rotate(45deg)
}

.bc a {
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px
}

.bc a:hover {
  color: var(--navy);
  text-decoration-color: var(--orange)
}

.bc [aria-current="page"] {
  color: var(--ink)
}

/* Champs */
.field {
  display: flex;
  flex-direction: column;
  gap: 8px
}

.field label {
  font: 600 14px/1.2 var(--f-title);
  color: var(--navy)
}

.field input,
.field textarea {
  height: 52px;
  padding: 0 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-md);
  background: #fff;
  color: var(--ink);
  font: 400 16px/1.4 var(--f-body);
  transition: border-color .2s, box-shadow .2s
}

.field textarea {
  height: auto;
  min-height: 120px;
  padding: 14px 18px;
  resize: vertical
}

.field input::placeholder {
  color: var(--ink-3)
}

.field input:hover {
  border-color: var(--ink-3)
}

.field input:focus-visible,
.field textarea:focus-visible {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(20, 32, 70, .18)
}

.field .hint {
  font-size: 14px;
  color: var(--ink-3);
  line-height: 1.4
}

.field.is-error input {
  border-color: var(--err)
}

.field.is-error .hint {
  color: var(--err)
}

/* Étiquettes d'état */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 28px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  font: 700 12.5px/1 var(--f-title);
  letter-spacing: .02em
}

.tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor
}

.tag--ok {
  background: #E7F7F1;
  color: var(--ok-ink)
}

.tag--warn {
  background: #FEF3DD;
  color: var(--warn-ink)
}

.tag--err {
  background: #FCE9E9;
  color: var(--err)
}

.tag--brand {
  background: var(--orange-tint);
  color: var(--orange-ink)
}

/* Sections */
.sec {
  padding: 96px 0
}

.sec--surface {
  background: var(--surface)
}

.sec__head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 56px
}

/* Champ à renseigner (placeholder éditorial) */
.todo {
  display: inline;
  padding: 1px 7px;
  border-radius: 6px;
  background: var(--orange-tint);
  color: var(--orange-ink);
  font-weight: 400;
  white-space: nowrap
}

/* Pied de page */
.ft {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.6
}

.ft__grid {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 72px var(--gutter) 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  gap: 48px
}

.ft__brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start
}

.ft__brand img {
  height: 60px;
  width: auto
}

.ft__brand p {
  max-width: 34ch
}

.ft h2 {
  font: 700 13px/1 var(--f-title);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 20px
}

.ft ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px
}

.ft a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  transition: color .15s
}

.ft a:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px
}

.ft__legal {
  border-top: 1px solid rgba(255, 255, 255, .14)
}

.ft__legal-in {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 28px var(--gutter) 36px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px 48px;
  align-items: start;
  font-size: 14px;
  line-height: 1.65
}

.ft__legal p {
  max-width: 78ch
}

.ft__legal a.ft__ml {
  color: #fff;
  font-weight: 700;
  font-family: var(--f-title);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px
}

.ft__legal a.ft__ml:hover {
  text-decoration-thickness: 4px
}

.ft__copy {
  white-space: nowrap
}

.ft .todo {
  background: rgba(234, 122, 51, .16);
  color: #F7B88C
}

@media (max-width:900px) {
  .ft__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px
  }

  .ft__brand {
    grid-column: 1/-1
  }

  .ft__legal-in {
    grid-template-columns: 1fr
  }

  .ft__copy {
    white-space: normal
  }
}

@media (max-width:480px) {
  .ft__grid {
    grid-template-columns: 1fr
  }
}

/* Texte long (pages légales) */
.prose {
  max-width: 68ch
}

.prose h2 {
  font-size: 1.75rem;
  margin: 56px 0 16px;
  scroll-margin-top: 100px
}

.prose h2:first-child {
  margin-top: 0
}

.prose p {
  color: var(--ink-2);
  margin: 0 0 16px
}

.prose p strong {
  color: var(--ink);
  font-weight: 700
}

.prose ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--ink-2)
}

.prose li {
  position: relative;
  padding-left: 24px
}

.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 10px;
  height: 4px;
  border-radius: 4px;
  background: var(--orange)
}

.prose dl {
  margin: 0 0 16px;
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 0;
  border-top: 1px solid var(--line)
}

.prose dt,
.prose dd {
  margin: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--line)
}

.prose dt {
  font: 600 15px/1.5 var(--f-title);
  color: var(--navy);
  padding-right: 16px
}

.prose dd {
  color: var(--ink-2)
}

@media (max-width:620px) {
  .prose dl {
    grid-template-columns: 1fr
  }

  .prose dt {
    padding-bottom: 0;
    border-bottom: 0
  }
}

/* Bandeau d'appel */
.band {
  border-radius: var(--r-xl);
  background: var(--navy);
  color: #fff;
  padding: clamp(32px, 6vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px
}

.band h2 {
  color: #fff;
  max-width: 22ch
}

.band p {
  color: rgba(255, 255, 255, .86);
  max-width: 52ch
}

.band__act {
  display: flex;
  flex-wrap: wrap;
  gap: 14px
}

/* Questions fréquentes (details/summary natif) */
.faq {
  border-top: 1px solid var(--line);
  max-width: 820px
}

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

.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0;
  font: 600 18px/1.4 var(--f-title);
  color: var(--navy)
}

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

.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease)
}

.faq details[open] summary::after {
  transform: rotate(-135deg) translateY(-2px)
}

.faq details p {
  padding: 0 40px 24px 0;
  color: var(--ink-2);
  max-width: 64ch
}

/* Liens vers les pages liées (maillage interne) */
.rel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px
}

.rel a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 24px 26px;
  border: 1.5px solid var(--line);
  border-radius: var(--r-lg);
  text-decoration: none;
  transition: border-color .2s, background-color .2s
}

.rel a:hover {
  border-color: var(--navy);
  background: var(--surface)
}

.rel b {
  font: 700 18px/1.3 var(--f-title);
  color: var(--navy)
}

.rel span {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55
}

/* Pages de contenu : bandeau de titre + sections en deux colonnes */
.pg-band {
  background: var(--surface);
  border-bottom: 1px solid var(--line)
}

.wrap.pg-head {
  padding-top: 64px;
  padding-bottom: 72px;
  gap: 22px
}

.wrap.pg-head h1 {
  max-width: 20ch
}

.wrap.pg-sec {
  padding-top: 64px;
  padding-bottom: 40px
}

.pg-sec .prose.prose--rows {
  max-width: none;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: 64px
}

.prose.prose--rows>* {
  grid-column: 2;
  max-width: 62ch
}

.prose.prose--rows>h2 {
  grid-column: 1;
  max-width: none;
  margin: 40px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
  font-size: 1.5rem;
  line-height: 1.2
}

.prose.prose--rows>h2+* {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong)
}

.prose.prose--rows>h2:first-child,
.prose.prose--rows>h2:first-child+* {
  margin-top: 0
}

@media (max-width:800px) {
  .pg-sec .prose.prose--rows {
    display: block
  }

  .prose.prose--rows>h2+* {
    border-top: 0;
    padding-top: 0;
    margin-top: 16px
  }

  .prose.prose--rows>h2:first-child+* {
    margin-top: 16px
  }
}

/* En-tête sans menu : actions collées à droite */
.hd__in>.hd__acts {
  margin-left: auto
}

@media (max-width:560px) {
  .hd__in {
    gap: 12px
  }

  .hd__logo img {
    height: 36px
  }

  .hd__in>.hd__acts {
    gap: 8px
  }

  .hd__in>.hd__acts .btn--sm {
    padding: 0 12px;
    height: 38px;
    font-size: 13px
  }
}

/* Accueil */
.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr));
  gap: 64px;
  align-items: center;
  padding-top: 88px;
  padding-bottom: 104px
}

.hero__txt {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 28px
}

.hero__act {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px
}

.shot {
  display: block;
  aspect-ratio: 5/6;
  max-height: 600px;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: left top;
  border-radius: var(--r-xl);
  border: 1px solid var(--line-strong)
}

.cols3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 56px
}

.col {
  position: relative;
  padding-top: 28px;
  border-top: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px
}

.col::before {
  content: "";
  position: absolute;
  left: 0;
  top: -3px;
  width: 48px;
  height: 5px;
  border-radius: 5px;
  background: var(--orange)
}

.col__n {
  font: 700 14px/1 var(--f-title);
  color: var(--orange-ink);
  font-feature-settings: "lnum" 1
}

.col p {
  color: var(--ink-2)
}

@media (max-width:700px) {
  .sec {
    padding: 64px 0
  }

  .hero {
    padding-top: 48px;
    padding-bottom: 64px;
    gap: 40px
  }
}

/* Pages internes */
.wrap.pg-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start
}

/* Contact */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: 64px 88px;
  align-items: start;
  padding-top: 72px;
  padding-bottom: 112px
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px
}

.form .full {
  grid-column: 1/-1
}

.form .consent {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-3);
  max-width: 60ch
}

.form-status {
  margin: 0;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--orange-tint);
  color: var(--navy);
  font-size: 15px;
  line-height: 1.5
}

.aside {
  display: flex;
  flex-direction: column;
  gap: 36px
}

.aside h2 {
  font-size: 1.25rem
}

.aside ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
  color: var(--ink-2)
}

.aside p {
  color: var(--ink-2);
  margin-top: 14px
}

.aside>div {
  padding-top: 24px;
  border-top: 1px solid var(--line-strong)
}

@media (max-width:900px) {
  .contact {
    grid-template-columns: 1fr;
    padding-bottom: 72px
  }
}

@media (max-width:560px) {
  .form {
    grid-template-columns: 1fr
  }
}

/* Mentions légales */
.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 80px;
  align-items: flex-start;
  padding-top: 56px;
  padding-bottom: 112px
}

.toc {
  flex: 0 1 240px;
  position: sticky;
  top: 104px
}

.toc h2 {
  font: 700 13px/1 var(--f-title);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 18px
}

.toc ol {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: t
}

.toc li {
  counter-increment: t
}

.toc a {
  display: flex;
  gap: 12px;
  padding: 8px 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: none
}

.toc a::before {
  content: counter(t, decimal-leading-zero);
  font: 700 13px/1.6 var(--f-title);
  color: var(--orange-ink);
  font-feature-settings: "lnum" 1
}

.toc a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 5px
}

.legal__body {
  flex: 999 1 520px;
  min-width: 0
}

.legal-meta {
  font-size: 14px;
  color: var(--ink-3)
}

@media (max-width:900px) {
  .toc {
    position: static;
    flex-basis: 100%
  }

  .legal {
    padding-bottom: 72px
  }
}

/* 404 */
.err {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding: 96px 0 120px
}

.err .lead {
  margin-top: 0
}