/* Static SEO pages (elements/, compounds/, tools/). Builds on style.css variables and table styles. */
body.static { line-height: 1.55; }
.site-head { border-bottom: 1px solid var(--line); background: #0c0e14; position: sticky; top: 0; z-index: 10; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; font-size: 16px; }
.site-head nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; }
.site-head nav a { color: var(--muted); text-decoration: none; }
.site-head nav a:hover { color: var(--text); }
.prose { max-width: 980px; padding-top: 18px; }
.prose h1 { font-size: 34px; line-height: 1.15; margin: 10px 0 12px; }
.prose h1 .formula { color: var(--accent); font-weight: 600; font-size: .7em; margin-left: 8px; }
.prose h2 { font-size: 21px; margin: 30px 0 10px; }
.prose p, .prose li { color: #d3d7e2; }
.lead { font-size: 18px; color: #e3e6ee !important; }
.small { font-size: 13px; }
.muted { color: var(--muted) !important; }
.crumbs { font-size: 13px; color: var(--muted); margin-top: 6px; }
.crumbs a { color: var(--muted); }
.cta { display: inline-block; background: #2a78d6; color: #fff; text-decoration: none; font-weight: 600; padding: 10px 16px;
  border-radius: 10px; margin: 6px 0; }
.cta:hover { background: #3987e5; }
table.facts th { width: 260px; color: var(--muted); font-weight: 500; }
td.eq b { color: var(--accent); }
.hero-el { display: grid; grid-template-columns: 150px 1fr; gap: 24px; align-items: start; margin-top: 10px; }
.big-tile { aspect-ratio: 1 / 1.1; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--c) 70%, transparent);
  background: color-mix(in srgb, var(--c) 18%, var(--panel)); display: flex; flex-direction: column; justify-content: space-between; padding: 10px 12px; }
.big-tile .z { color: var(--muted); font-size: 15px; }
.big-tile .s { color: var(--c); font-size: 58px; font-weight: 800; line-height: 1; }
.big-tile .m { color: var(--muted); font-size: 13px; }
.hero-el h1 { margin-top: 0; }
.cols { columns: 3 260px; padding-left: 18px; }
.cols li { break-inside: avoid; margin: 3px 0; }
.els-row { display: flex; gap: 6px; flex-wrap: wrap; }
.el-chip { display: inline-block; min-width: 38px; text-align: center; padding: 5px 8px; border-radius: 6px; font-weight: 700; text-decoration: none;
  color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); }
.cmp-top { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.cmp-top:has(> div:only-child) { grid-template-columns: 1fr; }
.struct { width: 220px; height: 220px; background: #fff; border-radius: 12px; object-fit: contain; }
.prevnext { display: flex; justify-content: space-between; gap: 10px; margin: 34px 0 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.pt-static { display: grid; grid-template-columns: repeat(18, minmax(0, 1fr)); grid-template-rows: repeat(7, auto) 10px repeat(2, auto); gap: 3px; margin: 16px 0 10px; }
.pt-el { --c: #888; aspect-ratio: 1; border-radius: 5px; text-decoration: none; display: flex; flex-direction: column; justify-content: space-between;
  padding: 2px 4px; background: color-mix(in srgb, var(--c) 14%, var(--panel)); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); min-width: 0; }
.pt-el:hover { background: color-mix(in srgb, var(--c) 30%, var(--panel)); }
.pt-el .z { font-size: clamp(6px, .7vw, 9px); color: var(--muted); }
.pt-el .s { font-size: clamp(10px, 1.4vw, 17px); font-weight: 700; color: var(--c); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.card-link { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line);
  text-decoration: none; color: var(--text); }
.card-link:hover { border-color: var(--muted); }
.card-link span { font-size: 13px; color: var(--muted); }
.site-foot { border-top: 1px solid var(--line); margin-top: 40px; padding: 18px 0 30px; font-size: 13px; color: var(--muted); }
.site-foot .wrap { padding-top: 0; padding-bottom: 0; }
.site-foot p { margin: 6px 0; }
@media (max-width: 700px) {
  .hero-el, .cmp-top { grid-template-columns: 1fr; }
  .big-tile { width: 120px; }
  .prose h1 { font-size: 27px; }
  table.facts th { width: auto; }
}
/* Home page: crawlable intro and footer below the app */
.about { margin-top: 30px; }
.about h2 { font-size: 18px; margin: 0 0 8px; }
.about p { color: #c9cddb; line-height: 1.55; max-width: 900px; }
.about .links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 14px; }
