/* vespertin.io v2 — inner pages, without the layouts a machine reaches for first (Marc, 12 Nov: « optimise toutes les
   mises en forme que les LLM utilisent trop souvent »). Measured over the 177 pages before this file: 741 grids of
   equal boxed cards (234 of exactly three), 58 centred closing bands, 889 sections stacking a label, a two-line
   heading and a lead. Three changes, inner pages only (body.inner); remove this file's <link> to go back. */

/* 1 · the grid of boxed cards becomes columns under a rule: no box, no fill, the text sits on the page */
/* not on the cobalt bands (.sk-dark): there the cards carry their own ground and ink */
body.v1.inner section:not(.sk-dark) .sk-cards{gap:0 32px;background:none;border:0}
body.v1.inner section:not(.sk-dark) .sk-card{background:none;min-height:0;padding:16px 0 36px;border-top:1px solid var(--c-line-strong)}
body.v1.inner section:not(.sk-dark) .sk-card-todo{min-height:0}

/* 2 · the closing band: the line on the left, on the text column, its button on the right; no centred slogan */
body.v1.inner .sk-final{text-align:left;padding:clamp(56px,6vw,104px) 0}
body.v1.inner .sk-final .in{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:24px 48px}
body.v1.inner .sk-final h2{margin:0;font-size:clamp(40px,5.4vw,92px)}
body.v1.inner .sk-final .btns{margin-top:0;justify-content:flex-start}

/* 3 · a section's opening: the heading on the left, its lead on the right, set on the heading's last line (the
   home hero's own arrangement) instead of label, heading and lead stacked down the left edge */
@media (min-width:1100px){
  body.v1.inner .sk-sec > .in:has(> h2.sk-h + p.lead){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:48px}
  body.v1.inner .sk-sec > .in:has(> h2.sk-h + p.lead) > *{grid-column:1 / -1;min-width:0}
  body.v1.inner .sk-sec > .in:has(> h2.sk-h + p.lead) > h2.sk-h{grid-column:1;margin-bottom:0}
  body.v1.inner .sk-sec > .in:has(> h2.sk-h + p.lead) > h2.sk-h + p.lead{grid-column:2;align-self:end;justify-self:end;margin:0 0 .35em;max-width:52ch}
}

/* 4 · headings in one ink: the second line is no longer greyed (1 heading in 2 had it) */
body.v1.inner main h1 .l2,body.v1.inner main h2 .l2{color:inherit}

/* 5 · the small label over each heading moves to the right edge of the column, like a folio, so the heading
   starts the section alone on the left */
@media (min-width:820px){
  body.v1.inner .sk-sec > .in > .k{text-align:right;justify-content:flex-end;margin-bottom:0}
  body.v1.inner .sk-sec > .in:has(> .k) > h2.sk-h{margin-top:-.15em}
}

/* 6 · the arrow stays on the main button only */
body.v1.inner .btn.ghost::after{content:none}
body.v1.inner .btn.ghost{padding-right:16px}
