/* Standalone styling for the legal pages. No JavaScript, no app bundle:
   these pages load and render on their own. */
:root {
  --navy: #12304a;
  --teal: #2f8f88;
  --ink: #3c4959;
  --rule: #dde4ee;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(80% 55% at 50% 0%, rgba(47, 143, 136, 0.07) 0%, rgba(47, 143, 136, 0) 60%),
    #eef2f7;
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 15.5px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* ---- back link, top and bottom ---- */
.lg-back {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--rule);
  border-radius: 999px;
  background: #fff;
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.lg-back:hover {
  border-color: var(--teal);
  box-shadow: 0 1px 6px rgba(18, 48, 74, 0.08);
}

.lg-nav {
  text-align: center;
  padding: 2rem 1.5rem 0;
}

.lg-nav-bottom {
  padding: 2.5rem 1.5rem 3.5rem;
}

/* ---- the page itself: a centred sheet ---- */
main {
  max-width: 48rem;
  margin: 2rem auto 0;
  background: #fff;
  border: 1px solid var(--rule);
  border-radius: 20px;
  padding: 3.25rem 3.5rem 3.5rem;
  box-shadow: 0 1px 2px rgba(18, 48, 74, 0.04), 0 12px 32px rgba(18, 48, 74, 0.06);
}

/* The title block is centred; the body text stays left-aligned so it
   remains comfortable to read. */
.lg-head {
  text-align: center;
  padding-bottom: 2rem;
  margin-bottom: 2.25rem;
  border-bottom: 1px solid var(--rule);
}

h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(27px, 4vw, 37px);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 1.14;
  color: var(--navy);
  margin: 0 0 0.6rem;
}

.lg-updated {
  margin: 0;
  font-size: 13px;
  color: #7a8798;
}

h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.014em;
  color: var(--navy);
  margin: 2.5rem 0 0.75rem;
}

h2:first-of-type {
  margin-top: 0;
}

h3 {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy);
  margin: 1.5rem 0 0.4rem;
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

li {
  margin-bottom: 0.5rem;
}

a {
  color: var(--teal);
}

strong {
  color: var(--navy);
  font-weight: 600;
}

/* Boxed detail blocks (éditeur, hébergeur, contact) */
.lg-card {
  background: #f7fafc;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--teal);
  border-radius: 12px;
  padding: 1.25rem 1.4rem;
  margin-bottom: 1rem;
}

.lg-card p:last-child {
  margin-bottom: 0;
}

/* ---- footer ---- */
.lg-foot {
  background: var(--navy);
  color: #93a8bd;
  text-align: center;
  padding: 2.25rem 1.5rem;
  font-size: 13.5px;
}

.lg-foot a {
  color: #cfe0ee;
  margin: 0 0.45rem;
  text-decoration: none;
}

.lg-foot a:hover {
  color: #fff;
  text-decoration: underline;
}

.lg-foot-copy {
  margin: 1rem 0 0;
  font-size: 12.5px;
  color: #6e8399;
}

@media (max-width: 640px) {
  main {
    margin-top: 1.25rem;
    border-radius: 16px;
    padding: 2rem 1.4rem 2.25rem;
  }
  .lg-nav {
    padding-top: 1.25rem;
  }
  h2 {
    font-size: 19px;
  }
}
