/* TECSoft — keeps the original orange-and-grey identity, modernised for
   phones and current browsers. */
:root {
  --orange: #e62e00;
  --orange-hover: #b82500;
  --grey: #666;
  --ink: #1d1d1f;
  --muted: #555;
  --rule: #ddd;
  --band: #f2f2f2;
  --code-bg: #f6f6f6;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Verdana, Arial, sans-serif;
}
.wrap { max-width: 860px; margin: 0 auto; padding: 0 20px; }
a { color: #0645ad; text-decoration: none; }
a:hover { color: var(--orange); text-decoration: underline; }

.site-header { border-bottom: 1px solid var(--rule); }
.header-inner { display: flex; align-items: center; gap: 16px; padding-top: 18px; padding-bottom: 10px; }
.brand img { display: block; }
.tagline { font-weight: 700; font-style: italic; line-height: 1.15; }
.tagline .t1 { display: block; color: var(--orange); font-size: 1.6rem; }
.tagline .t2 { display: block; color: var(--grey); font-size: 1.25rem; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 22px; padding-bottom: 12px; font-size: 0.92rem; font-weight: 600; }
.nav a { color: var(--grey); }
.nav a.active, .nav a:hover { color: var(--orange); text-decoration: none; }

.content { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 2rem; line-height: 1.2; margin: 0 0 0.6em; }
h2 { color: var(--orange); font-size: 1.4rem; margin: 1.8em 0 0.5em; }
h3 { font-size: 1.1rem; margin: 1.4em 0 0.3em; }
p, ul, ol { margin: 0 0 1em; }
li { margin-bottom: 0.3em; }
.lead { font-size: 1.15rem; color: var(--muted); }
.note { background: var(--band); border-left: 4px solid var(--orange); padding: 12px 16px; margin: 1.5em 0; }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin: 1.5em 0; }
.quote { background: var(--band); padding: 16px 18px; margin: 0; font-size: 0.95rem; }
.quote p { font-style: italic; margin-bottom: 0.6em; }
.quote cite { font-style: normal; font-size: 0.85rem; color: var(--muted); display: block; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; margin: 1em 0; }
.card { border: 1px solid var(--rule); padding: 16px 18px; }
.card h3 { margin-top: 0; }
.card h3 a { color: var(--orange); }

pre, code { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 0.88rem; }
pre { background: var(--code-bg); border: 1px solid var(--rule); padding: 14px 16px; overflow-x: auto; line-height: 1.45; }
:not(pre) > code { background: var(--code-bg); padding: 1px 5px; }

table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
th, td { text-align: left; border-bottom: 1px solid var(--rule); padding: 8px 10px; vertical-align: top; }
.table-wrap { overflow-x: auto; }

.agenda h3 { color: var(--grey); }
.cols { columns: 2 260px; column-gap: 32px; }
.cols li { break-inside: avoid; }

.site-footer { background: var(--grey); color: #fff; font-size: 0.85rem; padding: 18px 0; }
.site-footer p { margin: 0.2em 0; }
.site-footer a { color: #fff; text-decoration: underline; }

@media (max-width: 560px) {
  body { font-size: 16px; }
  h1 { font-size: 1.6rem; }
  .tagline .t1 { font-size: 1.25rem; }
  .tagline .t2 { font-size: 1rem; }
}
