:root {
  --hub-bg: #f3f4f7;
  --hub-panel: #ffffff;
  --hub-panel-2: #e9ebf1;
  --hub-text: #171922;
  --hub-muted: #656a79;
  --hub-line: #d8dbe4;
  --hub-accent: #9a83ff;
  --hub-accent-ink: #1a123c;
  --hub-shadow: 0 18px 50px rgba(18, 20, 31, .09);
}
[data-theme="dark"] {
  --hub-bg: #0d0f15;
  --hub-panel: #151821;
  --hub-panel-2: #1c202b;
  --hub-text: #f3f3f8;
  --hub-muted: #9da3b4;
  --hub-line: #292e3d;
  --hub-accent-ink: #120d26;
  --hub-shadow: 0 20px 60px rgba(0, 0, 0, .32);
}
* { box-sizing: border-box; }
html { background: var(--hub-bg); color: var(--hub-text); }
body { margin: 0; min-height: 100vh; background: var(--hub-bg); color: var(--hub-text); font: 15px/1.55 Inter, ui-sans-serif, system-ui, sans-serif; }
a { color: inherit; }
.hub-topbar { position: sticky; top: 0; z-index: 40; display: grid; grid-template-columns: minmax(190px, 1fr) auto minmax(190px, 1fr); align-items: center; min-height: 68px; padding: 10px clamp(18px, 4vw, 64px); border-bottom: 1px solid var(--hub-line); background: color-mix(in srgb, var(--hub-bg) 88%, transparent); backdrop-filter: blur(18px); }
.hub-brand { display: flex; gap: 10px; align-items: center; text-decoration: none; width: max-content; }
.hub-brand span:last-child { display: grid; }
.hub-brand small { color: var(--hub-muted); font-size: 11px; }
.hub-mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--hub-accent-ink); background: var(--hub-accent); font-weight: 900; }
.hub-topbar nav { display: flex; gap: 4px; }
.hub-topbar nav a, .hub-actions > button { min-height: 38px; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--hub-muted); text-decoration: none; font: inherit; cursor: pointer; }
.hub-topbar nav a:hover, .hub-actions > button:hover { background: var(--hub-panel-2); color: var(--hub-text); }
.hub-actions { justify-self: end; display: flex; gap: 6px; align-items: center; }
main { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.hub-hero { min-height: 520px; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr); gap: clamp(28px, 7vw, 100px); align-items: center; padding: clamp(64px, 10vw, 130px) 0; }
.hub-eyebrow, .hub-kind { margin: 0 0 12px; color: var(--hub-accent); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.hub-hero h1, .hub-list h1 { margin: 0; max-width: 760px; font-size: clamp(43px, 6.7vw, 84px); line-height: .98; letter-spacing: -.055em; }
.hub-hero h1 span { color: var(--hub-accent); }
.hub-hero > div > p:not(.hub-eyebrow) { max-width: 670px; margin: 26px 0; color: var(--hub-muted); font-size: clamp(17px, 2vw, 21px); }
.hub-hero aside { padding: 28px; border: 1px solid var(--hub-line); border-radius: 20px; background: var(--hub-panel); box-shadow: var(--hub-shadow); }
.hub-hero aside span { color: var(--hub-accent); font: 700 11px/1 ui-monospace, monospace; text-transform: uppercase; }
.hub-hero aside strong { display: block; margin: 14px 0 8px; font-size: 24px; letter-spacing: -.02em; }
.hub-hero aside p { margin: 0; color: var(--hub-muted); }
.hub-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hub-hero-actions a, a.primary { display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 11px 18px; border: 1px solid var(--hub-line); border-radius: 11px; background: var(--hub-panel); text-decoration: none; font-weight: 700; }
.hub-hero-actions a.primary, a.primary { border-color: var(--hub-accent); background: var(--hub-accent); color: var(--hub-accent-ink); }
.hub-feed { padding: 60px 0 100px; border-top: 1px solid var(--hub-line); }
.hub-feed > header { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin-bottom: 24px; }
.hub-feed h2 { margin: 0; font-size: clamp(28px, 4vw, 46px); letter-spacing: -.04em; }
.hub-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.hub-card { min-width: 0; padding: 24px; border: 1px solid var(--hub-line); border-radius: 16px; background: var(--hub-panel); }
.hub-card h2 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.025em; }
.hub-card > p:not(.hub-kind) { color: var(--hub-muted); }
.hub-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 20px 0; }
.hub-tags span { padding: 5px 8px; border-radius: 7px; background: var(--hub-panel-2); color: var(--hub-muted); font-size: 12px; }
.hub-card-footer { display: flex; justify-content: space-between; gap: 12px; padding-top: 16px; border-top: 1px solid var(--hub-line); color: var(--hub-muted); font-size: 13px; }
.hub-feed > header > a,
.hub-card-footer a,
.hub-card > a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  margin: -5px -7px;
  padding: 5px 7px;
  border-radius: 8px;
  color: var(--hub-accent);
  font-weight: 700;
}
.hub-list { min-height: calc(100vh - 140px); padding: 80px 0; }
.hub-list > p:not(.hub-eyebrow) { max-width: 680px; color: var(--hub-muted); font-size: 18px; }
.hub-list .hub-grid { margin-top: 40px; }
.hub-notice { max-width: 700px; margin: 32px 0; padding: 22px; border: 1px solid var(--hub-line); border-left: 4px solid var(--hub-accent); background: var(--hub-panel); }
footer { display: flex; justify-content: space-between; gap: 24px; padding: 30px clamp(18px, 4vw, 64px); border-top: 1px solid var(--hub-line); color: var(--hub-muted); font-size: 12px; }
button, a { transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease; }
a:focus-visible, button:focus-visible { outline: 3px solid color-mix(in srgb, var(--hub-accent) 60%, transparent); outline-offset: 3px; }
@media (max-width: 800px) {
  .hub-topbar { grid-template-columns: 1fr auto; }
  .hub-topbar nav { display: none; }
  .hub-hero { grid-template-columns: 1fr; min-height: 0; padding: 72px 0; }
  .hub-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hub-brand small, .hub-actions > button { display: none; }
  .hub-hero h1, .hub-list h1 { font-size: 44px; }
  .hub-hero { padding: 50px 0; }
  .hub-hero-actions a { width: 100%; }
  footer { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
