/* The short sample studies (pages/example_short, pages/examples_short_index), 16 November 2026. Loaded after
   landing.css (.sx-btn) and the B4 tokens: ink headings in Archivo, indigo for links and the one button, lavender only as
   a highlighter. One idea per block and a lot of air; on a computer (1440 x 900) a study
   fits in one screen down to its button, on a phone it is one column with full-width buttons. Own classes only (.xs-),
   never added to app.css. */

/* These pages end where their content ends: no full-height screen, no empty band above the footer. */
.screen.xs { min-height: 0; padding-bottom: 0; }

.xs-page { width: min(100% - 40px, 1040px); margin: 0 auto; padding: clamp(18px, 2.6vh, 28px) 0 clamp(40px, 6vh, 64px); }
.xs-page--index { width: min(100% - 40px, 960px); padding-top: clamp(24px, 4vh, 40px); }

.xs-link { color: var(--sx-fir, #4433ff); font-size: 15px; font-weight: 500; text-decoration: none; text-underline-offset: 3px; }
.xs-link:hover { text-decoration: underline; }
.xs-link:focus-visible, .xs-card__title a:focus-visible { outline: 2px solid var(--sx-fir, #4433ff); outline-offset: 3px; border-radius: 2px; }
.xs-back { margin: 0 0 10px; }
.xs-back .xs-link { font-size: 14.5px; color: var(--sx-muted, #4f5462); }

.xs-title { max-width: 22em; margin: 0; font-family: var(--serif); font-weight: 800; font-stretch: 74%; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -.004em; color: var(--ink); text-wrap: balance; }
/* Section labels: plain, large and dark enough to read without effort. */
.xs-label { margin: 0 0 6px; font-family: var(--sans); font-size: 13.5px; font-weight: 600; line-height: 1.3; color: #4f5462; }
.xs-block { margin: clamp(12px, 2vh, 20px) 0 0; }

.xs-question__text { max-width: 52em; margin: 0; font-size: 17px; line-height: 1.45; color: var(--sx-ink, #14161f); }

/* The two cards of the page, the same width and weight: what the organisation knew, and what it changes. */
.xs-answer, .xs-impact { padding: clamp(16px, 2vw, 22px) clamp(20px, 2.6vw, 30px); border: 1px solid var(--sx-line, #e7e9f0); border-radius: 6px; background: #fff; box-shadow: none; }
.xs-label--answer, .xs-label--impact { color: var(--ink); }
.xs-answer__text { margin: 0; font-family: var(--serif); font-size: clamp(21px, 1.85vw, 26px); line-height: 1.22; letter-spacing: -.012em; color: var(--ink); text-wrap: pretty; }
/* What it changes: the consultant's take-away, marked by a lavender rule. */
.xs-impact { border-left: 4px solid var(--sx-lime, #d6d1ff); }
.xs-impact__text { margin: 0; font-family: var(--serif); font-size: clamp(19px, 1.65vw, 23px); line-height: 1.28; letter-spacing: -.008em; color: var(--sx-ink, #14161f); text-wrap: pretty; }

/* Three facts: numbered, three columns on a wide screen. */
.xs-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); margin: 0; padding: 0; list-style: none; }
.xs-fact { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 0 12px; align-items: start; }
.xs-fact__n { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sx-fir, #4433ff); font-size: 13px; font-weight: 600; color: var(--sx-lime, #d6d1ff); font-variant-numeric: tabular-nums; }
.xs-fact__text { margin: 0; font-size: 15px; line-height: 1.45; color: var(--sx-ink, #14161f); }

.xs-quote { margin: 0; padding-left: 18px; border-left: 3px solid var(--sx-line-2, #d9dce5); }
.xs-quote__text { margin: 0; }
.xs-quote__text p { margin: 0; font-family: var(--serif); font-size: clamp(18px, 1.6vw, 21px); line-height: 1.35; color: var(--sx-ink, #14161f); }
.xs-quote__role { margin: 4px 0 0; font-size: 15px; color: var(--sx-muted, #4f5462); }

/* The source and the disclosure, in ordinary text, beside the buttons on a wide screen. */
.xs-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; margin: clamp(16px, 2.4vh, 24px) 0 0; }
.xs-source, .xs-disclosure { margin: 0; font-size: 15.5px; line-height: 1.45; color: var(--sx-ink, #14161f); }
.xs-source { font-weight: 500; }

.xs-go { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }

/* The index: the head, then three cards side by side on a wide screen, the same height, the link at the bottom. */
.xs-head { max-width: 40em; }
.xs-kicker { margin: 0 0 10px; font-size: 13.5px; font-weight: 600; color: #4f5462; }
.xs-lead { margin: 16px 0 0; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.5; color: var(--sx-ink, #14161f); }
.xs-head .xs-disclosure { margin-top: 12px; color: var(--sx-muted, #4f5462); }
.xs-index { margin: clamp(28px, 5vh, 44px) 0 0; }
.xs-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: clamp(16px, 2vw, 24px); margin: 0; padding: 0; list-style: none; }
.xs-card { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: 24px; border: 1px solid var(--sx-line, #e7e9f0); border-radius: 6px; background: #fff; }
.xs-card__title { margin: 0; font-family: var(--serif); font-weight: 800; font-stretch: 74%; font-size: 22px; line-height: 1.2; letter-spacing: -.004em; text-wrap: balance; }
.xs-card__title a { color: var(--ink); text-decoration: none; }
.xs-card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.xs-card__summary { flex: 1; margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--sx-ink, #14161f); }
.xs-card__open { margin-top: auto; }
.xs-empty { margin: 0; color: var(--sx-muted, #4f5462); }

@media (max-width: 860px) {
  .xs-facts, .xs-cards { grid-template-columns: 1fr; }
  .xs-facts { gap: 14px; }
  .xs-foot { flex-direction: column; align-items: stretch; }
}
@media (max-width: 560px) {
  .xs-title { font-size: 28px; }
  .xs-go { flex-direction: column; align-items: stretch; }
  .xs-go .sx-btn { width: 100%; }
  .xs-go .xs-link { text-align: center; padding: 8px 0; }
}
