:root {
  color-scheme: light;
  --ink: #17191d;
  --muted: #626974;
  --line: #d9dde3;
  --soft: #f4f6f8;
  --white: #ffffff;
  --red: #c92a2a;
  --green: #147d4f;
  --focus: #1769aa;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); line-height: 1.55; }
a { color: #155a94; }
a:focus-visible { outline: 3px solid rgba(23, 105, 170, .28); outline-offset: 3px; }
.shell { width: min(1080px, calc(100% - 40px)); margin: 0 auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 780; text-decoration: none; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 6px; color: var(--white); background: var(--ink); font-size: 12px; }
.header-actions { display: flex; align-items: center; gap: 24px; }
.site-nav { display: flex; gap: 18px; }
.site-nav a { color: var(--muted); font-size: 14px; font-weight: 700; text-decoration: none; }
.language-switch { height: 36px; display: inline-grid; grid-template-columns: repeat(2, minmax(42px, auto)); overflow: hidden; border: 1px solid var(--line); border-radius: 6px; }
.language-switch a { min-width: 42px; display: grid; place-items: center; border-left: 1px solid var(--line); padding: 0 9px; color: var(--muted); font-size: 13px; font-weight: 750; text-decoration: none; }
.language-switch a:first-child { border-left: 0; }
.language-switch a[aria-current="page"] { color: var(--white); background: var(--ink); }
.intro { padding: 56px 0 34px; }
.eyebrow { margin: 0 0 8px; color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
h1, h2, h3, p { letter-spacing: 0; }
h1 { max-width: 760px; margin: 0; font-size: 46px; line-height: 1.08; }
h2 { margin: 0; font-size: 28px; line-height: 1.2; }
h3 { margin: 0; font-size: 22px; }
.lede { max-width: 720px; margin: 15px 0 0; color: var(--muted); font-size: 18px; }
.tools-band { padding: 28px 0 72px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.section-heading p { margin: 0; color: var(--muted); }
.tool-entry { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); }
.tool-media { min-height: 360px; overflow: hidden; background: #111827; }
.tool-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.tool-copy { display: flex; flex-direction: column; justify-content: center; padding: 34px; }
.tool-copy p { color: var(--muted); }
.tool-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 6px 0 24px; color: var(--green); font-size: 13px; font-weight: 750; }
.button { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; align-self: flex-start; border-radius: 6px; padding: 10px 16px; color: var(--white); background: var(--red); font-weight: 780; text-decoration: none; }
.principles { padding: 68px 0; border-top: 1px solid var(--line); background: var(--soft); }
.principle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 28px; border: 1px solid var(--line); background: var(--line); }
.principle-grid article { min-height: 180px; padding: 24px; background: var(--white); }
.principle-grid p { color: var(--muted); font-size: 14px; }
.content-page { min-height: calc(100vh - 150px); padding: 62px 0 80px; }
.content-page article { max-width: 760px; }
.content-page h1 { font-size: 42px; }
.content-page h2 { margin-top: 34px; font-size: 22px; }
.content-page p, .content-page li { color: #4e5560; }
.site-footer { border-top: 1px solid var(--line); background: var(--ink); color: var(--white); }
.footer-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { color: #cbd2da; font-size: 13px; }

@media (max-width: 760px) {
  .shell { width: min(100% - 24px, 1080px); }
  .site-nav { display: none; }
  .header-actions { gap: 0; }
  .intro { padding-top: 38px; }
  h1, .content-page h1 { font-size: 36px; }
  .tool-entry, .principle-grid { grid-template-columns: 1fr; }
  .tool-media { min-height: 230px; aspect-ratio: 16 / 10; }
  .tool-copy { padding: 24px; }
  .section-heading, .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-inner { justify-content: center; padding: 20px 0; }
}
