/* Shared shell for every interior page — legal, services, anything that is
   mostly prose.
   They load meridian.css for the tokens, then this for a reading layout —
   the homepage's rail, sections and counters have nothing to do here. */

.legal { max-width: 68ch; margin-inline: auto; padding: clamp(48px, 8vw, 96px) var(--pad) 96px; }

.legal__back { display: inline-flex; align-items: center; gap: 8px; text-decoration: none;
  color: var(--accent2); font-size: .88rem; margin-bottom: 34px; }
.legal__back:hover { color: var(--ink); }

.legal__mark { width: 34px; height: 34px; margin-bottom: 20px; }

.legal h1 { font-family: var(--disp); font-weight: 300; letter-spacing: -.03em;
  font-size: clamp(2rem, 5vw, 2.9rem); line-height: 1.1; margin: 0 0 10px; }
.legal .updated { color: var(--faint); font-size: .82rem; text-transform: uppercase;
  letter-spacing: .16em; margin: 0 0 40px; }

.legal h2 { font-family: var(--disp); font-weight: 400; letter-spacing: -.02em;
  font-size: 1.3rem; line-height: 1.25; margin: 42px 0 12px; }
.legal h2 span { background: none; -webkit-text-fill-color: currentColor; color: inherit; }

.legal p, .legal li { color: var(--soft); font-size: 1rem; line-height: 1.75; }
.legal p { margin: 0 0 1em; max-width: none; }
.legal strong { color: var(--ink); font-weight: 500; }
.legal a { color: var(--accent2); }

.legal ul { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 9px; }
.legal li { position: relative; padding-left: 20px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .8em; width: 9px; height: 1px;
  background: linear-gradient(90deg, var(--accent), var(--accent2)); }

/* Key/value block for the third parties table — reads better than prose for
   "who gets what and why". */
.legal dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 22px;
  margin: 0 0 1.4em; padding: 20px 22px; border: 1px solid var(--line);
  border-radius: 14px; background: var(--glass); }
.legal dt { font-weight: 500; color: var(--ink); font-size: .95rem; }
.legal dd { margin: 0; color: var(--soft); font-size: .95rem; }
@media (max-width: 560px) {
  .legal dl { grid-template-columns: 1fr; gap: 4px 0; }
  .legal dd { margin-bottom: 12px; }
}

.legal__foot { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line);
  display: flex; gap: 18px; flex-wrap: wrap; font-size: .88rem; }
.legal__foot a { color: var(--soft); text-decoration: none; }
.legal__foot a:hover { color: var(--accent2); }

/* ── Service pages ─────────────────────────────────────────────────
   Same reading column as the legal pages; these add the furniture a sales
   page needs and a legal page does not. */
.legal__kicker { font-family: var(--text); text-transform: uppercase; letter-spacing: .2em;
  font-size: .62rem; color: var(--accent2); margin: 0 0 .7rem; }

/* Lead paragraph carries more weight than body copy without becoming a heading. */
.lead { font-size: 1.12rem; line-height: 1.65; color: var(--ink); margin-bottom: 1.4em; }

/* "Typical work" / "What you get" blocks. */
.card { border: 1px solid var(--line); border-radius: 14px; background: var(--glass);
  padding: 1.1rem 1.3rem; margin: 0 0 1.4em; }
.card h3 { font-family: var(--disp); font-weight: 500; font-size: 1rem; letter-spacing: -.01em;
  color: var(--ink); margin: 0 0 .6rem; }
.card ul { margin-bottom: 0; }

/* Worked examples read as evidence, so they get a quieter, denser treatment. */
.eg { display: grid; gap: 2px; margin: 0 0 1.4em; }
.eg__row { display: grid; grid-template-columns: 8.5rem minmax(0,1fr); gap: 0 1rem;
  padding: .7rem 1rem; border: 1px solid var(--line); background: var(--glass); }
.eg__row:first-child { border-radius: 12px 12px 0 0; }
.eg__row:last-child { border-radius: 0 0 12px 12px; }
.eg__row + .eg__row { border-top: 0; }
.eg__k { font-family: var(--text); text-transform: uppercase; letter-spacing: .14em;
  font-size: .6rem; color: var(--faint); padding-top: .35em; }
.eg__v { color: var(--soft); font-size: .94rem; }
@media (max-width: 560px) {
  .eg__row { grid-template-columns: 1fr; gap: .25rem; }
}

/* End-of-page call to action. */
.cta { margin: 2.6rem 0 0; padding: 1.4rem 1.5rem; border: 1px solid var(--line);
  border-radius: 16px; background: var(--bg2);
  display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.cta p { margin: 0; flex: 1 1 18rem; color: var(--soft); font-size: .96rem; }
.cta p b { color: var(--ink); display: block; font-weight: 600; font-size: 1.05rem;
  font-family: var(--disp); letter-spacing: -.01em; margin-bottom: .2rem; }

/* Services hub grid. */
.svcs { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.svcs li { padding: 0; }
.svcs li::before { display: none; }
.svcs a { display: block; padding: 1.05rem 1.25rem; text-decoration: none;
  border: 1px solid var(--line); border-radius: 14px; background: var(--glass);
  transition: border-color .3s var(--ease); }
.svcs a:hover { border-color: var(--accent); }
.svcs b { display: block; font-family: var(--disp); font-weight: 500; font-size: 1.05rem;
  letter-spacing: -.01em; color: var(--ink); margin-bottom: .2rem; }
.svcs span { color: var(--soft); font-size: .93rem; }
.svcs em { font-style: normal; color: var(--faint); font-size: .82rem; }
