/* Legal pages (mentions légales, confidentialité, conditions de commande):
   one narrow reading column on cream, same type system. Content is kept word
   for word from the previous pages. Bar: .design/bar.md */

.l-hero { background: var(--brume); padding: 48px 0 44px; }
.l-hero h1 { font-size: clamp(40px, 5vw, 68px); max-width: 16ch; }
.l-hero__lead { font-size: 19px; max-width: 620px; margin: 16px 0 0; text-wrap: pretty; }
.l-body { padding-top: 48px; padding-bottom: 88px; }

.sp-prose { max-width: 760px; font-size: 17px; line-height: 1.65; }
.sp-prose h2 { margin: 44px 0 14px; font: 900 30px/1.1 var(--sp-display); text-wrap: balance; }
.sp-prose > h2:first-child { margin-top: 0; }
.sp-prose h3 { margin: 28px 0 10px; font: 700 19px/1.3 var(--sp-body); }
.sp-prose p { margin: 0 0 14px; text-wrap: pretty; }
.sp-prose ul, .sp-prose ol { margin: 0 0 16px; padding-left: 1.3em; }
.sp-prose li { margin-bottom: 6px; }
.sp-prose a { font-weight: 700; text-underline-offset: 3px; }
.sp-prose a:focus-visible, .sp-cta-inline:focus-visible { outline: 3px solid var(--saumon); outline-offset: 3px; }
.sp-prose code { font: 700 .92em var(--sp-body); background: #fff; border-radius: 12px; padding: 1px 8px; }
.sp-facts {
  display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 0; margin: 0 0 20px;
  background: #fff; border-radius: 16px; overflow: hidden; font-size: 16px; line-height: 1.55;
}
.sp-facts dt, .sp-facts dd { margin: 0; padding: 11px 18px; border-bottom: 1px solid rgba(18, 51, 43, .12); }
.sp-facts dt { font-weight: 700; }
.sp-facts dt:last-of-type, .sp-facts dd:last-of-type { border-bottom: 0; }
.sp-table { overflow-x: auto; margin: 0 0 20px; background: #fff; border-radius: 16px; }
.sp-table table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.sp-table th, .sp-table td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid rgba(18, 51, 43, .12); }
.sp-table th { font-weight: 700; background: var(--p-wasabi); }
.sp-table tr:last-child td { border-bottom: 0; }
.sp-updated { margin-top: 40px !important; font-size: 15px; }
mark.sp-todo { background: var(--p-tamago); color: var(--nori); padding: 0 4px; border-radius: 12px; }
.sp-cta-inline {
  display: inline-flex; align-items: center; min-height: 44px; padding: 10px 20px; margin: 4px 0;
  border: 2px solid var(--nori); border-radius: 50px; background: transparent; color: var(--nori);
  font: 700 15px var(--sp-body); cursor: pointer;
}
.sp-cta-inline[hidden] { display: none; }

@media (max-width: 899.98px) {
  .l-hero { padding: 32px 0 30px; }
  .l-body { padding-top: 32px; padding-bottom: 64px; }
}
@media (max-width: 680px) {
  .sp-table table { min-width: 0; }
  .sp-table thead { display: none; }
  .sp-table tr { display: block; padding: 10px 16px; border-bottom: 1px solid rgba(18, 51, 43, .12); }
  .sp-table tr:last-child { border-bottom: 0; }
  .sp-table td { display: block; padding: 5px 0 5px 9.5em; border: 0; text-indent: -9.5em; }
  .sp-table td::before { content: attr(data-label); display: inline-block; width: 9.5em; text-indent: 0; font-weight: 700; vertical-align: top; }
  .sp-table code { background: var(--riz); }
}
@media (max-width: 560px) {
  .sp-facts { grid-template-columns: 1fr; }
  .sp-facts dt { border-bottom: 0; padding-bottom: 0; }
  .sp-facts dd { padding-top: 2px; }
}

/* ---- 404 (shares the legal stylesheet: one small page, no extra request) ---- */
.e404 { background: var(--p-tamago); }
.e404__in { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; max-width: 900px; }
.e404__doodle { width: 260px; transform: rotate(-8deg); }
.e404 h1 { font-size: clamp(96px, 16vw, 180px); }
.e404__lead { font-size: 22px; margin: 6px 0 26px; }
@media (max-width: 699.98px) {
  .e404__in { grid-template-columns: 1fr; gap: 12px; justify-items: center; text-align: center; }
  .e404__doodle { width: 160px; }
  .e404 .c-btns { justify-content: center; }
}
