/* vortx.ai shell: the one header and the one footer every page shares.
   tools/gen_shell.py writes the markup between <!-- shell:header --> and <!-- shell:footer --> markers;
   this file styles it, with its own names (sh-*), colours and fonts, so no page stylesheet can move it. */

.sh-top, .sh-foot {
  --sh-bg: #0d1117; --sh-text: #e6edf3; --sh-muted: #8b949e; --sh-line: #30363d; --sh-line-soft: #21262d;
  --sh-blue: #79c0ff; --sh-orange: #ffa657;
  --sh-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --sh-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-family: var(--sh-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: normal;
  text-rendering: auto; font-feature-settings: normal; font-variant-ligatures: normal; text-transform: none; word-spacing: normal;
}
.sh-top *, .sh-foot * { box-sizing: border-box; }
.sh-wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* header */
.sh-top { position: sticky; top: 0; z-index: 60; color: var(--sh-text); font-size: 16px; line-height: 1.6; background: rgba(13, 17, 23, 0.86); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.sh-top-in { display: flex; align-items: center; justify-content: space-between; height: 58px; }
.sh-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--sh-text); text-decoration: none; font: 500 17px/1 var(--sh-sans); }
.sh-brand picture { display: inline-flex; }
.sh-brand img { display: block; width: 28px; height: 28px; border-radius: 50%; }
.sh-brand b { font-weight: 500; color: var(--sh-muted); }
.sh-nav { display: flex; align-items: center; gap: 26px; }
.sh-nav a { color: var(--sh-muted); text-decoration: none; font: 400 15px/1 var(--sh-sans); }
.sh-nav a:hover, .sh-nav a[aria-current="page"] { color: var(--sh-text); }
.sh-nav .sh-cta { color: var(--sh-bg); background: var(--sh-text); padding: 9px 14px; border-radius: 6px; font-weight: 500; }
.sh-nav .sh-cta:hover { color: var(--sh-bg); background: #fff; }
.sh-menu { display: none; background: none; border: 1px solid var(--sh-line); color: var(--sh-text); font: 400 14px var(--sh-sans); padding: 6px 12px; border-radius: 6px; cursor: pointer; }
.sh-top a:focus-visible, .sh-top button:focus-visible, .sh-foot a:focus-visible { outline: 2px solid var(--sh-orange); outline-offset: 3px; border-radius: 2px; }

/* footer */
.sh-foot { padding: 48px 0 28px; background: var(--sh-bg); border-top: 1px solid var(--sh-line-soft); color: var(--sh-text); font-size: 15px; line-height: 1.6; }
.sh-cols { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.sh-tag { margin: 12px 0 0; color: var(--sh-muted); max-width: 26ch; }
.sh-follow { margin: 6px 0 0; }
.sh-follow a { color: var(--sh-text); text-decoration: none; }
.sh-follow a:hover { color: var(--sh-blue); }
.sh-h { margin: 0 0 12px; font: 500 13px/1.2 var(--sh-mono); color: var(--sh-muted); letter-spacing: normal; text-transform: none; }
.sh-col a { display: block; padding: 3px 0; color: var(--sh-text); text-decoration: none; }
.sh-col a:hover { color: var(--sh-blue); }
.sh-soon { display: block; padding: 3px 0; color: var(--sh-muted); }
.sh-soon small { display: block; font: 500 11px/1.4 var(--sh-mono); color: var(--sh-muted); opacity: 0.8; }
.sh-release { margin: 32px 0 0; color: var(--sh-muted); font-size: 13px; overflow-wrap: anywhere; }
.sh-release a { color: var(--sh-blue); font: 0.95em var(--sh-mono); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; font-variant-ligatures: none; }
.sh-release code { font: inherit; color: inherit; }
.sh-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--sh-line-soft); color: var(--sh-muted); font-size: 13px; }

@media (max-width: 960px) {
  .sh-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sh-brandcol { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .sh-wrap { padding: 0 20px; }
  .sh-menu { display: block; }
  .sh-nav { display: none; position: absolute; top: 58px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px 20px; background: var(--sh-bg); border-bottom: 1px solid var(--sh-line); }
  .sh-nav.open, .sh-nav.is-open { display: flex; }
  .sh-nav a { padding: 12px 0; font-size: 17px; }
  .sh-nav .sh-cta { margin-top: 8px; padding: 10px 14px; }
}
