/* agit8or.net project hub (2026-10-21). Builds on style.css: same dark palette,
   system/Inter type and the mono wordmark. Contrast: body #e0e0e0 on #1a1a1a 13:1,
   muted #b3b3b3 on #222 8.4:1, accent #ff8a80 on #222 6.4:1. */
.hub { --bg: #141414; --panel: #1f1f1f; --panel-2: #262626; --line: #333; --text: #e8e8e8; --muted: #b3b3b3; --accent: #ff8a80; --focus: #ffd166; background: var(--bg); font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif; }
.hub :focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.skip-link { position: absolute; left: 1rem; top: -60px; z-index: 2000; background: #fff; color: #000; padding: .6rem 1rem; border-radius: 0 0 6px 6px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 0; }
.hub-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.hub section[id] { scroll-margin-top: 84px; }
.hub section[tabindex]:focus { outline: none; }
#products { scroll-margin-top: 84px; }
#products:focus { outline: none; }

/* Hero */
.hub-hero { padding: 132px 0 72px; background: radial-gradient(900px 420px at 85% 10%, rgba(255, 82, 82, .12), transparent 70%), var(--bg); border-bottom: 1px solid var(--line); }
.hub-hero__inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); gap: 3rem; align-items: center; }
.hub-kicker { margin: 0 0 1rem; font-family: "Monaco", "Courier New", monospace; font-size: .9rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hub-hero__title { margin: 0 0 1.25rem; font-size: clamp(2.2rem, 1.2rem + 3.6vw, 3.9rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; color: #fff; }
.hub-hero__title span { display: block; color: var(--muted); }
.hub-hero__lede { max-width: 40rem; margin: 0 0 2rem; font-size: clamp(1.05rem, 1rem + .35vw, 1.25rem); line-height: 1.65; color: var(--text); }
.hub-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hub-btn { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; font-weight: 600; border-radius: 6px; }
.hub-hero__art { display: flex; justify-content: center; }
.hub-hero__art img { width: min(300px, 100%); height: auto; }

/* Sections */
.hub-section { padding: 80px 0; }
.hub-section__head { max-width: 44rem; margin-bottom: 2.25rem; }
.hub-section__head h2, .hub-about h2 { margin: 0 0 .6rem; font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.5rem); font-weight: 800; color: #fff; letter-spacing: -.01em; }
.hub-section__head p { margin: 0; font-size: 1.1rem; color: var(--muted); }

/* Project cards */
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.hub-card { position: relative; display: flex; flex-direction: column; padding: 1.75rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; transition: border-color .2s ease, transform .2s ease; }
.hub-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 12px 12px 0 0; background: var(--brand, #555); }
.hub-card--mspzero { --brand: #a3f635; }
.hub-card--mspreboot { --brand: #f28c28; }
.hub-card--myappdone { --brand: #2aa198; }
.hub-card--m0nitor { --brand: #82aaff; }
.hub-card--motodealerhq { --brand: #ca602e; }
.hub-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hub-section__head--sub { margin-top: 2.75rem; }
.hub-card__url a { color: inherit; }
.hub-card:hover { border-color: #555; transform: translateY(-2px); }
.hub-card__brand { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.1rem; min-height: 56px; }
.hub-card__mark { width: 52px; height: 52px; border-radius: 12px; flex: none; }
.hub-card__plate { flex: none; display: grid; place-items: center; width: 96px; height: 52px; padding: 6px; background: #fff; border-radius: 10px; }
.hub-card__plate img { width: 100%; height: 100%; object-fit: contain; }
.hub-card__category { margin: 0 0 .15rem; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hub-card__title { margin: 0; font-size: 1.45rem; font-weight: 800; color: #fff; }
.hub-card__desc { margin: 0 0 1rem; color: var(--text); line-height: 1.6; }
.hub-card__list { margin: 0 0 1.5rem; padding: 0; list-style: none; }
.hub-card__list li { position: relative; padding-left: 1.4rem; margin: .45rem 0; color: var(--muted); line-height: 1.5; }
.hub-card__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: .55rem; height: .55rem; border-radius: 50%; background: var(--brand, #888); }
.hub-card__cta { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 12px 18px; border-radius: 6px; background: #fff; color: #000; font-weight: 700; text-decoration: none; }
.hub-card__cta:hover { background: #e9e9e9; }
.hub-card__url { margin: .6rem 0 0; text-align: center; font-family: "Monaco", "Courier New", monospace; font-size: .85rem; color: var(--muted); }

/* Utility card */
.hub-utility { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.25rem; align-items: center; margin-top: 1.25rem; padding: 1.25rem 1.5rem; background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; }
.hub-utility__mark { width: 64px; height: 64px; border-radius: 12px; background: #fff; object-fit: contain; }
.hub-utility__title { margin: 0 0 .25rem; font-size: 1.2rem; font-weight: 800; color: #fff; }
.hub-utility__body p:last-child { margin: 0; color: var(--muted); }

/* About */
.hub-about { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hub-about__inner { max-width: 760px; }
.hub-about p { font-size: 1.12rem; line-height: 1.75; color: var(--text); margin: 0 0 1rem; }
.hub-about__links a, .hub-footer a { color: #fff; }
.hub-about__links { color: var(--muted); font-size: 1rem !important; }
.hub-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; color: var(--muted); }
.hub-footer p { margin: 0; }


/* Open-source tools and products with screenshots (2026-11) */
.hub-card--officeunbound { --brand: #c2410c; }
.hub-tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hub-tool__shot { display: block; margin: -0.5rem -0.5rem 1.1rem; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; background: #0d0d0d; }
.hub-tool__shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.hub-tool__shot--wide { aspect-ratio: 1200 / 630; }
.hub-tool__shot--wide img { object-position: center; }
.hub-tool__new { margin: 0 0 .1rem; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hub-tool__links { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; }
.hub-tool__repo { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 40px; color: #fff; font-weight: 600; text-decoration: none; border: 1px solid var(--line); border-radius: 6px; }
.hub-tool__repo:hover { border-color: #666; }
.hub-tool__note { margin: -0.5rem 0 1.25rem; font-size: .88rem; color: var(--muted); }

.hub-grid--one { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
.hub-feature { background: linear-gradient(180deg, rgba(194, 65, 12, .14), transparent 80%), var(--panel); border-bottom: 1px solid var(--line); padding: 64px 0; }
.hub-feature__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 3rem; align-items: center; }
.hub-feature h2 { margin: 0 0 .75rem; font-size: clamp(1.9rem, 1.3rem + 2vw, 2.8rem); font-weight: 800; color: #fff; }
.hub-feature__lede { margin: 0 0 1.25rem; font-size: 1.1rem; line-height: 1.65; color: var(--text); }
.hub-feature .hub-card__list li::before { background: #ea7a3b; }
.hub-feature .hub-tool__note { margin: 0 0 1.25rem; }
.hub-feature__art { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(0,0,0,.45); }
.hub-feature__art img { display: block; width: 100%; height: auto; }

@media (max-width: 1000px) {
  .hub-grid { grid-template-columns: minmax(0, 1fr); }
  .hub-tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hub-hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hub-feature__inner { grid-template-columns: minmax(0, 1fr); gap: 2rem; }
  .hub-hero__art { display: none; }
}
@media (max-width: 640px) {
  .hub-hero { padding: 104px 0 56px; }
  .hub-section { padding: 56px 0; }
  .hub-card { padding: 1.4rem; }
  .hub-tools { grid-template-columns: minmax(0, 1fr); }
  .hub-utility { grid-template-columns: auto minmax(0, 1fr); }
  .hub-utility__cta { grid-column: 1 / -1; }
  .hub-hero__actions .hub-btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .hub-card { transition: none; } .hub-card:hover { transform: none; } }

.hub-feature .hub-tool__note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
.hub-feature .hub-tool__note a:hover, .hub-feature .hub-tool__note a:focus-visible { color: #fff; }
