/* =========================================================================
   Legal pages — layered on ../styles.css, which supplies the tokens, nav,
   buttons and footer. Nothing here restates those.

   These are documents, not marketing: the measure is narrow, the rhythm is
   even, and mint appears only on the accent word, the rules and links. The
   text itself is never restyled for effect.
   ========================================================================= */

.lshell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 48rem;
  margin-inline: auto;
  padding: 9rem var(--gutter) 4rem;
}

/* ------------------------------------------------------------------ head */
.lhead { padding-bottom: 2.25rem; border-bottom: 1px solid rgba(255,255,255,.10); }

.lhead__title {
  margin: .9rem 0 0;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800; letter-spacing: -.035em; line-height: 1.04;
}
.lhead__title em { font-style: italic; font-weight: 300; color: var(--mint); }

.lhead__app {
  margin: 1.1rem 0 0;
  font-size: .95rem; color: var(--mutedd);
}

.lhead__stamp {
  margin: 1.5rem 0 0;
  font-size: .66rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted);
}

/* the pair of documents, so you can cross over without going back */
.lswitch { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.75rem; }
.lswitch a,
.lswitch span {
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-size: .78rem; font-weight: 600; letter-spacing: .02em;
  text-decoration: none;
}
.lswitch a {
  color: var(--mutedd);
  border: 1px solid rgba(255,255,255,.16);
  transition: color .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.lswitch a:hover { color: var(--mint); border-color: rgba(184,247,228,.45); background: rgba(184,247,228,.05); }
.lswitch span {
  color: var(--ink);
  background: var(--mint);
  border: 1px solid var(--mint);
}

/* ----------------------------------------------------------------- prose */
.lprose { margin-top: 2.75rem; color: var(--mutedd); font-size: 1rem; line-height: 1.75; }
.lprose > :first-child { margin-top: 0; }

.lprose .lead {
  font-size: 1.08rem;
  color: var(--white);
  font-weight: 300;
  line-height: 1.65;
  margin-bottom: 2.25rem;
}

.lprose p { margin: 0 0 1.25rem; }

.lprose h2 {
  margin: 2.75rem 0 1rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; line-height: 1.25;
  color: var(--white);
}
.lprose h3 {
  margin: 1.9rem 0 .7rem;
  font-size: 1rem; font-weight: 600; letter-spacing: -.01em;
  color: var(--white);
}

.lprose strong { color: var(--white); font-weight: 600; }
.lprose em { font-style: italic; }

.lprose a {
  color: var(--mint);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(184,247,228,.4);
  transition: text-decoration-color .3s var(--ease);
}
.lprose a:hover { text-decoration-color: var(--mint); }

.lprose ul, .lprose ol { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.lprose li { margin-bottom: .5rem; }
.lprose ul li::marker { color: var(--mint); }
.lprose ol li::marker { color: var(--mint); font-weight: 600; }

.lprose blockquote {
  margin: 1.75rem 0;
  padding: .2rem 0 .2rem 1.4rem;
  border-left: 3px solid var(--mint);
  color: var(--white);
  font-style: italic; font-weight: 300;
}

.lprose table { width: 100%; border-collapse: collapse; margin: 1.75rem 0; font-size: .92rem; }
.lprose th, .lprose td { padding: .7rem .8rem; border-bottom: 1px solid rgba(255,255,255,.09); text-align: left; }
.lprose th { color: var(--white); font-weight: 600; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; }

/* --------------------------------------------------------------- the end */
.lfoot {
  margin-top: 3.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.10);
  display: flex; flex-wrap: wrap; align-items: center; gap: 1rem;
}
.lfoot__back {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 600;
  color: var(--mutedd); text-decoration: none;
  transition: color .3s var(--ease);
}
.lfoot__back-arrow { display: inline-block; transition: transform .4s var(--ease-out); }
.lfoot__back:hover { color: var(--mint); }
.lfoot__back:hover .lfoot__back-arrow { transform: translateX(-4px); }
