/* Rethink art direction · Tools I use · 2026-11-19
   Loads after site.css on the two Tools pages. No markup changes.

   Owner, 2026-11-19: the page needs more hierarchy, and the XTB logo was tiny.

   So: three clear levels. The title is the page's large line, with the introduction under it as a lead. The tool
   is one wide glass card: its logo on a Paper panel the full height of the card, its name as the card's own
   headline, then the description and the link. The disclosure sits under a rule, small but fully legible. Owner, later
   the same day: no shapes in the background here. The card is plain glass on the Mist ground.

   The logo: the supplied XTB file is a 1024 square with the logo in its middle 72%, so at the old 40px height
   the logo itself was 11px tall. The box now shows the file's middle band (1024 x 420), which holds the whole
   logo with its clear space. A logo file trimmed to its artwork would make this crop unnecessary.
   System sources: tokens.json > rules["surface.glass"].page.light, components.cardCorner. */

main > section:first-child{background:var(--mist);position:relative;isolation:isolate;overflow:clip;}
main > section:first-child > .wrap.stack{gap:var(--s6);}
main > section:first-child .head{gap:0;}
main > section:first-child .head .eyebrow{font-size:13px;font-weight:600;margin-bottom:var(--s3);}
html[dir="ltr"] main > section:first-child .head .eyebrow{letter-spacing:.16em;text-transform:uppercase;}
main > section:first-child .title--xl{font-size:clamp(40px,7vw,104px);line-height:1.02;letter-spacing:-.03em;}
html[dir="rtl"] main > section:first-child .title--xl{line-height:1.3;letter-spacing:0;}
main > section:first-child .head .body{margin-top:var(--s4);max-width:min(30em,100%);font-size:clamp(18px,1.6vw,22px);line-height:1.6;color:var(--ink);}

/* ── the tool ── */
.card.tool{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr);gap:0;padding:0;align-items:stretch;
  border-radius:0;border-start-end-radius:calc(var(--radius) * 4);overflow:hidden;}
.tool-logo-box{min-height:220px;padding:var(--s4);border:0;border-radius:0;background:var(--paper);}
.tool .logo{width:min(100%,460px);height:auto;aspect-ratio:1024/420;object-fit:cover;object-position:center;}
.tool-body{gap:0;padding:var(--s4) var(--s3) var(--s5);}
.tool-body .eyebrow{font-size:13px;font-weight:600;}
html[dir="ltr"] .tool-body .eyebrow{letter-spacing:.16em;text-transform:uppercase;}
.tool-body .title--sm{margin-top:var(--s1);font-size:clamp(40px,5vw,68px);font-weight:600;line-height:1.05;letter-spacing:-.02em;color:var(--ink);}
.tool-body .body{margin-top:var(--s3);max-width:34em;font-size:var(--step-0);line-height:1.75;color:rgba(12,0,43,.86);}
.tool-body .btn{margin-top:var(--s4);}
/* the disclosure: small, under a rule, at full contrast */
main > section:first-child .stack > p.small{max-width:92ch !important;padding-top:var(--s3);border-top:1px solid rgba(128,111,155,.34);
  font-size:13px;line-height:1.7;color:rgba(12,0,43,.74);text-wrap:pretty;}

/* Owner, later again: the title was not balanced, its first line very long. In English it is three short lines
   ("Tools &" / "resources" / "I use", set by tools.js), larger; from 1200px the introduction stands beside it,
   its last line level with the title's, so the header is one composed block instead of a long line and a gap. */
html.rk-tools-title main > section:first-child .title--xl{font-size:clamp(52px,12vw,128px);line-height:.98;}
@media (min-width:1200px){
  main > section:first-child .head{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:var(--s7);align-items:end;}
  main > section:first-child .head .eyebrow{grid-column:1 / -1;}
  main > section:first-child .head .body{margin:0 0 .5em;max-width:30em;}
  html.rk-tools-title main > section:first-child .title--xl{font-size:clamp(88px,9vw,150px);}
}
@media (min-width:1024px){
  .card.tool{grid-template-columns:minmax(0,5fr) minmax(0,7fr);}
  .tool-logo-box{min-height:380px;padding:var(--s5);}
  .tool-body{padding:var(--s5) var(--s6);justify-content:center;}
}
